def __init__(self, label=None): HIGHBox.__init__(self) if label: self.label = HIGEntryLabel(label) self.pack_label(self.label) self.progress_bar = gtk.ProgressBar() self.progress_bar.set_size_request(80, 16) self.pack_label(self.progress_bar) def show(self): HIGHBox.show_all(self)
def __init__(self, label): gtk.Expander.__init__(self) self.set_use_markup(True) self.set_label(label) self.hbox = HIGHBox() self.hbox.set_border_width(5) self.hbox._pack_noexpand_nofill(hig_box_space_holder()) self.add(self.hbox)
class HIGExpander(gtk.Expander): def __init__(self, label): gtk.Expander.__init__(self) self.set_use_markup(True) self.set_label(label) self.hbox = HIGHBox() self.hbox.set_border_width(5) self.hbox._pack_noexpand_nofill(hig_box_space_holder()) self.add(self.hbox) def get_container(self): return self.hbox
def show(self): HIGHBox.show_all(self)