Back to Seed Clases

Gtk


Classes

Interfaces

Structs

Unions

Enums

GObject.Object
parent-child marker Gtk.StyleProperties

Class Gtk.StyleProperties

Import line: Gtk = imports.gi.Gtk;
GIR File: Gtk-3.0.gir
C documentation: GtkStyleProperties
Class : StyleProperties
Implements: Gtk.StyleProvider
Extends: GObject.Object
GtkStyleProperties provides the storage for style information
that is used by GtkStyleContext and other GtkStyleProvider
implementations.
Before style properties can be stored in GtkStyleProperties, they
must be registered with gtk_style_properties_register_property().
Unless you are writing a GtkStyleProvider implementation, you
are unlikely to use this API directly, as gtk_style_context_get()
and its variants are the preferred way to access styling information
from widget implementations and theming engine implementations
should use the APIs provided by GtkThemingEngine instead.
Properties
Properties Defined By
Methods / Constructors
Method / Constructor Defined By
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Gtk.Gradient
Method
resolve (StyleProperties props, Object out_values) : gboolean
If gradient is resolvable, resolved_gradient will be filled in
with the resolved gradient as a cairo_pattern_t, and TRUE will
be returned.
Gtk.StyleProvider
Method
get_style (WidgetPath path) : Gtk.StyleProperties
Returns the style settings affecting a widget defined by path, or NULL if
style settings affecting path
Gtk.SymbolicColor
Method
resolve (StyleProperties props, Object out_values) : gboolean
If color is resolvable, resolved_color will be filled in
with the resolved color, and TRUE will be returned.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:13:59 GMT+0800 (HKT)