Back to Seed Clases

Gtk


Classes

Interfaces

Structs

Unions

Enums

Enum Gtk.TextDirection

Import line: Gtk = imports.gi.Gtk;
GIR File: Gtk-3.0.gir
C documentation: GtkTextDirection
Enum : TextDirection
Values
Properties
Properties
None
Public Methods
None
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Gtk
Method
Gtk.draw_insertion_cursor (Widget widget, Context cr, RectangleInt location, gboolean is_primary, TextDirection direction, gboolean draw_arrow) : none
Draws a text caret on cr at location.
Gtk.IconSet
Method
render_icon (Style style, TextDirection direction, StateType state, gint32 size, Widget widget, String detail) : GdkPixbuf.Pixbuf
Renders an icon using gtk_style_render_icon().
Gtk.IconSource
Method
get_direction () : Gtk.TextDirection
Obtains the text direction this icon source applies to.
Gtk.IconSource
Method
set_direction (TextDirection direction) : none
Sets the text direction this icon source is intended to be used
with.
Gtk.Style
Method
render_icon (IconSource source, TextDirection direction, StateType state, gint32 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.StyleContext
Property
direction : Gtk.TextDirection
Gtk.StyleContext
Method
get_direction () : Gtk.TextDirection
Returns the widget direction used for rendering.
Gtk.StyleContext
Method
set_direction (TextDirection direction) : none
Sets the reading direction for rendering purposes.
Gtk.TextTag
Property
direction : Gtk.TextDirection
Gtk.ThemingEngine
Method
get_direction () : Gtk.TextDirection
Returns the widget direction used for rendering.
Gtk.Widget
Signal
direction_changed (Widget self, TextDirection previous_direction) : none
The ::direction-changed signal is emitted when the text direction
of a widget changes.
Gtk.Widget
Method
Gtk.Widget.get_default_direction () : Gtk.TextDirection
Obtains the current default reading direction.
Gtk.Widget
Method
Gtk.Widget.set_default_direction (TextDirection dir) : none
Sets the default reading direction for widgets where the
direction has not been explicitly set by gtk_widget_set_direction().
Gtk.Widget
Method
get_direction () : Gtk.TextDirection
Gets the reading direction for a particular widget.
Gtk.Widget
Method
set_direction (TextDirection dir) : none
Sets the reading direction on a particular widget.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:16:03 GMT+0800 (HKT)