Description Usage Arguments Details Value Author(s)
Finds the path at the point (x
, y
), relative to bin_window coordinates
(please see gtkTreeViewGetBinWindow
).
That is, x
and y
are relative to an events coordinates. x
and y
must
come from an event on the tree.view
only where event->window ==
gtk_tree_view_get_bin_window ( )
. It is primarily for
things like popup menus. If path
is non-NULL
, then it will be filled
with the GtkTreePath
at that point. If column
is non-NULL
, then it will be filled
with the column at that point. cell.x
and cell.y
return the coordinates
relative to the cell background (i.e. the background.area
passed to
gtkCellRendererRender
). This function is only meaningful if
tree.view
is realized. Therefore this function will always return FALSE
if tree.view
is not realized or does not have a model.
1 | gtkTreeViewGetPathAtPos(object, x, y)
|
|
A |
|
The x position to be identified (relative to bin_window). |
|
The y position to be identified (relative to bin_window). |
For converting widget coordinates (eg. the ones you get from
GtkWidget::query-tooltip), please see
gtkTreeViewConvertWidgetToBinWindowCoords
.
A list containing the following elements:
retval |
[logical] |
|
A pointer to a |
|
A pointer to a |
|
A pointer where the X coordinate relative to the cell can be placed, or |
|
A pointer where the Y coordinate relative to the cell can be placed, or |
Derived by RGtkGen from GTK+ documentation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.