On Mon, 2004-09-27 at 15:40, Luca Manini wrote: > Erik> After that you can change them whenever you need. > > I've seen a "expose" event that can be useful. > More interesting is the gobject.idle_add function. > The problem is that the callback is not called when the app GOES > idle, but WHILE it is IDLE (ok, may be it goes WORKING because of > the callback and then goes IDLE again...). > > Still searching....
I'm a little unclear as to what you are asking. The expose event is generated whenever some portion of a window that was hidden is now made visible. A rectangle is passed along with the event and that is the area that needs to be refreshed. There is no event that will be generated for you when your application needs to update its menu system. You have to determine those conditions yourself and enable and disable widgets as needed. -- Steve McClure <[EMAIL PROTECTED]> _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
