def __init__(self, parent_view): Listener.__init__(self, parent_view) GUIObject.__init__(self) HideableObject.__init__(self) self.parent_view = parent_view self.mainwindow = parent_view.mainwindow self.document = self.mainwindow.document self.app = self.document.app
def __init__(self, document, listento=None): if listento is None: listento = document Listener.__init__(self, listento) GUIObject.__init__(self) #: Parent :class:`document <.Document>`. self.document = document #: Parent :class:`app <.Application>`. self.app = document.app
def __init__(self, app): Listener.__init__(self, app) self.app = app
def __init__(self, document): Listener.__init__(self, document) GUIObject.__init__(self) self.document = document self.app = document.app
def __init__(self, app): Listener.__init__(self, app) GUIObjectBase.__init__(self) self.app = app self.connect()