예제 #1
0
class RecordBox(ScrolledWindow, HasRecordBox):
    def __init__(self, data, name='RecordBox'):
        ScrolledWindow.__init__(self)
        self.set_name(name)
        self.vbox = VBox()
        self.add_with_viewport(self.vbox)
        HasRecordBox.__init__(self, self.vbox, data, name=name)
        self.vbox.show()
        self.show()
        self.vbox.set_events(BUTTON_PRESS_MASK)
예제 #2
0
class RecordBox(ScrolledWindow, HasRecordBox):
    def __init__(self, data, name='RecordBox'):
        ScrolledWindow.__init__(self)
        self.set_name(name)
        self.vbox = VBox()
        self.add_with_viewport(self.vbox)
        HasRecordBox.__init__(self, self.vbox, data, name=name)
        self.vbox.show()
        self.show()
        self.vbox.set_events(BUTTON_PRESS_MASK)