Module Expr Str Assign NameStore Str Assign NameStore Str Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore UnaryOpNot BinOpBitAnd NameLoad AttributeLoad NameLoad attr Assign NameStore BoolOpOr BoolOpAnd NameLoad Str Str If CompareEq NameLoad AttributeLoad NameLoad attr body Print BinOpMod Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore TupleLoad Num Num orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore TupleLoad Num Num orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore TupleLoad Num Num orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore TupleLoad Num Num orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore TupleLoad Num Num orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore TupleLoad Num Num orelse Return Print BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad Num Num Num Num Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameStore Call AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr TryExcept body While UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A Test that window can be set to and from various fullscreen sizes.

Expected behaviour:
    One window will be opened.  Press a number to switch to the corresponding
    fullscreen size; hold control and press a number to switch back
    to the corresponding window size:

        0 - Default size
        1 - 320x200
        2 - 640x480
        3 - 800x600
        4 - 1024x768
        5 - 1280x800 (widescreen)
        6 - 1280x1024

    In all cases the window bounds will be indicated by a green rectangle
    which should be completely visible.

    All events will be printed to the terminal.

    Press ESC to end the test.
     
 N/A __docformat__ restructuredtext N/A __version__ $Id: $ N/A unittest pyglet window pyglet.window.event WindowEventLogger pyglet.window key pyglet.gl * N/A window_util WINDOW_SET_FULLSCREEN N/A N/A unittest TestCase N/A on_key_press N/A N/A self symbol modifiers N/A N/A N/A fullscreen N/A N/A modifiers N/A key MOD_CTRL N/A doing N/A N/A fullscreen Setting Restoring from N/A N/A symbol N/A key _0 N/A N/A N/A %s default size doing N/A N/A N/A N/A self w set_fullscreen fullscreen N/A N/A N/A N/A symbol N/A key _1 N/A N/A N/A width height N/A 320 200 N/A N/A N/A symbol N/A key _2 N/A N/A N/A width height N/A 640 480 N/A N/A N/A symbol N/A key _3 N/A N/A N/A width height N/A 800 600 N/A N/A N/A symbol N/A key _4 N/A N/A N/A width height N/A 1024 768 N/A N/A N/A symbol N/A key _5 N/A N/A N/A width height N/A 1280 800 N/A N/A N/A symbol N/A key _6 N/A N/A N/A width height N/A 1280 1024 N/A N/A N/A N/A %s width=%d, height=%d N/A doing width height N/A N/A N/A N/A self w set_fullscreen fullscreen width width height height N/A on_expose N/A N/A self N/A N/A N/A N/A glClearColor 1 0 0 1 N/A N/A glClear GL_COLOR_BUFFER_BIT N/A N/A N/A window_util draw_client_border N/A self w N/A N/A N/A N/A self w flip N/A test_set_fullscreen N/A N/A self N/A N/A N/A N/A self w w N/A N/A window Window 200 200 N/A N/A N/A w push_handlers self N/A N/A N/A w push_handlers N/A WindowEventLogger N/A N/A N/A self on_expose N/A N/A N/A N/A N/A w has_exit N/A N/A N/A N/A w dispatch_events N/A N/A N/A w close N/A N/A N/A SystemExit N/A N/A N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main