示例#1
0
 def createMainWindow(self):
     if self.gui:
         return
     self.gui = PitiviMainWindow(self)
     self.add_window(self.gui)
     # We might as well show it.
     self.gui.show()
 def setUp(self):
     app = mock.MagicMock()
     self.mainwindow = PitiviMainWindow(app)
示例#3
0
 def _createGui(self):
     # Prevent the main window to go fullscreen because at least
     # the Metacity window manager will refuse to bring
     # the startup wizard window in front of the main window.
     return PitiviMainWindow(self, allow_full_screen=False)
示例#4
0
 def _createGui(self):
     """Returns a Gtk.Widget which represents the UI."""
     return PitiviMainWindow(self)