def frame(): """ Show and update the menu """ # Gui gui.update(window.get_window()) gui.draw_all() # Fps fps.draw()
def init_events(): """ Initialize the events module """ events.set_window(window.get_window()) events.connect(EVENT_RESIZED, graph.set_right_bottom)