def METHOD_NAME(self, event):
    time.sleep(0.05)
    now = time.time()
    if now - self.last_layout_send > 1:
        self.last_layout_send = now
        self.state.child_pipe_send.send(win_layout.get_wx_window_layout(self))