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