ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/ns_dev/Python/NinoCode/Tool_Box/GUI_Base.py
Revision: 8
Committed: Sat May 5 04:21:19 2012 UTC (13 years, 10 months ago) by ninoborges
Content type: text/x-python
Original Path: Python/NinoCode/Active_prgs/GUI_Base.py
File size: 535 byte(s)
Log Message:
Initial Import

File Contents

# User Rev Content
1 ninoborges 8 """
2     Created by Emanuel Borges
3     <DATE HERE>
4    
5     """
6    
7    
8     import sys, os, wx
9    
10    
11    
12     class MyFrame(wx.Frame):
13     def __init__(self, parent, ID, title, pos=wx.DefaultPosition):
14     wx.Frame.__init__(self, parent, ID, title, pos)
15     #db = ConcordanceConnection()
16    
17    
18     class MyApp(wx.App):
19     def OnInit(self):
20     self.frame = MyFrame(None, -1, "Something")
21     self.frame.Show(True)
22     self.SetTopWindow(self.frame)
23     return True
24    
25    
26     if __name__ == '__main__':
27     app = MyApp(0)
28     app.MainLoop()