Back to Seed Clases

Gtk


Classes

Interfaces

Structs

Unions

Enums

Enum Gtk.TextDirection

Import line: Gtk = imports.gi.Gtk;
GIR File: Gtk-2.0.gir
C documentation: GtkTextDirection
Enum : TextDirection
  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_insertion_cursor (Widget widget, Drawable drawable, Rectangle area, Rectangle location, Boolean is_primary, TextDirection direction, Boolean draw_arrow) : none
Draws a text caret on drawable at location.
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_direction (TextDirection direction) : none
Sets the text direction this icon source is intended to be used with.
Gtk.IconSource
Method
get_direction () : Gtk.TextDirection
Obtains the text direction this icon source applies to.
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.TextLayout
Method
set_cursor_direction (TextDirection direction) : none
Sets which text directions (left-to-right and/or right-to-left) for which cursors will be drawn for the insertion point.
Gtk.TextLayout
Method
set_keyboard_direction (TextDirection keyboard_dir) : none
Sets the keyboard direction; this is used as for the bidirectional base direction for the line with the cursor if the line contains only neutral characters.
Gtk.TextTag
Property
direction : Gtk.TextDirection
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.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
Gtk.Widget.get_default_direction () : Gtk.TextDirection
Obtains the current default reading direction.
Gtk.Widget
Method
set_direction (TextDirection dir) : none
Sets the reading direction on a particular widget.
Gtk.Widget
Method
get_direction () : Gtk.TextDirection
Gets the reading direction for a particular widget.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Tue Jun 22 2010 16:34:43 GMT+0800 (HKT)