No subject
Mon Jan 19 19:02:15 WST 2009
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
--000e0cd59fb0ca50a604611e3570
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Sorry, Pressed send by accident. Continuing.<br><br><br><br><br=
>I sent en example of my main.py file.. that initialized other classes in o=
ther files and just passed the self.wTree to these classes.. <br><br>Here i=
s an example of my other class that is getting the wTree object passed to i=
t.<br>
<br>class Database_Settings:<br><br> def __init__(self,wT=
ree): #The main gtk wTree was passed fr=
om the main (REQUIRED)<br> self.w=
Tree =3D wTree<br clear=3D"all"><br><br>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?<br>
<br>Thanks, and sorry about the email in 2 chunks.<br><br><br>-- <br>Riley =
Porter<br>Network Security Engineer<br><br>Offensive Security - OSCP<br>SAN=
S GIAC - GCIH<br>CCNA, Security+<br>ACSA - Arcsight Security Analyst<br>
--000e0cd59fb0ca50a604611e3570--
More information about the pygtk
mailing list