Create a new window of a specified type
#include <screen/screen.h>
int screen_create_window_type(screen_window_t *pwin, screen_context_t ctx, int type)
Function Type: Immediate Execution
This function creates a window object of the specified type. If a class named "default" is defined in the configuration file its properties will be applied to the window at creation time.
0 if successful, or -1 if an error occurred (errno is set; refer to errno.h for more details).