Pango::TabArray
Section: User Contributed Perl Documentation (3pm)Updated: 2017-07-27
Index Return to Main Contents
NAME
Pango::TabArray - an object containing an array of tab stopsHIERARCHY
Glib::Boxed +----Pango::TabArray
METHODS
tabarray = Pango::TabArray->new ($initial_size, $positions_in_pixels, ...)
- •
- $initial_size (integer)
- •
- $positions_in_pixels (boolean)
- •
- ... (list) pairs of Pango::TabAlign's and integers, the alignments and positions of the tab stops.
tabarray = Pango::TabArray->new_with_positions ($initial_size, $positions_in_pixels, ...)
- •
- $initial_size (integer)
- •
- $positions_in_pixels (boolean)
- •
- ... (list) pairs of Pango::TabAlign's and integers, the alignments and positions of the tab stops.
boolean = $tab_array->get_positions_in_pixels
$tab_array->resize ($new_size)
- •
- $new_size (integer)
integer = $tab_array->get_size
list = $tab_array->get_tab ($tab_index)
- •
- $tab_index (integer)
$tab_array->set_tab ($tab_index, $alignment, $location)
- •
- $tab_index (integer)
- •
- $alignment (Pango::TabAlign)
- •
- $location (integer)
list = $tab_array->get_tabs
Returns a list of Pango::TabAlign's, alignments, and integers, locations. Even elemtents are alignments and odd elements are locations, so 0 is the first alignment and 1 is the first location, 2 the second alignment, 3 the second location, etc.ENUMS AND FLAGS
enum Pango::TabAlign
- •
- 'left' / 'PANGO_TAB_LEFT'
SEE ALSO
Pango, Glib::BoxedCOPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team.This software is licensed under the LGPL. See Pango for a full notice.
Index
- NAME
- HIERARCHY
- METHODS
-
- tabarray = Pango::TabArray->new ($initial_size, $positions_in_pixels, ...)
- tabarray = Pango::TabArray->new_with_positions ($initial_size, $positions_in_pixels, ...)
- boolean = $tab_array->get_positions_in_pixels
- $tab_array->resize ($new_size)
- integer = $tab_array->get_size
- list = $tab_array->get_tab ($tab_index)
- $tab_array->set_tab ($tab_index, $alignment, $location)
- list = $tab_array->get_tabs
- ENUMS AND FLAGS
- SEE ALSO
- COPYRIGHT
This document was created by man2html, using the manual pages.
Time: 04:45:49 GMT, September 16, 2022
0 댓글