Package: gtk

Function gtk:icon-view-set-cursor

Lambda List

gtk:icon-view-set-cursor (view path cell start)

Arguments

view -- a gtk:icon-view widget
path -- a gtk:tree-path instance
cell -- one of the gtk:cell-renderer objects of view, or nil
start -- true if the specified cell should start being edited

Details

Sets the current keyboard focus to be at path, and selects it. This is useful when you want to focus the user's attention on a particular item. If cell is not nil, then focus is given to the cell specified by it. Additionally, if start is true, then editing should be started in the specified cell.

This function is often followed by a call of the gtk:widget-grab-focus function in order to give keyboard focus to the widget. Please note that editing can only happen when the widget is realized.

Warning

The gtk:icon-view implementation is deprecated since 4.10. Use the gtk:grid-view implementation instead.
 

See also

#2025-3-3