Pango::LayoutIter(3) User Contributed Perl Documentation Pango::LayoutIter(3)NAME
Pango::LayoutIter
HIERARCHY
Glib::Boxed
+----Pango::LayoutIter
METHODS
boolean = $iter->at_last_line
integer = $iter->get_baseline
array reference = $iter->get_char_extents
list = $iter->get_cluster_extents
integer = $iter->get_index
list = $iter->get_layout_extents
layout = $iter->get_layout
Since: pango 1.20
list = $iter->get_line_extents
layoutline = $iter->get_line
layoutline = $iter->get_line_readonly
Since: pango 1.16
(y0_, y1_) = $iter->get_line_yrange
boolean = $iter->next_char
boolean = $iter->next_cluster
boolean = $iter->next_line
boolean = $iter->next_run
list = $iter->get_run_extents
SEE ALSO
Pango, Glib::Boxed
COPYRIGHT
Copyright (C) 2003-2009 by the gtk2-perl team.
This software is licensed under the LGPL. See Pango for a full notice.
perl v5.12.1 2010-07-05 Pango::LayoutIter(3)
Check Out this Related Man Page
Gtk2::ListStore(3) User Contributed Perl Documentation Gtk2::ListStore(3)NAME
Gtk2::ListStore
HIERARCHY
Glib::Object
+----Gtk2::ListStore
INTERFACES
Gtk2::TreeModel
Gtk2::TreeDragSource
Gtk2::TreeDragDest
Gtk2::TreeSortable
Gtk2::Buildable
METHODS
liststore = Gtk2::ListStore->new (...)
o ... (list) of strings
treeiter = $list_store->append
$list_store->clear
$list_store->set_column_types (...)
o ... (list) of strings
$list_store->set ($iter, $col1, $val1, ...)
o $iter (Gtk2::TreeIter)
o $col1 (integer) the first column number
o $val1 (scalar) the first value
o ... (list) pairs of column numbers and values
treeiter = $list_store->insert ($position)
o $position (integer)
treeiter = $list_store->insert_after ($sibling)
o $sibling (Gtk2::TreeIter or undef)
treeiter = $list_store->insert_before ($sibling)
o $sibling (Gtk2::TreeIter or undef)
treeiter = $list_store->insert_with_values ($position, ...)
o $position (integer) position to insert the new row
o ... (list) pairs of column numbers and values
Like doing insert followed by set, except that insert_with_values emits only the row-inserted signal, rather than row-inserted, row-
changed, and, if the store is sorted, rows-reordered as in the multiple-operation case. Since emitting the rows-reordered signal
repeatedly can affect the performance of the program, insert_with_values should generally be preferred when inserting rows in a sorted list
store.
Since: gtk+ 2.6
boolean = $list_store->iter_is_valid ($iter)
o $iter (Gtk2::TreeIter)
Since: gtk+ 2.2
$store->move_after ($iter, $position)
o $iter (Gtk2::TreeIter)
o $position (Gtk2::TreeIter or undef)
Since: gtk+ 2.2
$store->move_before ($iter, $position)
o $iter (Gtk2::TreeIter)
o $position (Gtk2::TreeIter or undef)
Since: gtk+ 2.2
treeiter = $list_store->prepend
boolean = $list_store->remove ($iter)
o $iter (Gtk2::TreeIter)
$store->reorder (...)
o ... (list) of integers the reordered posistions
Reorders store to follow the order indicated by new_order. Note that this function only works with unsorted stores.
A list of position should be passed, one for each item in the list.
Since: gtk+ 2.2
$store->swap ($a, $b)
o $a (Gtk2::TreeIter)
o $b (Gtk2::TreeIter)
Since: gtk+ 2.2
$list_store->set_value ($iter, $col, $val)
o $iter (Gtk2::TreeIter)
o $val (scalar)
o $col (integer)
SEE ALSO
Gtk2, Glib::Object
COPYRIGHT
Copyright (C) 2003-2008 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.
perl v5.12.1 2010-07-05 Gtk2::ListStore(3)