[Tutor] wxpython question

Che M pine508 at hotmail.com
Thu Sep 10 00:37:36 CEST 2009



Date: Wed, 9 Sep 2009 15:52:53 -0400
From: krissy.ambert at gmail.com
To: tutor at python.org
Subject: [Tutor] wxpython question

Hi,
I'm not sure if I could ask questions about wx in this list or not, hopefully it's okay? If not I guess disregard this question.
But, does anyone have any idea of if it's possible to make a frame that will latch on to the parent frame (e.g. if you resize the parent, the child also resizes, if you move the parent, the child also moves), aside from using the MDI window that's wxpython provides?

-- 
Cheers,
Krissy 
-----------------------------------------------------------------------
Testing the waters is always fun...

__________________________

Although people on this list would likely be happy to try to help, there
is a wxPython users list that is really good:

http://www.wxpython.org/maillist.php

You can do what you are saying, although I don't think there is any
built-in way to do it.  You would have to use the two frames' methods
of getting and setting position on the screen and then bind the Move
event of the parent frame to an event handler function that then
updates the position of the child (following) frame.  The people on
that list can help you if you have further questions.

CM

_________________________________________________________________
Get back to school stuff for them and cashback for you.
http://www.bing.com/cashback?form=MSHYCB&publ=WLHMTAG&crea=TEXT_MSHYCB_BackToSchool_Cashback_BTSCashback_1x1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090909/fc95faa2/attachment.htm>


More information about the Tutor mailing list