GObject.Object
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 |
Properties | Defined By | |
---|---|---|
parent_object : GObject.Object
read only
|
Gtk.StyleProperties | |
priv : void*
read only
|
Gtk.StyleProperties |
Method / Constructor | Defined By | |
---|---|---|
new Gtk.StyleProperties
(Object properties)
Create a new Gtk.StyleProperties
Create a new Gtk.StyleProperties
|
||
clear
()
:
none
Clears all style information from props.
Clears all style information from props.
|
Gtk.StyleProperties | |
get_icon_factory
(WidgetPath path)
:
Gtk.IconFactory
Returns the GtkIconFactory defined to be in use for path, or NULL if none
is defined.
Returns the GtkIconFactory defined to be in use for path, or NULL if none
is defined.
|
Gtk.StyleProvider | |
Gets a style property from props for the given state.
Gets a style property from props for the given state. When done with value,
g_value_unset() needs to be called to free any allocated memory.
|
Gtk.StyleProperties | |
get_style
(WidgetPath path)
:
Gtk.StyleProperties
Returns the style settings affecting a widget defined by path, or NULL if
style settings affecting path
Returns the style settings affecting a widget defined by path, or NULL if
style settings affecting path
|
Gtk.StyleProvider | |
get_style_property
(WidgetPath path, StateFlags state, ParamSpec pspec, Object out_values)
:
gboolean
Looks up a widget style property as defined by provider for
the widget represented by path.
Looks up a widget style property as defined by provider for
the widget represented by path.
|
Gtk.StyleProvider | |
lookup_color
(String name)
:
Gtk.SymbolicColor
Returns the symbolic color that is mapped
to name.
Returns the symbolic color that is mapped
to name.
|
Gtk.StyleProperties | |
map_color
(String name, SymbolicColor color)
:
none
Maps color so it can be referenced by name.
Maps color so it can be referenced by name. See
gtk_style_properties_lookup_color()
|
Gtk.StyleProperties | |
merge
(StyleProperties props_to_merge, gboolean replace)
:
none
Merges into props all the style information contained
in props_to_merge.
Merges into props all the style information contained
in props_to_merge. If replace is TRUE, the values will be overwritten, if it is FALSE, the older values will prevail.
|
Gtk.StyleProperties | |
Sets a styling property in props.
Sets a styling property in props.
|
Gtk.StyleProperties | |
unset_property
(String property, StateFlags state)
:
none
Unsets a style property in props.
Unsets a style property in props.
|
Gtk.StyleProperties |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Gtk.Gradient
Method |
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 |
If color is resolvable, resolved_color will be filled in
with the resolved color, and TRUE will be returned. |