Tkinter and frame resizing question

Isaac To kkto at csis.hku.hk
Tue Sep 25 08:44:16 EDT 2001


>>>>> "Martin" == Martin Franklin <martin.franklin at westgeo.com> writes:

    Martin> post me some code I have done a similar thing and got it
    Martin> working.....

Doesn't seem to work for me.  The question is how to make the bottom window
stay at the same position.  Intuitively, this means that the toplevel window
should "stick" to the bottom.  For example, if the window is of size 100x100
at +100+100 before forget, and is 100x80 after forget, then the position
after resize should be +100+120.

I think this should be wm matters.  However, I've scanned the man page of wm
and toplevel, it doesn't seem to have such an option to allow this.  Perhaps
somebody should actually check ICCCM to see whether this "sticky" option can
be communicated to the window manager.

Regards,
Isaac.



More information about the Python-list mailing list