Exemple #1
0
 def __init__(self,
              label_text=None,
              attribute_name=None,
              show_popup=True,
              history_name=None):
     Single.__init__(self, label_text)
     FaultyMixin.__init__(self, attribute_name, show_popup, history_name)
Exemple #2
0
 def create_widgets(self):
     Single.create_widgets(self)
     self.data_widget = self.toggle_button
     self.high_widget = self.slave.high_widget
     self.toggle_button.connect("toggled", self.toggle_button_toggled)
     if isinstance(self.slave, EditMixin):
         self.toggle_button.connect("toggled", self.slave.on_widget_changed)
     if self.slave.label_text is not None:
         label, data_widget, bu_popup = self.slave.get_widgets_separate()
         if label is not None:
             self.toggle_button.add(label)
Exemple #3
0
 def create_widgets(self):
     Single.create_widgets(self)
     self.data_widget = self.toggle_button
     self.high_widget = self.slave.high_widget
     self.toggle_button.connect("toggled", self.toggle_button_toggled)
     if isinstance(self.slave, EditMixin):
         self.toggle_button.connect("toggled", self.slave.on_widget_changed)
     if self.slave.label_text is not None:
         label, data_widget, bu_popup = self.slave.get_widgets_separate()
         if label is not None:
             self.toggle_button.add(label)
Exemple #4
0
 def set_sensitive(self, sensitive):
     FaultyMixin.set_sensitive(self, sensitive)
     Single.set_sensitive(self, sensitive)
Exemple #5
0
 def destroy_widgets(self):
     Single.destroy_widgets(self)
     FaultyMixin.destroy_widgets(self)
Exemple #6
0
 def create_widgets(self):
     Single.create_widgets(self)
     EditMixin.create_widgets(self)
Exemple #7
0
 def init_widgets(self, instance):
     self.slave.init_widgets(instance)
     Single.init_widgets(self, instance)
Exemple #8
0
 def destroy_widgets(self):
     self.slave.destroy_widgets()
     Single.destroy_widgets(self)
Exemple #9
0
 def init_widgets_multiplex(self, instances):
     self.slave.init_widgets_multiplex(instances)
     Single.init_widgets_multiplex(self, instances)
Exemple #10
0
 def __init__(self, label_text=None, attribute_name=None):
     Single.__init__(self, label_text)
     ReadMixin.__init__(self, attribute_name)
Exemple #11
0
 def set_sensitive(self, sensitive):
     FaultyMixin.set_sensitive(self, sensitive)
     Single.set_sensitive(self, sensitive)
Exemple #12
0
 def destroy_widgets(self):
     Single.destroy_widgets(self)
     FaultyMixin.destroy_widgets(self)
Exemple #13
0
 def create_widgets(self):
     Single.create_widgets(self)
     FaultyMixin.create_widgets(self)
Exemple #14
0
 def set_sensitive(self, sensitive):
     EditMixin.set_sensitive(self, sensitive)
     Single.set_sensitive(self, sensitive)
Exemple #15
0
 def destroy_widgets(self):
     Single.destroy_widgets(self)
     EditMixin.destroy_widgets(self)
Exemple #16
0
 def __init__(self, slave):
     Single.__init__(self)
     self.slave = slave
     slave.parent = self
     self.toggle_button = None
Exemple #17
0
 def init_widgets(self, instance):
     self.slave.init_widgets(instance)
     Single.init_widgets(self, instance)
Exemple #18
0
 def create_widgets(self):
     Single.create_widgets(self)
     EditMixin.create_widgets(self)
Exemple #19
0
 def destroy_widgets(self):
     Single.destroy_widgets(self)
     EditMixin.destroy_widgets(self)
Exemple #20
0
 def set_sensitive(self, sensitive):
     EditMixin.set_sensitive(self, sensitive)
     Single.set_sensitive(self, sensitive)
Exemple #21
0
 def __init__(self, slave):
     Single.__init__(self)
     self.slave = slave
     slave.parent = self
     self.toggle_button = None
Exemple #22
0
 def __init__(self, label_text=None, attribute_name=None, show_popup=True, history_name=None):
     Single.__init__(self, label_text)
     FaultyMixin.__init__(self, attribute_name, show_popup, history_name)
Exemple #23
0
 def init_widgets_multiplex(self, instances):
     self.slave.init_widgets_multiplex(instances)
     Single.init_widgets_multiplex(self, instances)
Exemple #24
0
 def create_widgets(self):
     Single.create_widgets(self)
     FaultyMixin.create_widgets(self)
Exemple #25
0
 def destroy_widgets(self):
     self.slave.destroy_widgets()
     Single.destroy_widgets(self)
Exemple #26
0
 def __init__(self, label_text=None, attribute_name=None):
     Single.__init__(self, label_text)
     ReadMixin.__init__(self, attribute_name)