Package: gtk
Class gtk-icon-view
Superclassesgtk-container, gtk-widget, gtk-buildable, gtk-cell-layout, g-object, common-lisp:standard-object, common-lisp:t Documented Subclasses
None
Direct SlotsDetails The gtk-icon-view class provides an alternative view on a gtk-tree-model object.
It displays the model as a grid of icons with labels. Like the gtk-tree-view widget, it allows to select one or multiple items,
depending on the selection mode, see the function gtk-icon-view-selection-mode. In addition to selection with the arrow keys, the gtk-icon-view class 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, the gtk-icon-view widget will only display the first level of the tree and ignore the tree's branches. Style Property Details
Signal DetailsThe "activate-cursor-item" signallambda (view) :actionA keybinding signal which gets emitted when the user activates the currently focused item. Applications should not connect to it, but may emit it with the g-signal-emit function if they need to control activation programmatically. The default bindings for this signal are the Space, Return and Enter keys.
The "item-activated" signallambda (view path) :run-lastThe signal is emitted when the gtk-icon-view-item-activated function is called or the user double clicks an item. It is also emitted when a non-editable item is selected and one of the Space, Return or Enter keys is pressed.
The "move-cursor" signallambda (view step count) :actionThe signal is a keybinding signal which gets emitted when the user initiates a cursor movement. Applications should not connect to it, but may emit it with the g-signal-emit function if they need to control the cursor programmatically. The default bindings for this signal include
The "select-all" signallambda (view) :actionA keybinding signal which gets emitted when the user selects all items. Applications should not connect to it, but may emit it with the g-signal-emit function if they need to control selection programmatically. The default binding for this signal is the Ctrl-a key.
The "select-cursor-item" signallambda (view) : ActionA keybinding signal which gets emitted when the user selects the item that is currently focused. Applications should not connect to it, but may emit it with the function g-signal-emit if they need to control selection programmatically. There is no default binding for this signal.
The "selection-changed" signallambda (view) : Run FirstThe signal is emitted when the selection changes, i.e. the set of selected items.
The "toggle-cursor-item" signallambda (view) :actionA keybinding signal which gets emitted when the user toggles whether the currently focused item is selected or not. The exact effect of this depend on the selection mode. Applications should not connect to it, but may emit it with the g-signal-emit function if they need to control selection programmatically. The default binding for this signal is the Ctrl-Space key.
The "unselect-all" signallambda (view) :actionA keybinding signal which gets emitted when the user unselects all items. Applications should not connect to it, but may emit it with the g-signal-emit function if they need to control selection programmatically. The default binding for this signal is the Ctrl-Shift-a key.
| Slot Access FunctionsInherited Slot Access FunctionsSee also |
2021-3-9