def product_hub_clicked(self, menuitem): model, path = self.get_object('treeview-selection').get_selected_rows() if path == []: return product_id = model[path][0] import product_hub product_hub.ProductHubGUI(product_id)
def product_hub_activated (self, menuitem): selection = self.get_object('product_selection') model, path = selection.get_selected_rows() if path == []: return product_id = model[path][2] import product_hub product_hub.ProductHubGUI(product_id)
def product_hub_activated(self, menuitem): selection = self.builder.get_object('treeview-selection1') model, path = selection.get_selected_rows() if path == []: return id_ = model[path][0] import product_hub product_hub.ProductHubGUI(self.main, id_)
def product_hub_clicked (self, button): product_hub.ProductHubGUI(self.main_class, self.product_id)
def product_hub_activated(self, menuitem): import product_hub product_hub.ProductHubGUI(self.main, self.product_hub_id)
def product_hub_clicked(self, button): import product_hub product_hub.ProductHubGUI(self.product_id)