Get position of added items in boxsizer

Hi,

How do I get the positions of all the 9 buttons in this
example?

http://www.java2s.com/Tutorial/Python/0380__wxPython/StaticBoxSizerTest.htm

Qui

Statement Of Confidentiality:

This electronic message transmission, and all attachments, contains information from Extron Electronics which is confidential and privileged. The information is for the exclusive viewing or use of the intended recipient. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you have received this electronic transmission in error, please notify the sender immediately by a “reply to sender only” message and destroy all electronic and hard copies of the communication, including attachments.

I think something like:

pos_dict = { }
for button in buttonlist:
    pos = button.GetPosition()
    pos_dict[button] = pos

Che

···

On Fri, Sep 25, 2009 at 1:20 PM, Qui Le <qle@extron.com> wrote:

Hi,

How do I get the positions of all the 9 buttons in this example?

StaticBoxSizer Test : StaticBoxSizer « wxPython « Python Tutorial