Sorry, Pressed send by accident. Continuing.
I sent en example of my main.py file.. that initialized other classes in
other files and just passed the self.wTree to these classes..
Here is an example of my other class that is getting the wTree object passed
to it.
class Database_Settings:
def __init__(self,wTree): #The main gtk wTree was passed from the
main (REQUIRED)
self.wTree = wTree
>From here I can just access objects from other files / tabs. My question
is, is this the right way to do this? or are there better ways to allow
other classes / files access widgets in the same glade file?
Thanks, and sorry about the email in 2 chunks.
--
Riley Porter
Network Security Engineer
Offensive Security - OSCP
SANS GIAC - GCIH
CCNA, Security+
ACSA - Arcsight Security Analyst
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/