Next:
Gtk2::Image
Previous:
Gtk2::IconTheme
 [Gtk2-Perl - Table of Contents][Gtk2-Perl - Index]

Gtk2::IconView



NAME

Gtk2::IconView

HIERARCHY

  Glib::Object
  +----Glib::InitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::Widget
                 +----Gtk2::Container
                      +----Gtk2::IconView

INTERFACES

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

METHODS

widget = Gtk2::IconView->new

widget = Gtk2::IconView->new_with_model ($model)

integer = $icon_view->get_column_spacing

$icon_view->set_column_spacing ($column_spacing)

integer = $icon_view->get_columns

$icon_view->set_columns ($columns)

(bx, by) = $icon_view->convert_widget_to_bin_window_coords ($wx, $wy)

Since: gtk+ 2.11

pixmap = $icon_view->create_drag_icon ($path)

Since: gtk+ 2.8

list = $icon_view->get_cursor

Since: gtk+ 2.8

$icon_view->set_cursor ($path, $cell, $start_editing)

Since: gtk+ 2.8

$icon_view->get_dest_item_at_pos ($drag_x, $drag_y)

Since: gtk+ 2.8

list = $icon_view->get_drag_dest_item

Since: gtk+ 2.8

$icon_view->set_drag_dest_item ($path, $pos)

Since: gtk+ 2.8

$icon_view->enable_model_drag_dest ($actions, ...)

Since: gtk+ 2.8

$icon_view->enable_model_drag_source ($start_button_mask, $actions, ...)

Since: gtk+ 2.8

$icon_view->item_activated ($path)

$icon_view->get_item_at_pos ($x, $y)

Since: gtk+ 2.8

integer = $icon_view->get_item_width

$icon_view->set_item_width ($item_width)

integer = $icon_view->get_margin

$icon_view->set_margin ($margin)

integer = $icon_view->get_markup_column

$icon_view->set_markup_column ($column)

treemodel = $icon_view->get_model

$icon_view->set_model ($model)

orientation = $icon_view->get_orientation

$icon_view->set_orientation ($orientation)

treepath = $icon_view->get_path_at_pos ($x, $y)

boolean = $icon_view->path_is_selected ($path)

integer = $icon_view->get_pixbuf_column

$icon_view->set_pixbuf_column ($column)

boolean = $icon_view->get_reorderable

Since: gtk+ 2.8

$icon_view->set_reorderable ($reorderable)

Since: gtk+ 2.8

integer = $icon_view->get_row_spacing

$icon_view->set_row_spacing ($row_spacing)

$icon_view->scroll_to_path ($path, $use_align=FALSE, $row_align=0.0, $col_align=0.0)

Since: gtk+ 2.8

$icon_view->select_all

$icon_view->select_path ($path)

$icon_view->selected_foreach ($func, $data=undef)

list = $icon_view->get_selected_items

selectionmode = $icon_view->get_selection_mode

$icon_view->set_selection_mode ($mode)

integer = $icon_view->get_spacing

$icon_view->set_spacing ($spacing)

integer = $icon_view->get_text_column

$icon_view->set_text_column ($column)

$icon_view->set_tooltip_cell ($tooltip, $path, $cell)

Since: gtk+ 2.11

integer = $icon_view->get_tooltip_column

Since: gtk+ 2.11

$icon_view->set_tooltip_column ($column)

Since: gtk+ 2.11

list = $icon_view->get_tooltip_context ($x, $y, $keyboard_tip)

Since: gtk+ 2.11

$icon_view->set_tooltip_item ($tooltip, $path)

Since: gtk+ 2.11

$icon_view->unselect_all

$icon_view->unselect_path ($path)

$icon_view->unset_model_drag_dest

Since: gtk+ 2.8

$icon_view->unset_model_drag_source

Since: gtk+ 2.8

list = $icon_view->get_visible_range

Since: gtk+ 2.8

PROPERTIES

'column-spacing' (integer : readable / writable / private)
Space which is inserted between grid columns
'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
'tooltip-column' (integer : readable / writable / private)
The column in the model containing the tooltip texts for the items

SIGNALS

set-scroll-adjustments (Gtk2::IconView, Gtk2::Adjustment, Gtk2::Adjustment)
item-activated (Gtk2::IconView, Gtk2::TreePath)
selection-changed (Gtk2::IconView)
select-all (Gtk2::IconView)
unselect-all (Gtk2::IconView)
select-cursor-item (Gtk2::IconView)
toggle-cursor-item (Gtk2::IconView)
boolean = activate-cursor-item (Gtk2::IconView)
boolean = move-cursor (Gtk2::IconView, Gtk2::MovementStep, integer)

ENUMS AND FLAGS

flags Gtk2::Gdk::DragAction

flags Gtk2::Gdk::ModifierType

enum Gtk2::IconView::DropPosition

enum Gtk2::MovementStep

enum Gtk2::Orientation

enum Gtk2::SelectionMode

SEE ALSO

Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container

COPYRIGHT

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

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


[Top] Generated by Marek::Pod::HTML 0.49 on Wed Dec 16 23:02:20 2009