def __init__(self, name='TwinCList'): HPaned.__init__(self) self.set_name(name) self.Lbox = ListBox([], name='%s-left' % name, columns=[]) self.Rbox = ListBox([], name='%s-right' % name, columns=[]) self.add1(self.Lbox) self.add2(self.Rbox) self.show()
def __init__(self, name='TwinCList'): HPaned.__init__(self) self.set_name(name) self.Lbox = ListBox([], name='%s-left' %name, columns=[]) self.Rbox = ListBox([], name='%s-right' %name, columns=[]) self.add1(self.Lbox) self.add2(self.Rbox) self.show()
def __init__(self, name='TwinScrollCList'): HPaned.__init__(self) self.set_name(name) self.lbox = ScrollCList() self.rbox = ScrollCList() self.add1(self.lbox) self.add2(self.rbox) self.show()
def __init__(self, name='_LeftListView'): HPaned.__init__(self) self.set_name(name) self.scroll = ScrolledWindow() self.add1(self.scroll) self.scroll.show() if hasattr(self, 'menu'): HasListbox.__init__(self, self.scroll, rcmenu=self.menu) else: HasListbox.__init__(self, self.scroll) self.set_size_request(300, 200) self.set_position(140) self.show()
def __init__(self, name='_LeftListView'): HPaned.__init__(self) self.set_name(name) self.scroll = ScrolledWindow() self.add1(self.scroll) self.scroll.show() if hasattr(self, 'menu'): HasListbox.__init__(self, self.scroll, rcmenu=self.menu) else: HasListbox.__init__(self, self.scroll) self.set_size_request(300,200) self.set_position(140) self.show()