GtkStyle

A #GtkStyle 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 #GtkWidget has an associated #GtkStyle object that is used when rendering that widget. Also, a #GtkStyle holds information for the five possible widget states though not every widget supports all five states; see #GtkStateType.

Usually the #GtkStyle 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 #GtkStyle of their widgets.

Members

Variables

attachCount
int attachCount;
background
cairo_pattern_t*[5] background;

Set of background #cairo_pattern_t

base
GdkColor[5] base;

Set of base #GdkColor

bg
GdkColor[5] bg;

Set of background #GdkColor

black
GdkColor black;

#GdkColor to use for black

dark
GdkColor[5] dark;

Set of dark #GdkColor

fg
GdkColor[5] fg;

Set of foreground #GdkColor

fontDesc
PangoFontDescription* fontDesc;

#PangoFontDescription

iconFactories
GSList* iconFactories;
light
GdkColor[5] light;

Set of light #GdkColor

mid
GdkColor[5] mid;

Set of mid #GdkColor

parentInstance
GObject parentInstance;
privateFontDesc
PangoFontDescription* privateFontDesc;
propertyCache
GArray* propertyCache;
rcStyle
GtkRcStyle* rcStyle;
styles
GSList* styles;
text
GdkColor[5] text;

Set of text #GdkColor

textAa
GdkColor[5] textAa;

Color halfway between text/base

visual
GdkVisual* visual;
white
GdkColor white;

#GdkColor to use for white

xthickness
int xthickness;

Thickness in X direction

ythickness
int ythickness;

Thickness in Y direction