IconView.getTooltipContext

This function is supposed to be used in a GtkWidget::query-tooltip signal handler for gtk.icon_view.IconView. The x, y and keyboard_tip values which are received in the signal handler, should be passed to this function without modification.

The return value indicates whether there is an icon view item at the given coordinates (true) or not (false) for mouse tooltips. For keyboard tooltips the item returned will be the cursor item. When true, then any of model, path and iter which have been provided will be set to point to that row and the corresponding model.

More...
class IconView
bool
getTooltipContext

Parameters

x int

the x coordinate (relative to widget coordinates)

y int

the y coordinate (relative to widget coordinates)

keyboardTip bool

whether this is a keyboard tooltip or not

model gtk.tree_model.TreeModel

a pointer to receive a gtk.tree_model.TreeModel

path gtk.tree_path.TreePath

a pointer to receive a gtk.tree_path.TreePath

iter gtk.tree_iter.TreeIter

a pointer to receive a gtk.tree_iter.TreeIter

Return Value

Type: bool

whether or not the given tooltip context points to an item

Detailed Description

Deprecated: Use gtk.grid_view.GridView instead