Back to Seed Clases

Gtk


Classes

Interfaces

Structs

Unions

Enums

Enum Gtk.StateFlags

Import line: Gtk = imports.gi.Gtk;
GIR File: Gtk-3.0.gir
C documentation: GtkStateFlags
Enum : StateFlags
Describes a widget state.
Values
Properties
Properties
None
Public Methods
None
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Gtk.CellRenderer
Method
get_state (Widget widget, CellRendererState cell_state) : Gtk.StateFlags
Translates the cell renderer state to GtkStateFlags,
based on the cell renderer and widget sensitivity, and
the given GtkCellRendererState.
Gtk.StyleContext
Method
get_background_color (StateFlags state) : Gdk.RGBA
Gets the background color for a given state.
Gtk.StyleContext
Method
get_border (StateFlags state) : Gtk.Border
Gets the border for a given state as a GtkBorder.
Gtk.StyleContext
Method
get_border_color (StateFlags state) : Gdk.RGBA
Gets the border color for a given state.
Gtk.StyleContext
Method
get_color (StateFlags state) : Gdk.RGBA
Gets the foreground color for a given state.
Gtk.StyleContext
Method
get_font (StateFlags state) : Pango.FontDescription
Returns the font description for a given state.
Gtk.StyleContext
Method
get_margin (StateFlags state) : Gtk.Border
Gets the margin for a given state as a GtkBorder.
Gtk.StyleContext
Method
get_padding (StateFlags state) : Gtk.Border
Gets the padding for a given state as a GtkBorder.
Gtk.StyleContext
Method
get_property (String property, StateFlags state) : GObject.Value
Gets a style property from context for the given state.
Gtk.StyleContext
Method
get_state () : Gtk.StateFlags
Returns the state used when rendering.
Gtk.StyleContext
Method
set_state (StateFlags flags) : none
Sets the state to be used when rendering with any
of the gtk_render_*() functions.
Gtk.StyleProperties
Method
get_property (String property, StateFlags state, Object out_values) : gboolean
Gets a style property from props for the given state.
Gtk.StyleProperties
Method
set_property (String property, StateFlags state, Value value) : none
Sets a styling property in props.
Gtk.StyleProperties
Method
unset_property (String property, StateFlags state) : none
Unsets a style property in props.
Gtk.StyleProvider
Method
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.
Gtk.ThemingEngine
Method
get_background_color (StateFlags state) : Gdk.RGBA
Gets the background color for a given state.
Gtk.ThemingEngine
Method
get_border (StateFlags state) : Gtk.Border
Gets the border for a given state as a GtkBorder.
Gtk.ThemingEngine
Method
get_border_color (StateFlags state) : Gdk.RGBA
Gets the border color for a given state.
Gtk.ThemingEngine
Method
get_color (StateFlags state) : Gdk.RGBA
Gets the foreground color for a given state.
Gtk.ThemingEngine
Method
get_font (StateFlags state) : Pango.FontDescription
Returns the font description for a given state.
Gtk.ThemingEngine
Method
get_margin (StateFlags state) : Gtk.Border
Gets the margin for a given state as a GtkBorder.
Gtk.ThemingEngine
Method
get_padding (StateFlags state) : Gtk.Border
Gets the padding for a given state as a GtkBorder.
Gtk.ThemingEngine
Method
get_property (String property, StateFlags state) : GObject.Value
Gets a property value as retrieved from the style settings that apply
to the currently rendered element.
Gtk.ThemingEngine
Method
get_state () : Gtk.StateFlags
returns the state used when rendering.
Gtk.Widget
Signal
state_flags_changed (Widget self, StateFlags flags) : none
The ::state-flags-changed signal is emitted when the widget state
changes, see gtk_widget_get_state_flags().
Gtk.Widget
Method
get_state_flags () : Gtk.StateFlags
Returns the widget state as a flag set.
Gtk.Widget
Method
override_background_color (StateFlags state, RGBA color) : none
Sets the background color to use for a widget.
Gtk.Widget
Method
override_color (StateFlags state, RGBA color) : none
Sets the color to use for a widget.
Gtk.Widget
Method
set_state_flags (StateFlags flags, gboolean clear) : none
This function is for use in widget implementations.
Gtk.Widget
Method
unset_state_flags (StateFlags flags) : none
This function is for use in widget implementations.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:16:02 GMT+0800 (HKT)