PyCTreeCtrl.GetItemRect

(int, int, int, int) = GetItemRect(item, bTextOnly )

Retrieves the bounding rectangle of a tree view item.

Parameters

item : HTREEITEM

The item whose Data is to be set.

bTextOnly : int

f this parameter is nonzero, the bounding rectangle includes only the text of the item. Otherwise it includes the entire line that the item occupies in the tree view control.