Gtk2::List(3) User Contributed Perl Documentation Gtk2::List(3)
NAME
Gtk2::List
DESCRIPTION
Gtk2::List is deprecated; use Gtk2::TreeView and a Gtk2::ListStore instead.
Gtk2::List is included in Gtk2-Perl only because Gtk2::Combo still makes use of it, and Gtk2::Combo's replacement, Gtk2::ComboBox, didn't
appear in gtk+ until 2.4.0.
HIERARCHY
Glib::Object
+----Glib::InitiallyUnowned
+----Gtk2::Object
+----Gtk2::Widget
+----Gtk2::Container
+----Gtk2::List
INTERFACES
Glib::Object::_Unregistered::AtkImplementorIface
Gtk2::Buildable
METHODS
widget = Gtk2::List->new
$list->append_items (...)
o ... (list) of Gtk2::ListItem's to be appended
integer = $list->child_position ($child)
o $child (Gtk2::Widget)
$list->clear_items ($start, $end)
o $start (integer)
o $end (integer)
$list->end_drag_selection
$list->end_selection
$list->extend_selection ($scroll_type, $position, $auto_start_selection)
o $scroll_type (Gtk2::ScrollType)
o $position (double)
o $auto_start_selection (boolean)
$list->insert_items ($position, ...)
o $position (integer)
o ... (list) of Gtk2::ListItem's to be inserted
$list->prepend_items (..., $list_item)
o ... (list) of Gtk2::ListItem's to be prepended
o $list_item (Gtk2::ListItem)
$list->remove_items (..., $list_item)
o ... (list) of Gtk2::ListItem's to be removed
o $list_item (Gtk2::ListItem)
$list->scroll_horizontal ($scroll_type, $position)
o $scroll_type (Gtk2::ScrollType)
o $position (double)
$list->scroll_vertical ($scroll_type, $position)
o $scroll_type (Gtk2::ScrollType)
o $position (double)
$list->select_all
$list->select_child ($child)
o $child (Gtk2::Widget)
$list->select_item ($item)
o $item (integer)
$list->set_selection_mode ($mode)
o $mode (Gtk2::SelectionMode)
$list->start_selection
$list->toggle_add_mode
$list->toggle_focus_row
$list->toggle_row ($item)
o $item (Gtk2::Widget)
$list->undo_selection
$list->unselect_all
$list->unselect_child ($child)
o $child (Gtk2::Widget)
$list->unselect_item ($item)
o $item (integer)
PROPERTIES
'selection-mode' (Gtk2::SelectionMode : readable / writable / private)
SIGNALS
selection-changed (Gtk2::List)
select-child (Gtk2::List, Gtk2::Widget)
unselect-child (Gtk2::List, Gtk2::Widget)
ENUMS AND FLAGS
enum Gtk2::ScrollType
o 'none' / 'GTK_SCROLL_NONE'
o 'jump' / 'GTK_SCROLL_JUMP'
o 'step-backward' / 'GTK_SCROLL_STEP_BACKWARD'
o 'step-forward' / 'GTK_SCROLL_STEP_FORWARD'
o 'page-backward' / 'GTK_SCROLL_PAGE_BACKWARD'
o 'page-forward' / 'GTK_SCROLL_PAGE_FORWARD'
o 'step-up' / 'GTK_SCROLL_STEP_UP'
o 'step-down' / 'GTK_SCROLL_STEP_DOWN'
o 'page-up' / 'GTK_SCROLL_PAGE_UP'
o 'page-down' / 'GTK_SCROLL_PAGE_DOWN'
o 'step-left' / 'GTK_SCROLL_STEP_LEFT'
o 'step-right' / 'GTK_SCROLL_STEP_RIGHT'
o 'page-left' / 'GTK_SCROLL_PAGE_LEFT'
o 'page-right' / 'GTK_SCROLL_PAGE_RIGHT'
o 'start' / 'GTK_SCROLL_START'
o 'end' / 'GTK_SCROLL_END'
enum Gtk2::SelectionMode
o 'none' / 'GTK_SELECTION_NONE'
o 'single' / 'GTK_SELECTION_SINGLE'
o 'browse' / 'GTK_SELECTION_BROWSE'
o 'multiple' / 'GTK_SELECTION_MULTIPLE'
o 'extended' / 'GTK_SELECTION_EXTENDED'
SEE ALSO
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container
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::List(3)