.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Pango::TabArray 3pm" .TH Pango::TabArray 3pm 2024-03-07 "perl v5.38.2" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME Pango::TabArray \- an object containing an array of tab stops .SH HIERARCHY .IX Header "HIERARCHY" .Vb 2 \& Glib::Boxed \& +\-\-\-\-Pango::TabArray .Ve .SH METHODS .IX Header "METHODS" .ie n .SS "tabarray = Pango::TabArray\->\fBnew\fP ($initial_size, $positions_in_pixels, ...)" .el .SS "tabarray = Pango::TabArray\->\fBnew\fP ($initial_size, \f(CW$positions_in_pixels\fP, ...)" .IX Subsection "tabarray = Pango::TabArray->new ($initial_size, $positions_in_pixels, ...)" .IP \(bu 4 \&\f(CW$initial_size\fR (integer) .IP \(bu 4 \&\f(CW$positions_in_pixels\fR (boolean) .IP \(bu 4 \&... (list) pairs of Pango::TabAlign's and integers, the alignments and positions of the tab stops. .ie n .SS "tabarray = Pango::TabArray\->\fBnew_with_positions\fP ($initial_size, $positions_in_pixels, ...)" .el .SS "tabarray = Pango::TabArray\->\fBnew_with_positions\fP ($initial_size, \f(CW$positions_in_pixels\fP, ...)" .IX Subsection "tabarray = Pango::TabArray->new_with_positions ($initial_size, $positions_in_pixels, ...)" .IP \(bu 4 \&\f(CW$initial_size\fR (integer) .IP \(bu 4 \&\f(CW$positions_in_pixels\fR (boolean) .IP \(bu 4 \&... (list) pairs of Pango::TabAlign's and integers, the alignments and positions of the tab stops. .PP Alias for new. .ie n .SS "boolean = $tab_array\->\fBget_positions_in_pixels\fP" .el .SS "boolean = \f(CW$tab_array\fP\->\fBget_positions_in_pixels\fP" .IX Subsection "boolean = $tab_array->get_positions_in_pixels" .ie n .SS "$tab_array\->\fBresize\fP ($new_size)" .el .SS "\f(CW$tab_array\fP\->\fBresize\fP ($new_size)" .IX Subsection "$tab_array->resize ($new_size)" .IP \(bu 4 \&\f(CW$new_size\fR (integer) .ie n .SS "integer = $tab_array\->\fBget_size\fP" .el .SS "integer = \f(CW$tab_array\fP\->\fBget_size\fP" .IX Subsection "integer = $tab_array->get_size" .ie n .SS "list = $tab_array\->\fBget_tab\fP ($tab_index)" .el .SS "list = \f(CW$tab_array\fP\->\fBget_tab\fP ($tab_index)" .IX Subsection "list = $tab_array->get_tab ($tab_index)" .IP \(bu 4 \&\f(CW$tab_index\fR (integer) .ie n .SS "$tab_array\->\fBset_tab\fP ($tab_index, $alignment, $location)" .el .SS "\f(CW$tab_array\fP\->\fBset_tab\fP ($tab_index, \f(CW$alignment\fP, \f(CW$location\fP)" .IX Subsection "$tab_array->set_tab ($tab_index, $alignment, $location)" .IP \(bu 4 \&\f(CW$tab_index\fR (integer) .IP \(bu 4 \&\f(CW$alignment\fR (Pango::TabAlign) .IP \(bu 4 \&\f(CW$location\fR (integer) .ie n .SS "list = $tab_array\->\fBget_tabs\fP" .el .SS "list = \f(CW$tab_array\fP\->\fBget_tabs\fP" .IX Subsection "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. .SH "ENUMS AND FLAGS" .IX Header "ENUMS AND FLAGS" .SS "enum Pango::TabAlign" .IX Subsection "enum Pango::TabAlign" .IP \(bu 4 \&'left' / 'PANGO_TAB_LEFT' .IP \(bu 4 \&'right' / 'PANGO_TAB_RIGHT' .IP \(bu 4 \&'center' / 'PANGO_TAB_CENTER' .IP \(bu 4 \&'decimal' / 'PANGO_TAB_DECIMAL' .SH "SEE ALSO" .IX Header "SEE ALSO" Pango, Glib::Boxed .SH COPYRIGHT .IX Header "COPYRIGHT" Copyright (C) 2003\-2011 by the gtk2\-perl team. .PP This software is licensed under the LGPL. See Pango for a full notice.