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:

You can use groups in order to organize application windows.

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.

Returns:

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