[pygtk] DrawingArea: window is still None.

2007-04-05 Thread Shandy Brown
I'm getting None returned as my drawingArea.window attribute. here's a snippet: (NOTE: I'm using Glade) self.tzdraw = xml.get_widget("TimezoneDrawingArea") self.tzdraw.show() assert self.tzdraw assert self.tzdraw.window #This fails I have also tried realize()

[pygtk] can i have a run in a main class

2007-04-05 Thread shawn bright
lo there, back to my question on threads in a gui. I was wondering if, in my gui, i can have a method like def run(self): while 1: yadda yadda yadda and use this to update my textviews while my 'worker threads' write their data to a database table or something that the run can use to g

[pygtk] merge columns in a treeview

2007-04-05 Thread Carsten Fuchs
Hi, is it possible to merge 2 or more columns in a treeview row? I have a treeview with a treemodel and I want each parent row to span over all columns (resulting in a 1 column parent row), and have the contents of each child row in seperated columns. | v Parent row

Re: [pygtk] is GTK thread safe?

2007-04-05 Thread shawn bright
Thanks, John, Thanks a lot. sk On 4/5/07, John Stowers <[EMAIL PROTECTED]> wrote: Shawn, See http://www.johnstowers.co.nz/blog/index.php/2007/03/12/threading-and-pygtk/ For a post I wrote on the topic discussing and linking to some approaches John On 4/5/07, shawn bright <[EMAIL PROTECTED]>

Re: [pygtk] is GTK thread safe?

2007-04-05 Thread John Stowers
Shawn, See http://www.johnstowers.co.nz/blog/index.php/2007/03/12/threading-and-pygtk/ For a post I wrote on the topic discussing and linking to some approaches John On 4/5/07, shawn bright <[EMAIL PROTECTED]> wrote: lo there all, i have an app in GTK2 with python that uses 12 threads, 5 of