Object Hierarchy:

Object hierarchy for IconView


[ CCode ( type_id = "gtk_icon_view_get_type ()" ) ]
public class IconView : Container, Implementor, Buildable, CellLayout, Scrollable

IconView provides an alternative view on a TreeModel.

It displays the model as a grid of icons with labels. Like TreeView, 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, IconView supports rubberband selection, which is controlled by dragging the pointer.

Note that if the tree model is backed by an actual tree store (as opposed to a flat list where the mapping to icons is obvious), IconView will only display the first level of the tree and ignore the tree’s branches.

CSS nodes

╰── [rubberband]
conView has a single CSS node with name iconview and style class .view. For rubberband selection, a subnode with name rubberband is used.


Namespace: Gtk
Package: gtk+-3.0



Creation methods:



Inherited Members:

All known members inherited from class Gtk.Widget
All known members inherited from interface Atk.Implementor