Python Forum
[WxPython] Puzzled by classes
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[WxPython] Puzzled by classes
#2
The Example class extends wx.Frame.  I don't know anything about wx, so I don't know if that's the recommended way to do things, but my guess is that if you don't pass it a parent window, wx will default to using whichever window was most recently created.  That's just a guess, though.
Reply


Messages In This Thread
Puzzled by classes - by Barrowman - Aug-14-2017, 12:58 PM
RE: Puzzled by classes - by nilamo - Aug-14-2017, 02:40 PM
RE: Puzzled by classes - by Larz60+ - Aug-14-2017, 05:21 PM
RE: Puzzled by classes - by nilamo - Aug-14-2017, 05:35 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020