def create_widgets(self): Group.create_widgets(self) self.data_widget = gtk.HBox() self.data_widget.set_spacing(6) for field in self.fields: if field.get_active(): self.data_widget.pack_start(field.get_widgets_short_container())
def create_widgets(self): Group.create_widgets(self) self.data_widget = gtk.Notebook() for name, field in self.named_fields: if field.get_active(): self.data_widget.append_page( field.get_widgets_short_container(), gtk.Label(name)) field.container.set_border_width(12)
def create_widgets(self): Group.create_widgets(self) self.data_widget = gtk.HBox() self.data_widget.set_spacing(6) for field in self.fields: if field.get_active(): self.data_widget.pack_start( field.get_widgets_short_container())
def create_widgets(self): Group.create_widgets(self) self.data_widget = gtk.Notebook() for name, field in self.named_fields: if field.get_active(): self.data_widget.append_page( field.get_widgets_short_container(), gtk.Label(name) ) field.container.set_border_width(12)
def create_widgets(self): Group.create_widgets(self) TableMixin.create_widgets(self)