def show_external_product_window(self, model, path): product_id = model[path][0] if self.p_o == None or not self.p_o.window: import products_overview self.p_o = products_overview.ProductsOverviewGUI(product_id) self.p_o.product_id = product_id self.p_o.select_product()
def row_activate(self, treeview, path, treeviewcolumn): treeiter = self.product_location_store.get_iter(path) product_id = self.product_location_store.get_value(treeiter, 9) import products_overview po = products_overview.ProductsOverviewGUI(product_id)
def product_window(self, column): import products_overview products_overview.ProductsOverviewGUI()
def product_overview_clicked(self, button): import products_overview products_overview.ProductsOverviewGUI(self.product_id) self.window.destroy()
def edit_product_clicked(self, button): import products_overview p_gui = products_overview.ProductsOverviewGUI(self.product_id) p_gui.edit_product(self.product_id) self.window.destroy()
def add_product(self, widget): import products_overview po = products_overview.ProductsOverviewGUI() po.get_object('radiobutton3').set_active(True)
def products_activated(self, button): import products_overview products_overview.ProductsOverviewGUI()
def product_window_activated (self, menuitem): import products_overview products_overview.ProductsOverviewGUI()
def product_clicked(self, menuitem): import products_overview products_overview.ProductsOverviewGUI()