Import line: | Gtk = imports.gi.Gtk; |
GIR File: | Gtk-3.0.gir |
C documentation: | GtkTextWindowType |
Enum : | TextWindowType |
Properties | |
---|---|
guint32 Gtk.TextWindowType.BOTTOM : 6
|
|
guint32 Gtk.TextWindowType.LEFT : 3
|
|
guint32 Gtk.TextWindowType.PRIVATE : 0
|
|
guint32 Gtk.TextWindowType.RIGHT : 4
|
|
guint32 Gtk.TextWindowType.TEXT : 2
|
|
guint32 Gtk.TextWindowType.TOP : 5
|
|
guint32 Gtk.TextWindowType.WIDGET : 1
|
None |
None |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Gtk.TextView
Method |
Adds a child at fixed coordinates in one of the text widget's
windows. |
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 |
get_border_window_size
(TextWindowType type)
:
gint32
Gets the width of the specified border window.
|
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, gint32 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 |
Converts coordinates on the window identified by win to buffer
coordinates, storing the result in (buffer_x,buffer_y). |
GtkSource.Gutter
Property |
window_type : Gtk.TextWindowType
|
GtkSource.GutterRenderer
Property |
window_type : Gtk.TextWindowType
read only
|
GtkSource.GutterRenderer
Method |
get_window_type
()
:
Gtk.TextWindowType
|
GtkSource.View
Method |
get_gutter
(TextWindowType window_type)
:
GtkSource.Gutter
|