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),
gtk.icon_view.IconView will only display the first level of the tree and
ignore the tree’s branches.
gtk.icon_view.IconView has a single CSS node with name iconview and style class .view.
For rubberband selection, a subnode with name rubberband is used.
gtk.icon_view.IconView is a widget which displays data in a grid of icons.
gtk.icon_view.IconView provides an alternative view on a gtk.tree_model.TreeModel. It displays the model as a grid of icons with labels. Like gtk.tree_view.TreeView, it allows to select one or multiple items (depending on the selection mode, see gtk.icon_view.IconView.setSelectionMode). In addition to selection with the arrow keys, gtk.icon_view.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), gtk.icon_view.IconView will only display the first level of the tree and ignore the tree’s branches.
CSS nodes
gtk.icon_view.IconView has a single CSS node with name iconview and style class .view. For rubberband selection, a subnode with name rubberband is used.