screen_create_window_type()

Create a new window of a specified type.

Synopsis:

#include <screen/screen.h>
 
int screen_create_window_type(screen_window_t *pwin,
                              screen_context_t ctx,
                              int type)

Since:

BlackBerry 10.0.0

Arguments:

pwin

An address where the function can store the handle to the newly created native window.

ctx

The connection to the composition manager to be used to create the window. This context must have been created with screen_create_context().

type

The type of window to be created. type must be of type Screen_Window_Types.

Library:

libscreen (For the qcc command, use the -l screen option to link against this library)

Description:

Function Type: Immediate Execution

This function creates a window object of the specified type.

Returns:

0 if a new window type was created, or -1 if an error occurred (errno is set).

Last modified: 2014-11-17



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus