Screen window types

Types of windows that can be created.

Synopsis:

#include <screen/screen.h>
 
enum {
      SCREEN_APPLICATION_WINDOW = 0   
      SCREEN_CHILD_WINDOW = 1   
      SCREEN_EMBEDDED_WINDOW = 2   
};

Since:

BlackBerry 10.0.0

Data:

SCREEN_APPLICATION_WINDOW
A window type used to display the main application.

The X and Y coordinates are always relative to the dimensions of the display.

SCREEN_CHILD_WINDOW
A window type commonly used to display a dialog.

You must add a child window to an application's window group; otherwise the child window is invisible. A child window's display properties are relative to the application window to which it belongs. For example, the X and Y coordinates of the child window are all relative to the top left corner of the application window. This window type has its property, SCREEN_PROPERTY_FLOATING, defaulted to indicate that the window is floating.

SCREEN_EMBEDDED_WINDOW
A window type used to embed a window control within an object.

Like the child window, the X and Y coordinates of the embedded window are all relative to the top left corner of the application window. You must add an embedded window to an application's window group, otherwise the embedded window is invisible. This window type has its property, SCREEN_PROPERTY_FLOATING, defaulted to indicate that the window is non-floating.

Library:

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

Description:

Last modified: 2014-05-14



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

comments powered by Disqus