screen_create_group()

Creates a new group. You can create a new group in order to organize application windows.

Synopsis:

#include <screen/screen.h>

int screen_create_group(screen_group_t *pgrp, screen_context_t ctx);

Arguments:

*pgrp
The handle of the screen_group_t instance.
ctx
A connection to screen (acquired with screen_create_context()).

Library

screen

Description

Creates a window group given a group object and a context. The context is shared by all windows in this group. You can query and set properties based on the group type. These properties, such as idle time and keyboard focus, are then applied across each window in the group.

Returns

0
The function succeeded and the group was created.
-1
An error occurred (errno is set).

Classification

QNX Screen

Safety Value
Interrupt handler No
Signal handler No
Thread Yes