Import line: | Gtk = imports.gi.Gtk; |
GIR File: | Gtk-2.0.gir |
C documentation: | GtkTextWindowType |
Enum : | TextWindowType |
Show / Hide Inherited methods, properties and signals |
Properties | |
---|---|
Number Gtk.TextWindowType.BOTTOM : 6
|
|
Number Gtk.TextWindowType.LEFT : 3
|
|
Number Gtk.TextWindowType.PRIVATE : 0
|
|
Number Gtk.TextWindowType.RIGHT : 4
|
|
Number Gtk.TextWindowType.TEXT : 2
|
|
Number Gtk.TextWindowType.TOP : 5
|
|
Number Gtk.TextWindowType.WIDGET : 1
|
None |
None |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Gtk.TextView
Method |
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 |
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 |
Adds a child at fixed coordinates in one of the text widget's windows.
|
GtkSource.Gutter
Property |
window_type : Gtk.TextWindowType
|
GtkSource.Gutter
Method |
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.
|