Package: gtk
Function gtk-icon-view-tooltip-context
Lambda Listgtk-icon-view-tooltip-context (view x y tip) ArgumentsReturn Value xx -- an integer with x converted to be relative to the bin window of view yy -- an integer with y converted to be relative to the bin window of view model -- a gtk-tree-model or nil path -- a gtk-tree-path instance or nil iter -- a gtk-tree-iter iterator or nil Details
This function is supposed to be used in a "query-tooltip" signal handler for a gtk-icon-view widget. The x, y and 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 will be set to point to that row and the corresponding model. x and y will always be converted to be relative to the bin window of view if tip is false. | See also |
2021-8-20