I recently startet evaluating wxPython, but I can't set the initial pos and size of a wxFrame. My configuration is SuSE Linux 7.3 with wxPython installed and running. I'm using Gnome 1.4 as my desktop.
It seems that the pos and size are stored after stopping my program. It always starts at the pos and size where I left it, but not as expected. What am I doing wrong?
I recently startet evaluating wxPython, but I can't set the initial pos
and size of a wxFrame. My configuration is SuSE Linux 7.3 with wxPython
installed and running. I'm using Gnome 1.4 as my desktop.
It seems that the pos and size are stored after stopping my program. It
always starts at the pos and size where I left it, but not as expected.
What am I doing wrong?
What Window Manager are you using? Could it be your Window Manager is
set up to override window sizes, remembering what it was last time and
restoring it ...
I recently startet evaluating wxPython, but I can't set the initial pos and size of a wxFrame. My configuration is SuSE Linux 7.3 with wxPython installed and running. I'm using Gnome 1.4 as my desktop.
It seems that the pos and size are stored after stopping my program. It always starts at the pos and size where I left it, but not as expected. What am I doing wrong?
What Window Manager are you using? Could it be your Window Manager is
set up to override window sizes, remembering what it was last time and
restoring it ...
I'm using Sawfish. Indeed there are two options for automatically remembering positions and sizes. But even turning them off does not what I want. It is still not positioning and sizing according to my settings.
I'm using Sawfish. Indeed there are two options for automatically
remembering positions and sizes. But even turning them off does not what
I want. It is still not positioning and sizing according to my settings.
Try a different WM. The size, position and styles given to wxFrame are only
hints to the WM, which is free to use the hints or not.
···
--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters? http://wxPython.org Relax with wxPython!