Module Expr Str Assign NameStore Str Assign NameStore Str Import alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Num FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore ListLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr If CompareEq NameLoad AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr BinOpMod BinOpAdd AttributeLoad NameLoad attr Num Call NameLoad NameLoad orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr BinOpMod BinOpSub AttributeLoad NameLoad attr Num Call NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Print BinOpMod Str SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr TupleLoad Num Num Assign AttributeStore NameLoad attr NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad While UnaryOpNot AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A Test that mouse cursor can be set to a platform-dependent image.

Expected behaviour:
    One window will be opened.  Press the left and right arrow keys to cycle
    through the system mouse cursors.  The current cursor selected will
    be printed to the terminal.

    Note that not all cursors are unique on each platform; for example,
    if a platform doesn't define a cursor for a given name, a suitable
    replacement (e.g., a plain arrow) will be used instead.

    Close the window or press ESC to end the test.
 N/A __docformat__ restructuredtext N/A __version__ $Id: WINDOW_SET_MOUSE_VISIBLE.py 703 2007-02-28 14:18:00Z Alex.Holkner $ N/A unittest pyglet window pyglet.window key pyglet.gl * WINDOW_SET_MOUSE_PLATFORM_CURSOR N/A N/A unittest TestCase N/A N/A i 0 on_key_press N/A N/A self symbol modifiers N/A N/A N/A names N/A N/A N/A self w CURSOR_DEFAULT N/A N/A self w CURSOR_CROSSHAIR N/A N/A self w CURSOR_HAND N/A N/A self w CURSOR_HELP N/A N/A self w CURSOR_NO N/A N/A self w CURSOR_SIZE N/A N/A self w CURSOR_SIZE_UP N/A N/A self w CURSOR_SIZE_UP_RIGHT N/A N/A self w CURSOR_SIZE_RIGHT N/A N/A self w CURSOR_SIZE_DOWN_RIGHT N/A N/A self w CURSOR_SIZE_DOWN N/A N/A self w CURSOR_SIZE_DOWN_LEFT N/A N/A self w CURSOR_SIZE_LEFT N/A N/A self w CURSOR_SIZE_UP_LEFT N/A N/A self w CURSOR_SIZE_UP_DOWN N/A N/A self w CURSOR_SIZE_LEFT_RIGHT N/A N/A self w CURSOR_TEXT N/A N/A self w CURSOR_WAIT N/A N/A self w CURSOR_WAIT_ARROW N/A N/A symbol N/A key ESCAPE N/A N/A N/A N/A N/A self w on_close N/A N/A symbol N/A key RIGHT N/A N/A N/A self i N/A N/A N/A self i 1 N/A len names N/A N/A N/A symbol N/A key LEFT N/A N/A N/A self i N/A N/A N/A self i 1 N/A len names N/A cursor N/A N/A N/A self w get_system_mouse_cursor N/A names N/A N/A self i N/A N/A N/A N/A self w set_mouse_cursor cursor N/A N/A Set cursor to "%s" N/A names N/A N/A self i N/A True N/A test_set_visible N/A N/A self N/A N/A N/A N/A N/A self width N/A self height N/A 200 200 N/A N/A self w w N/A N/A window Window N/A self width N/A self height N/A N/A N/A w push_handlers self N/A N/A N/A w has_exit N/A N/A N/A glClear GL_COLOR_BUFFER_BIT N/A N/A N/A w dispatch_events N/A N/A N/A w flip N/A N/A N/A w close N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main