Style


Object Hierarchy:

Gtk.Style Gtk.Style Gtk.Style GLib.Object GLib.Object GLib.Object->Gtk.Style

Description:

[ CCode ( type_id = "gtk_style_get_type ()" ) ]
[ Version ( deprecated = true , deprecated_since = "3.0" , replacement = "StyleContext" ) ]
public class Style : Object

Warning: Style is deprecated since 3.0. Use StyleContext.

A Style object encapsulates the information that provides the look and feel for a widget.

Note:

In GTK+ 3.0, GtkStyle has been deprecated and replaced by StyleContext.

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.


Namespace: Gtk
Package: gtk+-3.0

Content:

Properties:

Creation methods:

Methods:

Signals:

Fields:

Inherited Members: