Gnome2::IconList(3pm)
NAME
Gnome2::IconList - wrapper for GnomeIconList
HIERARCHY
- Glib::Object
+----Glib::InitiallyUnowned - +----Gtk2::Object
+----Gtk2::Widget+----Gtk2::Container+----Gtk2::Layout+----Gnome2::Canvas+----Gnome2::IconList
INTERFACES
Glib::Object::_Unregistered::AtkImplementorIface
Gtk2::Buildable
METHODS
- widget = Gnome2::IconList->new ($icon_width, $adj, $flags)
- o $icon_width (integer)
- o $adj (Gtk2::Adjustment)
- o $flags (Gnome2::IconListFlags)
- integer = $gil->append ($icon_filename, $text)
- o $icon_filename (string)
- o $text (string)
- integer = $gil->append_pixbuf ($im, $icon_filename, $text)
- o $im (Gtk2::Gdk::Pixbuf)
- o $icon_filename (string)
- o $text (string)
- $gil->clear
$gil->set_col_spacing ($pixels) - o $pixels (integer)
- integer = $gil->find_icon_from_filename ($filename)
- o $filename (string)
- $gil->focus_icon ($idx)
- o $idx (integer)
- $gil->freeze
$gil->set_hadjustment ($hadj) - o $hadj (Gtk2::Adjustment)
- integer = $gil->get_icon_at ($x, $y)
- o $x (integer)
- o $y (integer)
- $gil->set_icon_border ($pixels)
- o $pixels (integer)
- string = $gil->get_icon_filename ($idx)
- o $idx (integer)
- visibility = $gil->icon_is_visible ($pos)
- o $pos (integer)
- object = $gil->get_icon_pixbuf_item ($idx)
- o $idx (integer)
- icontextitem = $gil->get_icon_text_item ($idx)
- o $idx (integer)
- $gil->set_icon_width ($w)
- o $w (integer)
- $gil->insert ($pos, $icon_filename, $text)
- o $pos (integer)
- o $icon_filename (string)
- o $text (string)
- $gil->insert_pixbuf ($pos, $im, $icon_filename, $text)
- o $pos (integer)
- o $im (Gtk2::Gdk::Pixbuf)
- o $icon_filename (string)
- o $text (string)
- integer = $gil->get_items_per_line $gil->moveto ($pos, $yalign)
- o $pos (integer)
- o $yalign (double)
- integer = $gil->get_num_icons $gil->remove ($pos)
- o $pos (integer)
- $gil->set_row_spacing ($pixels)
- o $pixels (integer)
- $gil->select_all
- Since: libgnomeui 2.8
- $gil->select_icon ($pos)
- o $pos (integer)
- list = $gil->get_selection
- Returns a list of integers.
- selectionmode = $gil->get_selection_mode $gil->set_selection_mode ($mode)
- o $mode (Gtk2::SelectionMode)
- $gil->set_separators ($sep)
- o $sep (string)
- $gil->set_text_spacing ($pixels)
- o $pixels (integer)
- $gil->thaw
integer = $gil->unselect_all $gil->unselect_icon ($pos) - o $pos (integer)
- $gil->set_vadjustment ($vadj)
- o $vadj (Gtk2::Adjustment)
SIGNALS
select-icon (Gnome2::IconList, integer, Gtk2::Gdk::Event)
unselect-icon (Gnome2::IconList, integer, Gtk2::Gdk::Event)
focus-icon (Gnome2::IconList, integer)
boolean = text-changed (Gnome2::IconList, integer, string)
move-cursor (Gnome2::IconList, Gtk2::DirectionType, boolean)
toggle-cursor-selection (Gnome2::IconList)
ENUMS AND FLAGS
- enum Gtk2::DirectionType
- o 'tab-forward' / 'GTK_DIR_TAB_FORWARD'
- o 'tab-backward' / 'GTK_DIR_TAB_BACKWARD'
- o 'up' / 'GTK_DIR_UP'
- o 'down' / 'GTK_DIR_DOWN'
- o 'left' / 'GTK_DIR_LEFT'
- o 'right' / 'GTK_DIR_RIGHT'
- 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'
- enum Gtk2::Visibility
- o 'none' / 'GTK_VISIBILITY_NONE'
- o 'partial' / 'GTK_VISIBILITY_PARTIAL'
- o 'full' / 'GTK_VISIBILITY_FULL'
SEE ALSO
Gnome2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object,
Gtk2::Widget, Gtk2::Container, Gtk2::Layout, Gnome2::Canvas
COPYRIGHT
Copyright (C) 2003-2004 by the gtk2-perl team.
- This software is licensed under the LGPL. See Gnome2 for a full
notice.