Back to Seed Clases

Gtk


Classes

Interfaces

Structs

Unions

Enums

Enum Gtk.StateType

Import line: Gtk = imports.gi.Gtk;
GIR File: Gtk-2.0.gir
C documentation: GtkStateType
Enum : StateType
  Show / Hide Inherited methods, properties and signals
Values
Properties
Properties
None
Public Methods
None
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Gtk
Method
Gtk.draw_arrow (Style style, Window window, StateType state_type, ShadowType shadow_type, ArrowType arrow_type, Boolean fill, Number x, Number y, Number width, Number height) : none
Draws an arrow in the given rectangle on window using the given parameters.
Gtk
Method
Gtk.draw_box (Style style, Window window, StateType state_type, ShadowType shadow_type, Number x, Number y, Number width, Number height) : none
Draws a box on window with the given parameters.
Gtk
Method
Gtk.draw_box_gap (Style style, Window window, StateType state_type, ShadowType shadow_type, Number x, Number y, Number width, Number height, PositionType gap_side, Number gap_x, Number gap_width) : none
Draws a box in window using the given style and state and shadow type, leaving a gap in one side.
Gtk
Method
Gtk.draw_check (Style style, Window window, StateType state_type, ShadowType shadow_type, Number x, Number y, Number width, Number height) : none
Draws a check button indicator in the given rectangle on window with the given parameters.
Gtk
Method
Gtk.draw_diamond (Style style, Window window, StateType state_type, ShadowType shadow_type, Number x, Number y, Number width, Number height) : none
Draws a diamond in the given rectangle on window using the given parameters.
Gtk
Method
Gtk.draw_expander (Style style, Window window, StateType state_type, Number x, Number y, ExpanderStyle expander_style) : none
Draws an expander as used in GtkTreeView.
Gtk
Method
Gtk.draw_extension (Style style, Window window, StateType state_type, ShadowType shadow_type, Number x, Number y, Number width, Number height, PositionType gap_side) : none
Draws an extension, i.e.
Gtk
Method
Gtk.draw_flat_box (Style style, Window window, StateType state_type, ShadowType shadow_type, Number x, Number y, Number width, Number height) : none
Draws a flat box on window with the given parameters.
Gtk
Method
Gtk.draw_handle (Style style, Window window, StateType state_type, ShadowType shadow_type, Number x, Number y, Number width, Number height, Orientation orientation) : none
Draws a handle as used in GtkHandleBox and GtkPaned.
Gtk
Method
Gtk.draw_hline (Style style, Window window, StateType state_type, Number x1, Number x2, Number y) : none
Draws a horizontal line from (x1, y) to (x2, y) in window using the given style and state.
Gtk
Method
Gtk.draw_layout (Style style, Window window, StateType state_type, Boolean use_text, Number x, Number y, Layout layout) : none
Draws a layout on window using the given parameters.
Gtk
Method
Gtk.draw_option (Style style, Window window, StateType state_type, ShadowType shadow_type, Number x, Number y, Number width, Number height) : none
Draws a radio button indicator in the given rectangle on window with the given parameters.
Gtk
Method
Gtk.draw_polygon (Style style, Window window, StateType state_type, ShadowType shadow_type, Point points, Number npoints, Boolean fill) : none
Draws a polygon on window with the given parameters.
Gtk
Method
Gtk.draw_resize_grip (Style style, Window window, StateType state_type, WindowEdge edge, Number x, Number y, Number width, Number height) : none
Draws a resize grip in the given rectangle on window using the given parameters.
Gtk
Method
Gtk.draw_shadow (Style style, Window window, StateType state_type, ShadowType shadow_type, Number x, Number y, Number width, Number height) : none
Draws a shadow around the given rectangle in window using the given style and state and shadow type.
Gtk
Method
Gtk.draw_shadow_gap (Style style, Window window, StateType state_type, ShadowType shadow_type, Number x, Number y, Number width, Number height, PositionType gap_side, Number gap_x, Number gap_width) : none
Draws a shadow around the given rectangle in window using the given style and state and shadow type, leaving a gap in one side.
Gtk
Method
Gtk.draw_slider (Style style, Window window, StateType state_type, ShadowType shadow_type, Number x, Number y, Number width, Number height, Orientation orientation) : none
Draws a slider in the given rectangle on window using the given style and orientation.
Gtk
Method
Gtk.draw_string (Style style, Window window, StateType state_type, Number x, Number y, String string) : none
Draws a text string on window with the given parameters.
Gtk
Method
Gtk.draw_tab (Style style, Window window, StateType state_type, ShadowType shadow_type, Number x, Number y, Number width, Number height) : none
Draws an option menu tab (i.e.
Gtk
Method
Gtk.draw_vline (Style style, Window window, StateType state_type, Number y1_, Number y2_, Number x) : none
Draws a vertical line from (x, y1_) to (x, y2_) in window using the given style and state.
Gtk
Method
Gtk.paint_arrow (Style style, Window window, StateType state_type, ShadowType shadow_type, Rectangle area, Widget widget, String detail, ArrowType arrow_type, Boolean fill, Number x, Number y, Number width, Number height) : none
Draws an arrow in the given rectangle on window using the given parameters.
Gtk
Method
Gtk.paint_box (Style style, Window window, StateType state_type, ShadowType shadow_type, Rectangle area, Widget widget, String detail, Number x, Number y, Number width, Number height) : none
Draws a box on window with the given parameters.
Gtk
Method
Gtk.paint_box_gap (Style style, Window window, StateType state_type, ShadowType shadow_type, Rectangle area, Widget widget, String detail, Number x, Number y, Number width, Number height, PositionType gap_side, Number gap_x, Number gap_width) : none
Draws a box in window using the given style and state and shadow type, leaving a gap in one side.
Gtk
Method
Gtk.paint_check (Style style, Window window, StateType state_type, ShadowType shadow_type, Rectangle area, Widget widget, String detail, Number x, Number y, Number width, Number height) : none
Draws a check button indicator in the given rectangle on window with the given parameters.
Gtk
Method
Gtk.paint_diamond (Style style, Window window, StateType state_type, ShadowType shadow_type, Rectangle area, Widget widget, String detail, Number x, Number y, Number width, Number height) : none
Draws a diamond in the given rectangle on window using the given parameters.
Gtk
Method
Gtk.paint_expander (Style style, Window window, StateType state_type, Rectangle area, Widget widget, String detail, Number x, Number y, ExpanderStyle expander_style) : none
Draws an expander as used in GtkTreeView.
Gtk
Method
Gtk.paint_extension (Style style, Window window, StateType state_type, ShadowType shadow_type, Rectangle area, Widget widget, String detail, Number x, Number y, Number width, Number height, PositionType gap_side) : none
Draws an extension, i.e.
Gtk
Method
Gtk.paint_flat_box (Style style, Window window, StateType state_type, ShadowType shadow_type, Rectangle area, Widget widget, String detail, Number x, Number y, Number width, Number height) : none
Draws a flat box on window with the given parameters.
Gtk
Method
Gtk.paint_focus (Style style, Window window, StateType state_type, Rectangle area, Widget widget, String detail, Number x, Number y, Number width, Number height) : none
Draws a focus indicator around the given rectangle on window using the given style.
Gtk
Method
Gtk.paint_handle (Style style, Window window, StateType state_type, ShadowType shadow_type, Rectangle area, Widget widget, String detail, Number x, Number y, Number width, Number height, Orientation orientation) : none
Draws a handle as used in GtkHandleBox and GtkPaned.
Gtk
Method
Gtk.paint_hline (Style style, Window window, StateType state_type, Rectangle area, Widget widget, String detail, Number x1, Number x2, Number y) : none
Draws a horizontal line from (x1, y) to (x2, y) in window using the given style and state.
Gtk
Method
Gtk.paint_layout (Style style, Window window, StateType state_type, Boolean use_text, Rectangle area, Widget widget, String detail, Number x, Number y, Layout layout) : none
Draws a layout on window using the given parameters.
Gtk
Method
Gtk.paint_option (Style style, Window window, StateType state_type, ShadowType shadow_type, Rectangle area, Widget widget, String detail, Number x, Number y, Number width, Number height) : none
Draws a radio button indicator in the given rectangle on window with the given parameters.
Gtk
Method
Gtk.paint_polygon (Style style, Window window, StateType state_type, ShadowType shadow_type, Rectangle area, Widget widget, String detail, Point points, Number n_points, Boolean fill) : none
Draws a polygon on window with the given parameters.
Gtk
Method
Gtk.paint_resize_grip (Style style, Window window, StateType state_type, Rectangle area, Widget widget, String detail, WindowEdge edge, Number x, Number y, Number width, Number height) : none
Draws a resize grip in the given rectangle on window using the given parameters.
Gtk
Method
Gtk.paint_shadow (Style style, Window window, StateType state_type, ShadowType shadow_type, Rectangle area, Widget widget, String detail, Number x, Number y, Number width, Number height) : none
Draws a shadow around the given rectangle in window using the given style and state and shadow type.
Gtk
Method
Gtk.paint_shadow_gap (Style style, Window window, StateType state_type, ShadowType shadow_type, Rectangle area, Widget widget, String detail, Number x, Number y, Number width, Number height, PositionType gap_side, Number gap_x, Number gap_width) : none
Draws a shadow around the given rectangle in window using the given style and state and shadow type, leaving a gap in one side.
Gtk
Method
Gtk.paint_slider (Style style, Window window, StateType state_type, ShadowType shadow_type, Rectangle area, Widget widget, String detail, Number x, Number y, Number width, Number height, Orientation orientation) : none
Draws a slider in the given rectangle on window using the given style and orientation.
Gtk
Method
Gtk.paint_spinner (Style style, Window window, StateType state_type, Rectangle area, Widget widget, String detail, Number step, Number x, Number y, Number width, Number height) : none
Draws a spinner on window using the given parameters.
Gtk
Method
Gtk.paint_string (Style style, Window window, StateType state_type, Rectangle area, Widget widget, String detail, Number x, Number y, String string) : none
Draws a text string on window with the given parameters.
Gtk
Method
Gtk.paint_tab (Style style, Window window, StateType state_type, ShadowType shadow_type, Rectangle area, Widget widget, String detail, Number x, Number y, Number width, Number height) : none
Draws an option menu tab (i.e.
Gtk
Method
Gtk.paint_vline (Style style, Window window, StateType state_type, Rectangle area, Widget widget, String detail, Number y1_, Number y2_, Number x) : none
Draws a vertical line from (x, y1_) to (x, y2_) in window using the given style and state.
Gtk
Method
Gtk.rc_parse_state (Scanner scanner, StateType state) : Number
Gtk.IconSet
Method
render_icon (Style style, TextDirection direction, StateType state, Number size, Widget widget, String detail) : GdkPixbuf.Pixbuf
Renders an icon using gtk_style_render_icon().
Gtk.IconSource
Method
set_state (StateType state) : none
Sets the widget state this icon source is intended to be used with.
Gtk.IconSource
Method
get_state () : Gtk.StateType
Obtains the widget state this icon source applies to.
Gtk.Style
Method
set_background (Window window, StateType state_type) : none
Sets the background of window to the background color or pixmap specified by style for the given state.
Gtk.Style
Method
apply_default_background (Window window, Boolean set_bg, StateType state_type, Rectangle area, Number x, Number y, Number width, Number height) : none
Gtk.Style
Method
render_icon (IconSource source, TextDirection direction, StateType state, Number size, Widget widget, String detail) : GdkPixbuf.Pixbuf
Renders the icon specified by source at the given size according to the given parameters and returns the result in a pixbuf.
Gtk.Widget
Signal
state_changed (Widget self, StateType state) : none
The ::state-changed signal is emitted when the widget state changes.
Gtk.Widget
Method
set_state (StateType state) : none
This function is for use in widget implementations.
Gtk.Widget
Method
get_state () : Gtk.StateType
Returns the widget's state.
Gtk.Widget
Method
modify_fg (StateType state, Color color) : none
Sets the foreground color for a widget in a particular state.
Gtk.Widget
Method
modify_bg (StateType state, Color color) : none
Sets the background color for a widget in a particular state.
Gtk.Widget
Method
modify_text (StateType state, Color color) : none
Sets the text color for a widget in a particular state.
Gtk.Widget
Method
modify_base (StateType state, Color color) : none
Sets the base color for a widget in a particular state.
GtkClutter
Method
GtkClutter.get_base_color (Widget widget, StateType state, Color color) : none
Retrieves the base color of widget for the given state and copies it into color.
GtkClutter
Method
GtkClutter.get_bg_color (Widget widget, StateType state, Color color) : none
Retrieves the background color of widget for the given state and copies it into color.
GtkClutter
Method
GtkClutter.get_dark_color (Widget widget, StateType state, Color color) : none
Retrieves the dark color of widget for the given state and copies it into color.
GtkClutter
Method
GtkClutter.get_fg_color (Widget widget, StateType state, Color color) : none
Retrieves the foreground color of widget for the given state and copies it into color.
GtkClutter
Method
GtkClutter.get_light_color (Widget widget, StateType state, Color color) : none
Retrieves the light color of widget for the given state and copies it into color.
GtkClutter
Method
GtkClutter.get_mid_color (Widget widget, StateType state, Color color) : none
Retrieves the mid color of widget for the given state and copies it into color.
GtkClutter
Method
GtkClutter.get_text_aa_color (Widget widget, StateType state, Color color) : none
Retrieves the text-aa color of widget for the given state and copies it into color.
GtkClutter
Method
GtkClutter.get_text_color (Widget widget, StateType state, Color color) : none
Retrieves the text color of widget for the given state and copies it into color.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Tue Jun 22 2010 16:34:43 GMT+0800 (HKT)