예제 #1
0
 def load(self):
     '''
     Loads in all elements of the Gui
     
     This includes all windows, menus and widgets
     '''
     
     #Load up all possible windows
     self.manage_sets = ManageSets(self.root, self.q_in, self.q_out, self.gui_q)
     self.selected_set = None
     self.config_window = ConfigurationWindow(self.root, self.q_in, self.q_out, self.gui_q)
     self.wizard = Wizard(self.root, self.q_in, self.q_out, self.gui_q)
     self.advanced_settings = AdvancedSettings(self.root, self.q_in, self.q_out, self.gui_q)
     
     #Create all menus for application
     self._createMenus(self.root)
     
     #Pack the widgets and create the GUI
     self.pack()
     self.createWidgets()
     
     #msg = fetch_from_queue(self.q_in)
     self.tkloop()
     
     #Start up the Gui Listener
     self.t1.start()
     
     #Set the root's icon for the title bar
     self.root.wm_iconbitmap("resources/gado.ico")
     
     #Start up the main Gui loop
     self.root.mainloop()