[pygtk] Setting VPaned position on window resize.
mailxbox2 at o2.pl
mailxbox2 at o2.pl
Wed Apr 11 02:56:40 WST 2007
I have VPaned embeeded inside Window. What I want is to keep constant height
for lower part of VPaned, by calling VPaned::set_position(). Unfortunately,
when I tried to do this inside 'size-request' or 'size-allocate' signal
handlers of VPaned I got infinite loop of signals. The same when I connected
to Window's 'size-request' and 'size-allocate'.
Does anyone know how to achieve my goal?
I searched but couldn't find solution. It looked like a trivial problem to me
at first, but now when I've tried different ways of solving it I'm stuck and
have no idea what to do.
Or maybe I'm just tired ;)
Thank you for help.
More information about the pygtk
mailing list