This function is supposed to be used in a query_tooltip signal handler for TreeView.
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 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
this’s bin_window if keyboard_tooltip
is false.
this |
a TreeView |
x |
the x coordinate (relative to widget coordinates) |
y |
the y coordinate (relative to widget coordinates) |
keyboard_tip |
whether this is a keyboard tooltip or not |
model |
a pointer to receive a TreeModel or null |
path |
a pointer to receive a TreePath or null |
iter |
a pointer to receive a TreeIter or null |
whether or not the given tooltip context points to a row. |