TreeView.convertWidgetToTreeCoords

void convertWidgetToTreeCoords(int wx, int wy, out int tx, out int ty)

Converts widget coordinates to coordinates for the tree (the full scrollable area of the tree).

Parameters

wxX coordinate relative to the widget
wyY coordinate relative to the widget
txreturn location for tree X coordinate
tyreturn location for tree Y coordinate