filename) 60 61 62 def CreateInteriorWindowComponents( self): 63 """ 64 Create "interior" window components. 55 """ 56 57 # MyFrame.SetTitle overrides wx.Frame.SetTitle, 58 # so we have to call it using super : 59 super( MyFrame, self). CreateExteriorWindowComponents() 45 46 #- 47 48 self. CreateInteriorWindowComponents() 44 self. " 39 40 #- 41 42 # Simplified init method. Frame): 27 def _init_( self, filename= " noname.txt "): 28 super( MyFrame, self). 1 # sample_one.py 2 3 import sys 4 import os.path 5 import wx 6 7 # class MyFrame 8 # class MyApp 9 10 #- 11 12 # This is how you pre-establish a file filter so that the 13 # dialog only shows the extension(s) you want it to.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |