Exemple #1
0
 def __init__(self, parent, title):
     wx.Frame.__init__(self, parent, title=title, size=(500, 300))
     self.SetIcon(myIcon.getOneNoteIcon())
     self.memo = wx.TextCtrl(self, style=wx.TE_MULTILINE | wx.TE_READONLY)
     self.CreateStatusBar()
     self.taskicon = TaskBarIcon(self)
     self.timer = wx.Timer(self)
     self.Bind(wx.EVT_CLOSE, self.onCloseWindow)
     self.Bind(wx.EVT_ICONIZE, self.onMinimize)
     self.Show(True)
Exemple #2
0
 def __init__(self, parent, title):
     wx.Frame.__init__(self, parent, title=title, size=(500, 300))
     self.SetIcon(myIcon.getOneNoteIcon())
     self.memo = wx.TextCtrl(self, style=wx.TE_MULTILINE | wx.TE_READONLY)
     self.CreateStatusBar()
     self.taskicon = TaskBarIcon(self)
     self.timer = wx.Timer(self)
     self.Bind(wx.EVT_CLOSE, self.onCloseWindow)
     self.Bind(wx.EVT_ICONIZE, self.onMinimize)
     self.Show(True)
Exemple #3
0
 def __init__(self, parent):
     super(TaskBarIcon, self).__init__()
     self.SetIcon(myIcon.getOneNoteIcon(), 'OneNote HTML Server')
     self.Bind(wx.EVT_TASKBAR_LEFT_DOWN, self.show_window)
     self.parent = parent
Exemple #4
0
 def __init__(self, parent):
     super(TaskBarIcon, self).__init__()
     self.SetIcon(myIcon.getOneNoteIcon(), "OneNote HTML Server")
     self.Bind(wx.EVT_TASKBAR_LEFT_DOWN, self.show_window)
     self.parent = parent