screen_create_window()
Graphics and Screen4.0 (8.x)Screen Graphics Subsystem Developer's GuideAPIProgrammingUtilities
Create a window that can be used to make graphical content visible on a display
Synopsis:
#include <screen/screen.h>
int screen_create_window(screen_window_t *pwin,
screen_context_t ctx)
Arguments:
- pwin
- An address where the function can store the handle to the newly created native window.
- ctx
- The connection to Screen. This context must have been created with screen_create_context().
Library:
libscreenDescription:
Function Type: Immediate Execution
This function creates a window object. It is equivalent to calling screen_create_window_type() with type
as SCREEN_APPLICATION_WINDOW.
Returns:
0
if successful, or -1
if an error occurred (errno
is set; refer to errno.h
for more details).
Page updated: