Back to Seed Clases

Gtk


Classes

Interfaces

Structs

Unions

Enums

Enum Gtk.TextWindowType

Import line: Gtk = imports.gi.Gtk;
GIR File: Gtk-2.0.gir
C documentation: GtkTextWindowType
Enum : TextWindowType
  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.TextView
Method
buffer_to_window_coords (TextWindowType win, Number buffer_x, Number buffer_y) : Object
Converts coordinate (buffer_x, buffer_y) to coordinates for the window Note that you can't convert coordinates for a nonexisting window (see gtk_text_view_set_border_window_size()).
Gtk.TextView
Method
window_to_buffer_coords (TextWindowType win, Number window_x, Number window_y) : Object
Converts coordinates on the window identified by win to buffer coordinates, storing the result in (buffer_x,buffer_y).
Gtk.TextView
Method
get_window (TextWindowType win) : Gdk.Window
Retrieves the GdkWindow corresponding to an area of the text view; possible windows include the overall widget window, child windows on the left, right, top, bottom, and the window that displays the text buffer.
Gtk.TextView
Method
get_window_type (Window window) : Gtk.TextWindowType
Usually used to find out which window an event corresponds to.
Gtk.TextView
Method
set_border_window_size (TextWindowType type, Number size) : none
Sets the width of GTK_TEXT_WINDOW_LEFT or GTK_TEXT_WINDOW_RIGHT, or the height of GTK_TEXT_WINDOW_TOP or GTK_TEXT_WINDOW_BOTTOM.
Gtk.TextView
Method
get_border_window_size (TextWindowType type) : Number
Gets the width of the specified border window.
Gtk.TextView
Method
add_child_in_window (Widget child, TextWindowType which_window, Number xpos, Number ypos) : none
Adds a child at fixed coordinates in one of the text widget's windows.
GtkSource.Gutter
Property
window_type : Gtk.TextWindowType
GtkSource.Gutter
Method
new GtkSource.Gutter.c_new (void* view, TextWindowType type) : GtkSource.Gutter
Create a new GtkSource.Gutter
GtkSource.View
Method
get_gutter (TextWindowType window_type) : GtkSource.Gutter
Returns the GtkSourceGutter object associated with window_type for view.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Tue Jun 22 2010 16:34:43 GMT+0800 (HKT)