Re: Quick Question regarding Frames

2006-03-30 Thread Dave Mandelin
I'm glad to have helped. Good luck with your project. -- Want to play tabletop RPGs over the internet? Check out Koboldsoft RPZen:http://www.koboldsoft.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Quick Question regarding Frames

2006-03-29 Thread Dave Mandelin
Hi again. frameA in the __init__ is a parameter that is required to be the FrameA object that is creating the FrameB. In my example, I was assuming that the FrameB is created in a method of FrameA, so I created it passing self as frameA: w2 = FrameB(self, None, -1,) w2.Show() --

Re: Quick Question regarding Frames

2006-03-29 Thread Chris Seymour
Hi Dave, Thanks for taking the time to reply to my posts. It really heped me understand this better. Thanks again. Chris -- http://mail.python.org/mailman/listinfo/python-list

Quick Question regarding Frames

2006-03-28 Thread Chris S
Hello All, Just starting out with Python and wxPython. I have two Frames, FrameA and FrameB. FrameA opens FrameB when a button on FrameA is clicked. I can get this. Now I want a button on FrameB to update a control on FrameA. I am having an issue with this. Can anyone point me in the right

Re: Quick Question regarding Frames

2006-03-28 Thread Chris S
A little further clarification. FrameA and FrameB are in different modules. Thanks. Chris -- http://mail.python.org/mailman/listinfo/python-list

Re: Quick Question regarding Frames

2006-03-28 Thread Dave Mandelin
Chris S wrote: Hello All, Just starting out with Python and wxPython. I have two Frames, FrameA and FrameB. FrameA opens FrameB when a button on FrameA is clicked. I can get this. Now I want a button on FrameB to update a control on FrameA. I am having an issue with this. Can anyone

Re: Quick Question regarding Frames

2006-03-28 Thread Chris S
HI Dave, Thanks for the reply. I am a bit confused by this piece of code: class FrameB(wx.Frame): def __init__(self, frameA, ...): self.frameA = frameA What is frameA in the __init__ definition? Do I need to create something called frameA in order to pass it to that __init__