| 
 | |||||||
| Adding the main frame 
		  Время создания: 18.05.2017 21:16		  
		    Раздел: Python - wx - classes - wx - Frame		   
		  Запись: xintrea/mytetra_db_mcold/master/base/1495131373p9bot4i2ji/text.html на raw.githubusercontent.com		  | |||||||
|  | |||||||
| class MyFrame(wx.Frame): def __init__(self, parent, title=""): super(MyFrame, self).__init__(parent, title=title) 
 # Set an application icon self.SetIcon(wx.Icon("appIcon.png")) 
 # Set the panel self.panel = wx.Panel(self) class MyApp(wx.App): def OnInit(self): self.frame = MyFrame(None, title="Main Frame") self.frame.Show() return True | |||||||
| 
 Так же в этом разделе:
  
 | |||||||
|   | |||||||
| 
 | |||||||
| 
 |