GtkWindowGroup

## GtkWindowGroup GtkWindowGroup — Limit the effect of grabs |

## Synopsis

    #include <gtk/gtk.h>

                GtkWindowGroup;
    GtkWindowGroup* gtk_window_group_new        (void);
    void        gtk_window_group_add_window     (GtkWindowGroup *window_group,
                                                 GtkWindow *window);
    void        gtk_window_group_remove_window  (GtkWindowGroup *window_group,
                                                 GtkWindow *window);

## Object Hierarchy

      GObject
       +----GtkWindowGroup

## Description

## Details

### GtkWindowGroup

    typedef struct _GtkWindowGroup GtkWindowGroup;

### gtk_window_group_new ()

    GtkWindowGroup* gtk_window_group_new        (void);

Creates a new GtkWindowGroup object. Grabs added with `gtk_grab_add()` only affect windows within the same GtkWindowGroup.

Returns : | a new GtkWindowGroup.

### gtk_window_group_add_window ()

    void        gtk_window_group_add_window     (GtkWindowGroup *window_group,
                                                 GtkWindow *window);

Adds a window to a GtkWindowGroup.

`window_group` : | a GtkWindowGroup
`window` : | the GtkWindow to add

### gtk_window_group_remove_window ()

    void        gtk_window_group_remove_window  (GtkWindowGroup *window_group,
                                                 GtkWindow *window);

Removes a window from a GtkWindowGroup.

`window_group` : | a GtkWindowGroup
`window` : | the GtkWindow to remove