Gtk2::ListItem(3) wrapper for GtkListItem

DESCRIPTION

Gtk2::ListItem is the widget used for each item in a Gtk2::List. Gtk2::List and Gtk2::ListItem are deprecated; use Gtk2::TreeView and a Gtk2::ListStore instead.

Gtk2::ListItem is included in Gtk2-Perl only because Gtk2::Combo contains a Gtk2::List, 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::Bin
                           +----Gtk2::Item
                                +----Gtk2::ListItem

INTERFACES

  Glib::Object::_Unregistered::AtkImplementorIface
  Gtk2::Buildable

METHODS

widget = Gtk2::ListItem->new ($label=undef)

  • $label (string)

widget = Gtk2::ListItem->new_with_label ($label=undef)

  • $label (string)

$list_item->deselect

$list_item->select

SIGNALS

end-selection (Gtk2::ListItem)
extend-selection (Gtk2::ListItem, Gtk2::ScrollType, float, boolean)
scroll-horizontal (Gtk2::ListItem, Gtk2::ScrollType, float)
scroll-vertical (Gtk2::ListItem, Gtk2::ScrollType, float)
select-all (Gtk2::ListItem)
start-selection (Gtk2::ListItem)
toggle-add-mode (Gtk2::ListItem)
toggle-focus-row (Gtk2::ListItem)
undo-selection (Gtk2::ListItem)
unselect-all (Gtk2::ListItem)

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'

COPYRIGHT

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

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