Next: OpenGL, Up: Window Management [Contents][Index]
Create a new window named title with dimensions size located
at position on the display. position and size are
two-element lists in the form (x y)
, where each coordinate is
measured in pixels. In the case of position, a coordinate may use
the special symbol center to indicate that the window should be
centered on that axis, or #f
to indicate that it does not matter
where the window is located on that axis.
Close window.
Call proc with window, an SDL window object, and close it when proc returns or otherwise exits.
Return the title for window.
Return the dimensions of window.
Return the position of window on the display.
Return the numeric ID of window.
Return the window corresponding to ID, a positive integer, or
#f
if there is no such window.
Hide window.
Show window and focus on it.
Make window as large as possible.
Shrink window to an iconic representation.
Raise window above all other windows and set input focus.
Restore the size and position of a minimized or maximized window.
When border?, draw the usual border around window, otherwise remove the border.
Set the title of window to the string title.
Set the position of window to position, a two-element list of (x,y) coordinates measured in pixels.
Set the dimensions of window to size, a two-element list of (width,height) coordinates measured in pixels.
Toggle fullscreen mode on/off for window. If fullscreen?, fullscreen mode is activated, otherwise it is deactivated. If fullscreen? and desktop?, a special "fake" fullscreen mode is used that takes the size of the desktop.
Next: OpenGL, Up: Window Management [Contents][Index]