|
problems with fullscreen, maximized and window size restoration: msg#00093gnome.gtk+.python
Hi, I have 2 problems: * how to restore the fullscreen state, maximized state and the size of the main window of an application when it is restarted ? * how to do the above on MS Windows ? All I want is for the main window of the application to save its: * size when not in maximized/fullscreen/minimized states * position when not in maximized/fullscreen/minimized states * its normal/maximized/minimized/fullscreen state when it is closed and restore all of the above when it is restarted. What I have now works fine when the application is closed in the normal state. If it is maximized a/o fullscreen, than the problem starts. For example, on MS Windows, if I start the app in fullscreen mode and then try to unfullscreen it, I end up with a window *with no decoration* ! Is this a known bug? Is there a work-arround? On Linux it is a bit better: I get the decorations, but I still have to do a lot of checking like if it's the first time I switch from fullscreen/maximized to normal, then I use the saved states, otherwise I do nothing (and let the WM do its job). This is not very nice and it's not even working on MS Windows :( Any recipes for the restoration of the size/position/state of an app? TIA, -- Ionutz Borcoman http://borco.net/ _______________________________________________ pygtk mailing list pygtk@xxxxxxxxxx http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/ |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | 2.4.1 on HP-UX 11.x: 00093, Albert Chin |
|---|---|
| Next by Date: | Re: pygtk 2.5.3 on win32: 00093, Cedric Gustin |
| Previous by Thread: | 2.4.1 on HP-UX 11.xi: 00093, Albert Chin |
| Next by Thread: | Re: problems with fullscreen, maximized and window size restoration: 00093, Thomas Mills Hinkle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |