Re: [pygtk] How to use GDK locking with pygtk3 ?

2013-12-27 Thread Petr Kubanek
Hi, you are performing some GTK ops in the thread, aren't you? Consider calling that with gobject.idle_add, so they will run in main thread. Please see pygtk threading/FAQ for details. Petr On Čt, 2013-12-26 at 22:45 +0200, Ronald Sayers wrote: > Hello, > > I just added a infobar into my appli

Re: [pygtk] How to use GDK locking with pygtk3 ?

2013-12-27 Thread Ronald Sayers
Solved it, it was caused by "infobar" which seems have some bugs combined with threaded function. Parent-> start new function in a thread and show the infobar -> process completes -> hide the infobar -> spawn a new dialog window. On 26/12/2013, Ronald Sayers wrote: > Hello, > > I just added a inf

Re: [pygtk] How to use GDK locking with pygtk3 ?

2013-12-27 Thread John Stowers
No gtk functions can be called from outside the gtk thread (unless you take the lock - although that doesnt work on windows) This is not specific to infobar. On Fri, Dec 27, 2013 at 4:21 PM, Ronald Sayers wrote: > Solved it, it was caused by "infobar" which seems have some bugs > combined with