예제 #1
0
	def add_page(self,index):
		new_tab=fxexperiment_tab()
		new_tab.init(index)
		new_tab.close_button.connect("clicked", self.callback_view_toggle_tab,new_tab.tab_name)

		self.notebook.append_page(new_tab,new_tab.title_hbox)
		self.notebook.set_tab_reorderable(new_tab,True)
예제 #2
0
 def add_page(self, index):
     tab = fxexperiment_tab()
     tab.init(index)
     self.notebook.addTab(tab, tab.tab_name.split("@")[0])
예제 #3
0
 def add_page(self, filename):
     name = inp_get_token_value(filename, "#sim_menu_name")
     tab = fxexperiment_tab()
     print(filename[2:-4], filename)
     tab.init(int(filename[2:-4]))
     self.notebook.addTab(tab, name.split("@")[0])
예제 #4
0
	def add_page(self,index):
		tab=fxexperiment_tab()
		tab.init(index)
		self.notebook.addTab(tab,tab.tab_name.split("@")[0])