]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/samples/wx_examples/basic/frame.py
   3 """Basic frame class, with App for testing.""" 
   5 __author__ 
= "Patrick K. O'Brien <pobrien@orbtech.com>" 
   7 __revision__ 
= "$Revision$"[11:-2] 
  11 class Frame(wx
.Frame
): 
  14     def __init__(self
, parent
=None, id=-1, title
='Title', 
  15                  pos
=wx
.DefaultPosition
, size
=(400, 200)): 
  16         """Create a Frame instance.""" 
  17         wx
.Frame
.__init
__(self
, parent
, id, title
, pos
, size
) 
  20     """Application class.""" 
  25         self
.SetTopWindow(self
.frame
) 
  32 if __name__ 
== '__main__':