Gtk2::Pango::TabArray.3pm

Langue: en

Version: 2010-05-02 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Gtk2::Pango::TabArray

HIERARCHY

   Glib::Boxed
   +----Gtk2::Pango::TabArray
 
 

METHODS

tabarray = Gtk2::Pango::TabArray->new ($initial_size, $positions_in_pixels, ...)

*
$initial_size (integer)
*
$positions_in_pixels (boolean)
*
... (list) pairs of Gtk2::PangoTabAlign's and integers, the alignments and positions of the tab stops.

tabarray = Gtk2::Pango::TabArray->new_with_positions ($initial_size, $positions_in_pixels, ...)

*
$initial_size (integer)
*
$positions_in_pixels (boolean)
*
... (list) pairs of Gtk2::PangoTabAlign's and integers, the alignments and positions of the tab stops.

Alias for new.

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 (Gtk2::Pango::TabAlign)
*
$location (integer)

list = $tab_array->get_tabs

Returns a list of Gtk2::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 Gtk2::Pango::TabAlign

*
'left' / 'PANGO_TAB_LEFT'

SEE ALSO

Gtk2, Glib::Boxed Copyright (C) 2003-2008 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice.