예제 #1
0
 def setBuffer(self, buffer):
     """Convenience function overriding BufferFrame.setBuffer to open an
     existing document in a new frame.
     
     This may be a temporary solution -- actions that set osx_minimal_menu
     may find that this leads to unexpected consequences if they are
     expecting all methods of BufferFrame to have this implicit behavior.
     """
     frame = BufferFrame(['about:blank'])
     wx.CallAfter(frame.setBuffer, buffer)
예제 #2
0
 def titleBuffer(self):
     BufferFrame.open(self, "about:osx_menu")
     # Mac menu bar will remain visible after being hidden
     wx.CallAfter(self.Show, False)
예제 #3
0
 def titleBuffer(self):
     BufferFrame.open(self, "about:osx_menu")
예제 #4
0
 def titleBuffer(self):
     BufferFrame.open(self, "about:osx_menu")
예제 #5
0
 def titleBuffer(self):
     BufferFrame.open(self, "about:osx_menu")
     # Mac menu bar will remain visible after being hidden
     wx.CallAfter(self.Show, False)