screen_create_group()

Create a window group.

Synopsis:

#include <screen/screen.h>
 
int screen_create_group(screen_group_t *pgrp,
                        screen_context_t ctx)

Arguments:

pgrp

The handle of the group.

ctx

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

Library:

libscreen

Description:

Function Type: Immediate Execution

This function creates a window group given a group object and a context. The context is shared by all windows in this group. You can use groups in order to organize your application windows.

Returns:

0 if a new window group was created, or -1 if an error occurred (errno is set; refer to /usr/include/errno.h for more details).