예제 #1
0
def frame():
    """ Show and update the menu """
    # Gui
    gui.update(window.get_window())
    gui.draw_all()
    # Fps
    fps.draw()
예제 #2
0
파일: client.py 프로젝트: zn01wr/Librecraft
def init_events():
    """ Initialize the events module """
    events.set_window(window.get_window())
    events.connect(EVENT_RESIZED, graph.set_right_bottom)