Interface Window
access this type via: ui.Window (provides, requires or uses)
This API allows the programmer to create new graphical windows on the screen.
Functions
Window(char title[])
void setVisible(bool b)
void setResizable(bool b)
void setFullScreen(bool b)
void setTitle(char title[])
void close()
void waitForClose()
Window(char title[])
Instantiate a new window with the given title.
void setVisible(bool b)
Make the window visible / invisible.
void setResizable(bool b)
Make the window user-resizable or not.
void setFullScreen(bool b)
Place the window in full-screen mode, or in windowed mode.
void setTitle(char title[])
Set the title of the window.
Set the icon used to represent the window, if the operating system supports this.
Get the current location of this window, relative to the top-left corner of the screen.
void close()
Close the window (no further operations can be called on the window once this is done).
void waitForClose()
This utility function can be used to block the caller until the window is closed.