set_geometry_hints max_width/max_height not honoured on win32

Here is the code:

import gtk
x.set_geometry_hints(max_width=600, max_height=400)

This works as expected on Linux (bar any window manager overrides you
may have), but it does not do anything at all on win32. One can resize
the window beyond the maximum dimensions specified, though the maximize
button is greyed out.
How can I get the max dimensions to be honoured on win32?


PS: using latest pygtk2 all-in-one installer on win32.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]