screen_destroy_group()

Destroy a window group.

Synopsis:

#include <screen/screen.h>
 
int screen_destroy_group(screen_group_t grp)

Arguments:

grp

The window group to be destroyed. The group must have been created with screen_create_group().

Library:

libscreen

Description:

Function Type: Flushing Execution

This function destroys a window group given a screen_group_t instance. When a window group is destroyed, all windows that belonged to the group are no longer associated with the group. You must destroy each screen_group_t after it is no longer needed.

Returns:

0 if the window group was destroyed, or -1 if an error occurred (errno is set).