[pygtk] How gtk.Window.set_geometry_hints works?
ilya korchemkin
gm.illifant at gmail.com
Thu Mar 11 06:51:12 WST 2010
Hi all.
I want my gtk.Window to be resizable in only one direction (in my case
it's width). It seems that gtk.Window.set_geometry_hints is what I
need, but I cannot understand how it works. If I try to call it with
only max_height argument, the window cannot be resized horizontally at
all, which seems strange to me. When I add max_width, I can resize the
window, but only up to the value I set (well, that's expectable). Of
course, I may set max_width to some big number, but it would look
unclear if anyone tries to read the code.
Can anyone clarify this to me?
More information about the pygtk
mailing list