introspection and union in python

2011-06-28 Thread arno
Hi, I'm trying to use pygtk to build a gkt application. I've problems using binding sets. I've simplified by problem to this sample program: http://pastebin.com/XQ1CADBZ Basically, I'm creating a widget class which inherits another widget class. Say for example, a TextView. Then, I want to captu

Re: how to check the widget is really visible or not ?

2011-06-28 Thread Emmanuele Bassi
On 2011-06-28 at 16:12, KC wrote: > Hi, > > I did a very simple test (see attachment). > Create a window and add a timeout callback to check if the > window is visible. > > When I run the example, the window popup and callback will > print "win .. VISIBLE", so far so good. > > Then, I deicon

how to check the widget is really visible or not ?

2011-06-28 Thread KC
Hi, I did a very simple test (see attachment). Create a window and add a timeout callback to check if the window is visible. When I run the example, the window popup and callback will print "win .. VISIBLE", so far so good. Then, I deiconify the window; move the window to other desktop works