Package: gtk

Function gtk-tree-view-tooltip-context

Lambda List

gtk-tree-view-tooltip-context (tree-view)

Arguments

view -- a gtk-tree-view widget

Return Value

x -- a :int with the x coordinate (relative to widget coordinates)
y -- a :int with the y coordinate (relative to widget coordinates)
tip -- a boolean whether this is a keyboard tooltip or not
model -- a gtk-tree-model or nil
path -- a gtk-tree-path or nil
iter -- a gtk-tree-iter or nil

Details

This function is supposed to be used in a "query-tooltip" signal handler for gtk-tree-view. 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 a tree view row at the given coordinates (true) or not (false) for mouse tooltips. For keyboard tooltips the row returned will be the cursor row. 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. x and y will always be converted to be relative to tree-view's "bin window" if tip is false.
 

See also

1111-11-11