Import line: | Pango = imports.gi.Pango; |
GIR File: | Pango-1.0.gir |
C documentation: | Pango.TabArray |
Struct : | TabArray |
Show / Hide Inherited methods, properties and signals |
None |
Method / Constructor | Defined By | |
---|---|---|
Create a new Pango.TabArray
Create a new Pango.TabArray
|
||
copy
()
:
Pango.TabArray
Copies a PangoTabArray be freed with pango_tab_array_free().
Copies a PangoTabArray be freed with pango_tab_array_free().
|
Pango.TabArray | |
free
()
:
none
Frees a tab array and associated resources.
Frees a tab array and associated resources.
|
Pango.TabArray | |
get_positions_in_pixels
()
:
Boolean
Returns TRUE if the tab positions are in pixels, FALSE if they are in Pango units.
Returns TRUE if the tab positions are in pixels, FALSE if they are in Pango units.
|
Pango.TabArray | |
get_size
()
:
Number
Gets the number of tab stops in tab_array.
Gets the number of tab stops in tab_array.
|
Pango.TabArray | |
Gets the alignment and position of a tab stop.
Gets the alignment and position of a tab stop.
|
Pango.TabArray | |
If non-NULL, alignments and locations are filled with allocated arrays of length pango_tab_array_get_size().
If non-NULL, alignments and locations are filled with allocated arrays of length pango_tab_array_get_size(). You must free the returned array.
|
Pango.TabArray | |
resize
(Number new_size)
:
none
Resizes a tab array.
Resizes a tab array. You must subsequently initialize any tabs that were added as a result of growing the array.
|
Pango.TabArray | |
Sets the alignment and location of a tab stop.
Sets the alignment and location of a tab stop. implementation.
|
Pango.TabArray |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Gtk.TextTag
Property |
tabs : Pango.TabArray
|
Gtk.TextView
Property |
tabs : Pango.TabArray
|
Gtk.TextView
Method |
set_tabs
(TabArray tabs)
:
none
Sets the default tab stops for paragraphs in text_view.
|
Gtk.TextView
Method |
get_tabs
()
:
Pango.TabArray
Gets the default tabs for text_view.
|
Pango.Layout
Method |
set_tabs
(TabArray tabs)
:
none
Sets the tabs to use for layout, overriding the default tabs (by default, tabs are every 8 spaces).
|
Pango.Layout
Method |
get_tabs
()
:
Pango.TabArray
Gets the current PangoTabArray used by this layout.
|