Untitled

 avatar
unknown
plain_text
2 years ago
303 B
4
Indexable
class ChildWindow():
    def closeEvent(self):
        print('closed')

class MainWindow():
    def __init__(self):
        self.child = ChildEvent()

    # when ChildWindow is closing method child_window_is_closed need to called
    def child_window_is_closed(self):
        print("window now closed")
Editor is loading...