chickadee » sdl2 » create-window!

create-window! title x y w h #!optional flagsprocedure

See SDL_CreateWindow.

x and y can be integers, the symbol 'centered, or the symbol 'undefined.

flags defaults to '(). It must be a list of zero or more window flag symbols (or an equivalent integer bitfield):

  • 'fullscreen
  • 'fullscreen-desktop
  • 'opengl
  • 'shown
  • 'hidden
  • 'borderless
  • 'resizable
  • 'minimized
  • 'maximized
  • 'input-grabbed
  • 'input-focus
  • 'mouse-focus
  • 'foreign
  • 'allow-high-dpi (requires sdl2 egg 0.2.0 and SDL 2.0.1 or higher)
  • 'mouse-capture (requires sdl2 egg 0.2.0 and SDL 2.0.4 or higher)