GtkIconView

Displays a list of icons in a grid.
Object Hierarchy
GObject
`-- GtkObject
      `-- GtkWidget
            `-- GtkContainer
                  `-- GtkIconView
Description
GtkIconView provides an alternative view on a list model: It displays the model as a grid of icons with labels, the way you will already know it from a file manager.
Like GtkTreeView, it allows to select one or multiple items (depending on the selection mode, see set_selection_mode() ). In addition to selection with the arrow keys, GtkIconView supports rubberband selection, which is controlled by dragging the pointer.
Constructors
GtkIconView ();-- Creates a new GtkIconView instance.
Methods
get_column_spacing() Â Returns the space between single columns in pixels. get_columns() Â The number of columns in the view. get_item_width() Â The width of a single item. get_margin() Â The empty border around view. get_markup_column() Â Column of the model in which markup is stored. get_model() Â The list's data model. get_orientation() Â Returns the orientation of the icon labels. get_path_at_pos() Â Returns the path to the item at the given position. get_pixbuf_column() Â Model column number containing the pixbufs. get_row_spacing() Â Space in pixels between rows. get_selected_items() Â Returns an array of paths for the selected items. get_selection_mode() Â Item selection mode. get_spacing() Â Space in pixels between icon and label. get_text_column() Â Model column number containing the text for the labels. item_activated() Â Activates an item. path_is_selected() Â Checks if an item is selected. select_all() Â Selects all items. select_path() Â Select an item in the view. set_column_spacing() Â Set the spacing between columns. set_columns() Â Set the number of columns in the list. set_item_width() Â Width of an item. set_margin() Â Margin to the widget's border. set_markup_column() Â Set the model column containing the markup. set_model() Â Set the data model. set_orientation() Â Set the orientation of label relative to the icon. set_pixbuf_column() Â Set the model column in which pixbufs are located. set_row_spacing() Â Set the spacing between rows. set_selection_mode() Â Set mode of selection. set_spacing() Â Set the space between icon and label. set_text_column() Â Set model column in which the text is located. unselect_all() Â Unselects all items. unselect_path() Â Unselects a single item. selected_foreach() Â
Signals
"activate-cursor-item" Â The current cursor item has been activated. "item-activated" Â An item has been activated (not selected) "move-cursor" Â Cursor (not selection) has moved. "select-all" Â FIXME "select-cursor-item" Â FIXME "selection-changed" Â Emitted when the selection has changed. "set-scroll-adjustments" Â When the widget gets scroll bars. "toggle-cursor-item" Â Current cursor item changes its selection state. "unselect-all" Â FIXME