On Wed, Apr 02, 2003 at 01:00:13AM -0500, Rene Olsthoorn wrote: > # In my application, I want to restore the size and position > # of windows which are stored in an ini-file. > # This is the problem: when using 'move' after the show() > # function, the window loses it activation/focus. > # Doing the move() before the show() doesn't position the > # window correct. So that's no solution.
Is there something like set_usize()/set_uposition() you can use instead of move? What does it loose exactly? Focus? Or does it deactivate? Or both? :-) > # Perhaps I can send a mouse-click event to the window > # after the move() has been done, but the GdkEventButton > # class seems not to be available in PyGTK. Emitting X events isn't possible in PyGTK, AFAIK. Take care, -- Christian Reis, Senior Engineer, Async Open Source, Brazil. http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
