Types of windows that can be created.
#include <screen/screen.h>
enum { SCREEN_APPLICATION_WINDOW = 0 SCREEN_CHILD_WINDOW = 1 SCREEN_EMBEDDED_WINDOW = 2 SCREEN_ROOT_WINDOW = 3 };
The X and Y coordinates are always relative to the dimensions of the display.
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.
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.