1Pango::TabArray(3)    User Contributed Perl Documentation   Pango::TabArray(3)
2
3
4

NAME

6       Pango::TabArray - wrapper for PangoTabArray
7

HIERARCHY

9         Glib::Boxed
10         +----Pango::TabArray
11

METHODS

13   tabarray = Pango::TabArray->new ($initial_size, $positions_in_pixels, ...)
14       ·   $initial_size (integer)
15
16       ·   $positions_in_pixels (boolean)
17
18       ·   ... (list) pairs of Pango::TabAlign's and integers, the alignments
19           and positions of the tab stops.
20
21   tabarray = Pango::TabArray->new_with_positions ($initial_size,
22       $positions_in_pixels, ...)
23       ·   $initial_size (integer)
24
25       ·   $positions_in_pixels (boolean)
26
27       ·   ... (list) pairs of Pango::TabAlign's and integers, the alignments
28           and positions of the tab stops.
29
30       Alias for new.
31
32   boolean = $tab_array->get_positions_in_pixels
33   $tab_array->resize ($new_size)
34       ·   $new_size (integer)
35
36   integer = $tab_array->get_size
37   list = $tab_array->get_tab ($tab_index)
38       ·   $tab_index (integer)
39
40   $tab_array->set_tab ($tab_index, $alignment, $location)
41       ·   $tab_index (integer)
42
43       ·   $alignment (Pango::TabAlign)
44
45       ·   $location (integer)
46
47   list = $tab_array->get_tabs
48       Returns a list of Pango::TabAlign's, alignments, and integers,
49       locations.  Even elemtents are alignments and odd elements are
50       locations, so 0 is the first alignment and 1 is the first location, 2
51       the second alignment, 3 the second location, etc.
52

ENUMS AND FLAGS

54   enum Pango::TabAlign
55       ·   'left' / 'PANGO_TAB_LEFT'
56

SEE ALSO

58       Pango, Glib::Boxed
59
61       Copyright (C) 2003-2011 by the gtk2-perl team.
62
63       This software is licensed under the LGPL.  See Pango for a full notice.
64
65
66
67perl v5.30.1                      2020-01-30                Pango::TabArray(3)
Impressum