TreeView.widgetToTreeCoords

Warning gtk_tree_view_widget_to_tree_coords has been deprecated since version 2.12 and should not be used in newly-written code. Due to historial reasons the name of this function is incorrect. For converting coordinates relative to the widget to bin_window coordinates, please see gtk_tree_view_convert_widget_to_bin_window_coords(). Converts bin_window coordinates to coordinates for the tree (the full scrollable area of the tree).

class TreeView
void
widgetToTreeCoords
(
int wx
,
int wy
,
out int tx
,
out int ty
)

Parameters

wx int

X coordinate relative to bin_window

wy int

Y coordinate relative to bin_window

tx int

return location for tree X coordinate

ty int

return location for tree Y coordinate

Meta