![]() |
![]() |
Each tab stop has an alignment and a position.
Public Member Functions | |
TabArray () | |
TabArray (PangoTabArray* gobject, bool make_a_copy=true) | |
TabArray (const TabArray& other) | |
TabArray& | operator= (const TabArray& other) |
~TabArray () | |
void | swap (TabArray& other) |
PangoTabArray* | gobj () |
Provides access to the underlying C instance. | |
const PangoTabArray* | gobj () const |
Provides access to the underlying C instance. | |
PangoTabArray* | gobj_copy () const |
TabArray (int initial_size, bool positions_in_pixels=true) | |
int | get_size () const |
Get the number of tab stops in tab_array . | |
void | resize (int new_size) |
Resizes a tab array. | |
void | set_tab (int tab_index, TabAlign alignment, int location) |
Sets the alignment and location of a tab stop. | |
std::pair<TabAlign, int> | get_tab (int tab_index) const |
Gets the alignment and position of a tab stop. | |
Glib::ArrayHandle< std::pair< TabAlign, int > > | get_tabs () const |
Gets an array of std::pairs containing the tab stop alignments and tab positions. | |
bool | get_positions_in_pixels () const |
Returns true if the tab positions are in pixels, false if they are in Pango units. | |
Protected Attributes | |
PangoTabArray* | gobject_ |
Related Functions | |
(Note that these are not member functions.) | |
void | swap (TabArray& lhs, TabArray& rhs) |
Pango::TabArray | wrap (PangoTabArray* object, bool take_copy=false) |
|
|
|
|
|
|
|
|
|
|
|
Returns
|
|
Get the number of tab stops in tab_array .
|
|
Gets the alignment and position of a tab stop.
|
|
Gets an array of std::pairs containing the tab stop alignments and tab positions.
|
|
Provides access to the underlying C instance.
|
|
Provides access to the underlying C instance.
|
|
|
|
|
|
Resizes a tab array. You must subsequently initialize any tabs that were added as a result of growing the array.
|
|
Sets the alignment and location of a tab stop. alignment must always be Pango::TAB_LEFT in the current implementation.
|
|
|
|
|
|
|
|
|