A Style object encapsulates the information that provides the look and feel for a widget.
In GTK+ 3.0, GtkStyle has been deprecated and replaced by GtkStyleContext.
Each Widget has an associated Style object that is used when rendering that widget. Also, a Style holds information for the five possible widget states though not every widget supports all five states; see StateType.
Usually the Style for a widget is the same as the default style that is set by GTK+ and modified the theme engine.
Usually applications should not need to use or modify the Style of their widgets.
widget_type
from this.
color_name in the style’s logical color
mappings, filling in color and returning true if found, otherwise returning
false.
stock_id in the icon factories associated with
this and the default icon factory, returning an icon set if found, otherwise
null.
source at the given
size according to the given parameters and returns the result in a pixbuf.
window to the background color or
pixmap specified by this for the given state.