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 2 values for the dimensions of window.
Return 2 values for the minimal dimensions that window can be. Note that SDL does not always enforce this restriction, so you might end up with a window size that is actually smaller than the value returned by this procedure.
Return 2 values for the maximum dimensions that window can be.
Return 2 values for 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 (x, y).
Set the dimensions of window to width x height pixels.
Set the minimum dimensions of window to width x height pixels.
Set the maximum dimensions of window to width x height pixels.
If resizable is #t
, allow window to be resized,
otherwise disable resizing.
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]