TreeView.convertTreeToWidgetCoords

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

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

Parameters

tx int

X coordinate relative to the tree

ty int

Y coordinate relative to the tree

wx int

return location for widget X coordinate

wy int

return location for widget Y coordinate

Meta

Since

2.12