Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

tk::iconlist(3) [centos man page]

IconList(3)						User Contributed Perl Documentation					       IconList(3)

NAME
Tk::IconList - an icon list widget SYNOPSIS
use Tk::IconList; $il = $mw->IconList(-browsecmd => sub { ... }, -command => sub { ... })->pack; $il->Add($icon1, $text1); $il->Add($icon2, $text2); $il->Arrange; ... $il->DeleteAll; DESCRIPTION
OPTIONS -browsecmd -command -font -item -foreground|-fg METHODS DeleteAll Deletes all the items inside the canvas subwidget and reset the IconList's state. Add($image, $text) Adds an icon into the IconList with the designated image and text. Arrange Places the icons in a column-major arrangement. Get Return the selected item. Invoke Gets called when the user invokes the IconList (usually by double-clicking or pressing the Return key) (internal method). See($tag) If the item is not (completely) visible, scroll the canvas so that it becomes visible (internal method). COPYRIGHT
The original tkfbox.tcl from Tcl/Tk is: Copyright (c) 1994-1996 Sun Microsystems, Inc. See the file "license.terms" for information on usage and redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES. Translated to Perl/Tk by Slaven Rezic <srezic@cpan.org>. SEE ALSO
Tk::FBox. perl v5.16.3 2014-06-10 IconList(3)

Check Out this Related Man Page

Gnome2::IconList(3pm)					User Contributed Perl Documentation				     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. perl v5.14.2 2011-11-16 Gnome2::IconList(3pm)
Man Page