GObject.Object
Gtk.ThemingEngine
Import line: | Gtk = imports.gi.Gtk; |
GIR File: | Gtk-3.0.gir |
C documentation: | GtkThemingEngine |
Class : | ThemingEngine |
Extends: | GObject.Object |
Properties | Defined By | |
---|---|---|
name : String
The theming engine name, this name will be used when registering
custom properties, for a theming engine named "Clearlooks" registering a "glossy" custom property, it could be referenced in the CSS file as -Clearlooks-glossy: true; The theming engine name, this name will be used when registering
custom properties, for a theming engine named "Clearlooks" registering a "glossy" custom property, it could be referenced in the CSS file as -Clearlooks-glossy: true; |
Gtk.ThemingEngine | |
parent_object : GObject.Object
read only
|
Gtk.ThemingEngine | |
priv : void*
read only
|
Gtk.ThemingEngine |
Method / Constructor | Defined By | |
---|---|---|
new Gtk.ThemingEngine
(Object properties)
Create a new Gtk.ThemingEngine
Create a new Gtk.ThemingEngine
|
||
Loads and initializes a theming engine module from the
standard directories.
Loads and initializes a theming engine module from the
standard directories. the engine name doesn't exist.
|
Gtk.ThemingEngine | |
get_background_color
(StateFlags state)
:
Gdk.RGBA
Gets the background color for a given state.
Gets the background color for a given state.
|
Gtk.ThemingEngine | |
get_border
(StateFlags state)
:
Gtk.Border
Gets the border for a given state as a GtkBorder.
Gets the border for a given state as a GtkBorder.
|
Gtk.ThemingEngine | |
get_border_color
(StateFlags state)
:
Gdk.RGBA
Gets the border color for a given state.
Gets the border color for a given state.
|
Gtk.ThemingEngine | |
get_color
(StateFlags state)
:
Gdk.RGBA
Gets the foreground color for a given state.
Gets the foreground color for a given state.
|
Gtk.ThemingEngine | |
get_direction
()
:
Gtk.TextDirection
Returns the widget direction used for rendering.
Returns the widget direction used for rendering.
|
Gtk.ThemingEngine | |
get_font
(StateFlags state)
:
Pango.FontDescription
Returns the font description for a given state.
Returns the font description for a given state.
state. This object is owned by GTK+ and should not be freed.
|
Gtk.ThemingEngine | |
get_junction_sides
()
:
Gtk.JunctionSides
Returns the widget direction used for rendering.
Returns the widget direction used for rendering.
|
Gtk.ThemingEngine | |
get_margin
(StateFlags state)
:
Gtk.Border
Gets the margin for a given state as a GtkBorder.
Gets the margin for a given state as a GtkBorder.
|
Gtk.ThemingEngine | |
get_padding
(StateFlags state)
:
Gtk.Border
Gets the padding for a given state as a GtkBorder.
Gets the padding for a given state as a GtkBorder.
|
Gtk.ThemingEngine | |
get_path
()
:
Gtk.WidgetPath
Returns the widget path used for style matching.
Returns the widget path used for style matching.
|
Gtk.ThemingEngine | |
Gets a property value as retrieved from the style settings that apply
to the currently rendered element.
Gets a property value as retrieved from the style settings that apply
to the currently rendered element.
|
Gtk.ThemingEngine | |
get_screen
()
:
Gdk.Screen
Returns the GdkScreen to which engine currently rendering to.
Returns the GdkScreen to which engine currently rendering to.
|
Gtk.ThemingEngine | |
get_state
()
:
Gtk.StateFlags
returns the state used when rendering.
returns the state used when rendering.
|
Gtk.ThemingEngine | |
Gets the value for a widget style property.
Gets the value for a widget style property.
|
Gtk.ThemingEngine | |
Gtk.ThemingEngine | ||
Returns TRUE if the currently rendered contents have the
region defined.
Returns TRUE if the currently rendered contents have the
region defined. If flags_return is not NULL, it is set to the flags affecting the region.
|
Gtk.ThemingEngine | |
Looks up and resolves a color name in the current style's color map.
|
Gtk.ThemingEngine | |
Returns TRUE if there is a transition animation running for the
current region (see gtk_style_context_push_animatable_region()).
Returns TRUE if there is a transition animation running for the
current region (see gtk_style_context_push_animatable_region()). If progress is not NULL, the animation progress will be returned there, 0.0 means the state is closest to being FALSE, while 1.0 means it's closest to being TRUE. This means transition animations will run from 0 to 1 when state is being set to TRUE and from 1 to 0 when it's being set to FALSE.
|
Gtk.ThemingEngine |
None |