Method
GtkStylelookup_color
deprecated: 3.0 since: 2.10
Declaration [src]
gboolean
gtk_style_lookup_color (
GtkStyle* style,
const gchar* color_name,
GdkColor* color
)
Description [src]
Looks up color_name in the style’s logical color mappings,
filling in color and returning TRUE if found, otherwise
returning FALSE. Do not cache the found mapping, because
it depends on the GtkStyle and might change when a theme
switch occurs.
Available since: 2.10
Deprecated since: 3.0
Use gtk_style_context_lookup_color() instead.
Parameters
color_name-
Type:
const gchar*The name of the logical color to look up.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. color-
Type:
GdkColorThe
GdkColorto fill in.The argument will be set by the function. The returned data is owned by the instance.