man Gtk2::List () - Gtk2::List

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::Object::_Unregistered::GInitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::Widget
                 +----Gtk2::Container
                      +----Gtk2::List

INTERFACES

  Gtk2::Atk::ImplementorIface

METHODS

widget = Gtk2::List->new

$list->append_items (...)

* ... (list) of Gtk2::ListItem's to be appended

$list->end_drag_selection

$list->end_selection

$list->insert_items ($position, ...)

* ... (list) of Gtk2::ListItem's to be inserted
* ... (list) of Gtk2::ListItem's to be prepended
* ... (list) of Gtk2::ListItem's to be removed

$list->select_all

$list->select_child ($child)

$list->select_item ($item)

$list->set_selection_mode ($mode)

$list->start_selection

$list->toggle_add_mode

$list->toggle_focus_row

$list->toggle_row ($item)

$list->undo_selection

$list->unselect_all

$list->unselect_child ($child)

$list->unselect_item ($item)

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

* 'none' / 'GTK_SCROLL_NONE'
* 'jump' / 'GTK_SCROLL_JUMP'
* 'step-backward' / 'GTK_SCROLL_STEP_BACKWARD'
* 'step-forward' / 'GTK_SCROLL_STEP_FORWARD'
* 'page-backward' / 'GTK_SCROLL_PAGE_BACKWARD'
* 'page-forward' / 'GTK_SCROLL_PAGE_FORWARD'
* 'step-up' / 'GTK_SCROLL_STEP_UP'
* 'step-down' / 'GTK_SCROLL_STEP_DOWN'
* 'page-up' / 'GTK_SCROLL_PAGE_UP'
* 'page-down' / 'GTK_SCROLL_PAGE_DOWN'
* 'step-left' / 'GTK_SCROLL_STEP_LEFT'
* 'step-right' / 'GTK_SCROLL_STEP_RIGHT'
* 'page-left' / 'GTK_SCROLL_PAGE_LEFT'
* 'page-right' / 'GTK_SCROLL_PAGE_RIGHT'
* 'start' / 'GTK_SCROLL_START'
* 'end' / 'GTK_SCROLL_END'

enum Gtk2::SelectionMode

* 'none' / 'GTK_SELECTION_NONE'
* 'single' / 'GTK_SELECTION_SINGLE'
* 'browse' / 'GTK_SELECTION_BROWSE'
* 'multiple' / 'GTK_SELECTION_MULTIPLE'
* 'extended' / 'GTK_SELECTION_EXTENDED'

SEE ALSO

Gtk2, Glib::Object, Glib::Object::_Unregistered::GInitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container

COPYRIGHT

Copyright (C) 2003-2005 by the gtk2-perl team.

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