Module Import alias Import alias ImportFrom alias Import alias If CompareEq AttributeLoad NameLoad attr Str body ImportFrom alias ImportFrom alias orelse If CompareEq AttributeLoad NameLoad attr Str body ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad AttributeLoad NameLoad attr attr body FunctionDef arguments args NameParam NameParam NameParam defaults body If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num For NameStore ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Num Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Num body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Break handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr body Pass If UnaryOpNot NameLoad body Raise Call AttributeLoad AttributeLoad NameLoad attr attr Str If UnaryOpNot Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call NameLoad Num Num NameLoad NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad Expr Call NameLoad Num NameLoad Num NameLoad Num Num Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Raise Call NameLoad Str decorator_list decorator_list Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str ClassDef bases AttributeLoad NameLoad attr NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num NameLoad NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num NameLoad NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Return If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Return If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore NameLoad orelse If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore NameLoad orelse Assert NameLoad ClassDef bases NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Num keyword Str keyword Str FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr BinOpMod Str Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign AttributeStore AttributeLoad NameLoad attr attr BinOpFloorDiv NameLoad Num Assign AttributeStore AttributeLoad NameLoad attr attr BinOpFloorDiv NameLoad Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Num NameLoad keyword TupleLoad Num Num Assign NameStore Call NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad Call NameLoad keyword NameLoad attr
N/A N/A wx N/A pyglet pyglet.gl * N/A sys N/A N/A N/A sys platform win32 N/A pyglet.window.win32 _user32 pyglet.gl wgl N/A N/A N/A N/A sys platform linux2 N/A pyglet.image.codecs.gdkpixbuf2 gdk pyglet.gl glx AbstractCanvas N/A N/A N/A pyglet event EventDispatcher N/A __init__ N/A N/A self context config N/A N/A N/A N/A config N/A N/A platform N/A N/A N/A pyglet window get_platform N/A display N/A N/A platform get_default_display N/A screen N/A N/A N/A display get_screens N/A 0 N/A template_config N/A N/A N/A N/A pyglet gl Config double_buffer True depth_size 24 N/A N/A N/A pyglet gl Config double_buffer True depth_size 16 N/A N/A N/A N/A config N/A N/A screen get_best_config template_config N/A N/A N/A N/A N/A N/A pyglet window NoSuchConfigException N/A N/A N/A N/A config N/A N/A N/A N/A N/A pyglet window NoSuchConfigException No standard config is available. N/A N/A N/A N/A config is_complete N/A N/A config N/A N/A screen get_best_config config N/A N/A context N/A N/A context N/A N/A config create_context N/A N/A pyglet gl current_context N/A N/A self _display display N/A N/A self _screen screen N/A N/A self _config config N/A N/A self _context context N/A on_resize N/A N/A self width height N/A N/A N/A N/A N/A self switch_to N/A N/A glViewport 0 0 width height N/A N/A glMatrixMode GL_PROJECTION N/A N/A glLoadIdentity N/A N/A glOrtho 0 width 0 height -1 1 N/A N/A glMatrixMode GL_MODELVIEW N/A switch_to N/A N/A self N/A N/A N/A N/A N/A self _switch_to_impl N/A N/A N/A N/A self _context set_current N/A N/A N/A N/A N/A pyglet gl gl_info set_active_context N/A N/A N/A N/A N/A pyglet gl glu_info set_active_context N/A _switch_to_impl N/A N/A self N/A N/A N/A N/A NotImplementedError abstract N/A flip N/A N/A self N/A N/A N/A N/A NotImplementedError abstract N/A N/A N/A N/A N/A AbstractCanvas register_event_type on_draw N/A N/A N/A AbstractCanvas register_event_type on_resize AbstractWxCanvas N/A N/A wx Panel AbstractCanvas N/A __init__ N/A N/A self parent id config context N/A -1 None None N/A N/A N/A N/A N/A wx Window __init__ self parent id style N/A wx FULL_REPAINT_ON_RESIZE N/A N/A N/A AbstractCanvas __init__ self config context N/A N/A N/A self Bind N/A wx EVT_PAINT N/A self _OnPaint N/A N/A N/A self Bind N/A wx EVT_SIZE N/A self _OnSize N/A N/A N/A self Bind N/A wx EVT_ERASE_BACKGROUND N/A self _OnEraseBackground N/A _OnPaint N/A N/A self event N/A N/A N/A N/A N/A wx PaintDC self N/A N/A N/A self dispatch_event on_draw N/A N/A N/A self flip N/A _OnEraseBackground N/A N/A self event N/A N/A N/A N/A _OnSize N/A N/A self event N/A N/A N/A N/A width height N/A N/A self GetClientSize N/A N/A N/A self dispatch_event on_resize width height N/A N/A Win32WxCanvas N/A AbstractWxCanvas N/A __init__ N/A N/A self parent id config context N/A -1 None None N/A N/A N/A N/A N/A super Win32WxCanvas self __init__ parent id config context N/A N/A self _hwnd N/A N/A self GetHandle N/A N/A self _dc N/A N/A _user32 GetDC N/A self _hwnd N/A N/A N/A N/A self _context _set_window self N/A N/A self _wgl_context N/A N/A self _context _context N/A N/A N/A self switch_to N/A _switch_to_impl N/A N/A self N/A N/A N/A N/A N/A wgl wglMakeCurrent N/A self _dc N/A self _wgl_context N/A flip N/A N/A self N/A N/A N/A N/A N/A wgl wglSwapLayerBuffers N/A self _dc N/A wgl WGL_SWAP_MAIN_PLANE N/A N/A GTKWxCanvas N/A AbstractWxCanvas N/A N/A _window None __init__ N/A N/A self parent id config context N/A -1 None None N/A N/A N/A N/A N/A super GTKWxCanvas self __init__ parent id config context N/A N/A self _glx_context N/A N/A self _context _context N/A N/A self _x_display N/A N/A self _config _display N/A N/A self _x_screen_id N/A N/A self _screen _x_screen_id N/A N/A self _glx_1_3 False N/A _OnPaint N/A N/A self event N/A N/A N/A N/A N/A self _window N/A N/A N/A self _window N/A N/A self GetHandle N/A gdk_window N/A N/A gdk gdk_window_lookup N/A self _window N/A N/A self _glx_1_3 N/A N/A N/A self _glx_window N/A N/A glx glXCreateWindow N/A self _x_display N/A N/A self _config _fbconfig N/A self _window None N/A N/A N/A self switch_to N/A N/A N/A N/A super GTKWxCanvas self _OnPaint event N/A _switch_to_impl N/A N/A self N/A N/A N/A N/A N/A self _window N/A N/A N/A N/A self _glx_1_3 N/A N/A N/A N/A glx glXMakeContextCurrent N/A self _x_display N/A self _glx_window N/A self _glx_window N/A self _glx_context N/A N/A N/A N/A glx glXMakeCurrent N/A self _x_display N/A self _window N/A self _glx_context N/A flip N/A N/A self N/A N/A N/A N/A N/A self _window N/A N/A N/A N/A self _glx_1_3 N/A N/A N/A N/A glx glXSwapBuffers N/A self _x_display N/A self _glx_window N/A N/A N/A N/A glx glXSwapBuffers N/A self _x_display N/A self _window N/A N/A N/A N/A N/A sys platform win32 N/A N/A WxCanvas Win32WxCanvas N/A N/A N/A N/A sys platform linux2 N/A N/A WxCanvas GTKWxCanvas N/A N/A False TestCanvas N/A WxCanvas N/A N/A label N/A N/A N/A pyglet text Label Hello, world font_size 48 anchor_x center anchor_y center on_draw N/A N/A self N/A N/A N/A N/A width height N/A N/A self GetClientSize N/A N/A glClear GL_COLOR_BUFFER_BIT N/A N/A N/A self label text N/A OpenGL %s N/A N/A N/A N/A pyglet gl gl_info get_version N/A N/A N/A self label x N/A width 2 N/A N/A N/A self label y N/A height 2 N/A N/A N/A N/A self label draw N/A N/A TestFrame N/A N/A wx Frame N/A __init__ N/A N/A self parent title N/A N/A N/A N/A N/A N/A wx Frame __init__ self parent -1 title size N/A 640 480 N/A canvas N/A TestCanvas self N/A N/A TestApp N/A N/A wx App N/A OnInit N/A N/A self N/A N/A N/A frame N/A TestFrame None Test wxPython + pyglet N/A N/A N/A self SetTopWindow frame N/A N/A N/A frame Show True N/A True N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A N/A TestApp redirect False MainLoop