Re: Getting access to a Tree widget from a TreeItem widget.



On 09/07/00 Cogan, Gil wrote:
I'm writing an application that uses a Tree widget.
Do you know how to access the Tree widget that contains a TreeItem widget?
Is there a built in method for that?

$item->parent;

Works for any widget you added in a widget hierarchy.

lupus

-- 
Paolo Molaro, Open Source Developer, Linuxcare, Inc.
+39.049.8043411 tel, +39.049.8043412 fax
lupus linuxcare com, http://www.linuxcare.com/
Linuxcare. Support for the revolution.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]