man Gtk2::IconView () - Gtk2::IconView
NAME
Gtk2::IconView
HIERARCHY
Glib::Object +----Glib::Object::_Unregistered::GInitiallyUnowned +----Gtk2::Object +----Gtk2::Widget +----Gtk2::Container +----Gtk2::IconView
INTERFACES
Gtk2::Atk::ImplementorIface Gtk2::CellLayout
METHODS
widget = Gtk2::IconView->new
widget = Gtk2::IconView->new_with_model ($model)
$icon_view->set_column_spacing ($column_spacing)
$icon_view->set_columns ($columns)
$icon_view->enable_model_drag_dest ($actions, ...)
- * ... (list) of Gtk2::TargetEntry's
- * ... (list) of Gtk2::TargetEntry's
$icon_view->item_activated ($path)
$icon_view->set_item_width ($item_width)
$icon_view->set_margin ($margin)
$icon_view->set_markup_column ($column)
$icon_view->set_model ($model)
$icon_view->set_orientation ($orientation)
$icon_view->set_pixbuf_column ($column)
$icon_view->set_reorderable ($reorderable)
$icon_view->set_row_spacing ($row_spacing)
$icon_view->select_all
$icon_view->select_path ($path)
$icon_view->set_selection_mode ($mode)
$icon_view->set_spacing ($spacing)
$icon_view->set_text_column ($column)
$icon_view->unselect_all
$icon_view->unselect_path ($path)
$icon_view->unset_model_drag_dest
$icon_view->unset_model_drag_source
PROPERTIES
- 'column-spacing' (integer : readable / writable / private)
- Space which is inserted between grid column
- 'columns' (integer : readable / writable / private)
- Number of columns to display
- 'item-width' (integer : readable / writable / private)
- The width used for each item
- 'margin' (integer : readable / writable / private)
- Space which is inserted at the edges of the icon view
- 'markup-column' (integer : readable / writable / private)
- Model column used to retrieve the text if using Pango markup
- 'model' (Gtk2::TreeModel : readable / writable / private)
- The model for the icon view
- 'orientation' (Gtk2::Orientation : readable / writable / private)
- How the text and icon of each item are positioned relative to each other
- 'pixbuf-column' (integer : readable / writable / private)
- Model column used to retrieve the icon pixbuf from
- 'reorderable' (boolean : readable / writable)
- View is reorderable
- 'row-spacing' (integer : readable / writable / private)
- Space which is inserted between grid rows
- 'selection-mode' (Gtk2::SelectionMode : readable / writable / private)
- The selection mode
- 'spacing' (integer : readable / writable / private)
- Space which is inserted between cells of an item
- 'text-column' (integer : readable / writable / private)
- Model column used to retrieve the text from
SIGNALS
- set-scroll-adjustments (Gtk2::IconView, Gtk2::Adjustment, Gtk2::Adjustment)
- boolean = move-cursor (Gtk2::IconView, Gtk2::MovementStep, integer)
- select-all (Gtk2::IconView)
- unselect-all (Gtk2::IconView)
- selection-changed (Gtk2::IconView)
- item-activated (Gtk2::IconView, Gtk2::TreePath)
- select-cursor-item (Gtk2::IconView)
- toggle-cursor-item (Gtk2::IconView)
- boolean = activate-cursor-item (Gtk2::IconView)
ENUMS AND FLAGS
flags Gtk2::Gdk::DragAction
- * 'default' / 'GDK_ACTION_DEFAULT'
- * 'copy' / 'GDK_ACTION_COPY'
- * 'move' / 'GDK_ACTION_MOVE'
- * 'link' / 'GDK_ACTION_LINK'
- * 'private' / 'GDK_ACTION_PRIVATE'
- * 'ask' / 'GDK_ACTION_ASK'
flags Gtk2::Gdk::ModifierType
- * 'shift-mask' / 'GDK_SHIFT_MASK'
- * 'lock-mask' / 'GDK_LOCK_MASK'
- * 'control-mask' / 'GDK_CONTROL_MASK'
- * 'mod1-mask' / 'GDK_MOD1_MASK'
- * 'mod2-mask' / 'GDK_MOD2_MASK'
- * 'mod3-mask' / 'GDK_MOD3_MASK'
- * 'mod4-mask' / 'GDK_MOD4_MASK'
- * 'mod5-mask' / 'GDK_MOD5_MASK'
- * 'button1-mask' / 'GDK_BUTTON1_MASK'
- * 'button2-mask' / 'GDK_BUTTON2_MASK'
- * 'button3-mask' / 'GDK_BUTTON3_MASK'
- * 'button4-mask' / 'GDK_BUTTON4_MASK'
- * 'button5-mask' / 'GDK_BUTTON5_MASK'
- * 'release-mask' / 'GDK_RELEASE_MASK'
- * 'modifier-mask' / 'GDK_MODIFIER_MASK'
enum Gtk2::IconView::DropPosition
- * 'no-drop' / 'GTK_ICON_VIEW_NO_DROP'
- * 'drop-into' / 'GTK_ICON_VIEW_DROP_INTO'
- * 'drop-left' / 'GTK_ICON_VIEW_DROP_LEFT'
- * 'drop-right' / 'GTK_ICON_VIEW_DROP_RIGHT'
- * 'drop-above' / 'GTK_ICON_VIEW_DROP_ABOVE'
- * 'drop-below' / 'GTK_ICON_VIEW_DROP_BELOW'
enum Gtk2::MovementStep
- * 'logical-positions' / 'GTK_MOVEMENT_LOGICAL_POSITIONS'
- * 'visual-positions' / 'GTK_MOVEMENT_VISUAL_POSITIONS'
- * 'words' / 'GTK_MOVEMENT_WORDS'
- * 'display-lines' / 'GTK_MOVEMENT_DISPLAY_LINES'
- * 'display-line-ends' / 'GTK_MOVEMENT_DISPLAY_LINE_ENDS'
- * 'paragraphs' / 'GTK_MOVEMENT_PARAGRAPHS'
- * 'paragraph-ends' / 'GTK_MOVEMENT_PARAGRAPH_ENDS'
- * 'pages' / 'GTK_MOVEMENT_PAGES'
- * 'buffer-ends' / 'GTK_MOVEMENT_BUFFER_ENDS'
- * 'horizontal-pages' / 'GTK_MOVEMENT_HORIZONTAL_PAGES'
enum Gtk2::Orientation
- * 'horizontal' / 'GTK_ORIENTATION_HORIZONTAL'
- * 'vertical' / 'GTK_ORIENTATION_VERTICAL'
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.