def write_to_widget(self, representation, original=False): if representation == ambiguous: iter = self.list_store.get_iter_first() else: iter = self.list_store.get_iter(representation) self.list_selection.select_iter(iter) Edit.write_to_widget(self, representation, original)
def write_to_widget(self, representation, original=False): if representation == ambiguous: iter = self.list_store.get_iter_first() else: iter = self.list_store.get_iter(representation) self.list_selection.select_iter(iter) Edit.write_to_widget(self, representation, original)
def write_to_widget(self, representation, original=False): if representation == ambiguous: iter = self.combo_model.get_iter_first() else: iter = self.combo_model.get_iter(representation) self.combo_box.set_active_iter(iter) Edit.write_to_widget(self, representation, original)
def write_to_widget(self, representation, original=False): if representation == ambiguous: iter = self.combo_model.get_iter_first() else: iter = self.combo_model.get_iter(representation) self.combo_box.set_active_iter(iter) Edit.write_to_widget(self, representation, original)
def write_to_widget(self, representation, original=False): if representation == ambiguous: self.check_button.set_active(False) self.check_button.set_inconsistent(True) else: self.check_button.set_inconsistent(False) self.check_button.set_active(representation) Edit.write_to_widget(self, representation, original)
def write_to_widget(self, representation, original=False): self.color_button.remove(self.color_button.get_child()) if representation == ambiguous: self.color_button.add(self.ambiguous_label) else: self.color_button.add(self.color_child) self.color_button.set_color(gtk.gdk.Color(*representation)) Edit.write_to_widget(self, representation, original)
def write_to_widget(self, representation, original=False): if representation == ambiguous: self.check_button.set_active(False) self.check_button.set_inconsistent(True) else: self.check_button.set_inconsistent(False) self.check_button.set_active(representation) Edit.write_to_widget(self, representation, original)
def write_to_widget(self, representation, original=False): self.color_button.remove(self.color_button.get_child()) if representation == ambiguous: self.color_button.add(self.ambiguous_label) else: self.color_button.add(self.color_child) self.color_button.set_color(gtk.gdk.Color(*representation)) Edit.write_to_widget(self, representation, original)
def write_to_widget(self, representation, original=False): self.number = None self.bu_former = None for bu in self.buttons.itervalues(): bu.set_active(False) button = self.buttons.get(representation) if button is not None: self.bu_former = button button.set_active(True) else: self.number = ambiguous Edit.write_to_widget(self, representation, original)
def write_to_widget(self, representation, original=False): self.number = None self.bu_former = None for bu in self.buttons.itervalues(): bu.set_active(False) button = self.buttons.get(representation) if button is not None: self.bu_former = button button.set_active(True) else: self.number = ambiguous Edit.write_to_widget(self, representation, original)
def write_to_widget(self, representation, original=False): TextViewMixin.write_to_widget(self, representation) Edit.write_to_widget(self, representation, original)
def write_to_widget(self, representation, original=False): TextViewMixin.write_to_widget(self, representation) Edit.write_to_widget(self, representation, original)