# Gtk::WindowGroup Class Reference

Limit the effect of grabs. More...

Inherits Glib::Object.

Collaboration diagram for Gtk::WindowGroup:
[legend]

List of all members.

## Public Member Functions
virtual | ~WindowGroup ()
GtkWindowGroup* | gobj ()
| Provides access to the underlying C GObject.
const GtkWindowGroup* | gobj () const
| Provides access to the underlying C GObject.
GtkWindowGroup* | gobj_copy ()
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
void | add_window (Window& window)
| Adds a window to a Gtk::WindowGroup.
void | remove_window (Window& window)
| Removes a window from a Gtk::WindowGroup.
## Static Public Member Functions
static Glib::RefPtr< WindowGroup > | create ()
## Protected Member Functions
| WindowGroup ()
## Related Functions
(Note that these are not member functions.)
Glib::RefPtr< Gtk::WindowGroup > | wrap (GtkWindowGroup* object, bool take_copy=false)
| A Glib::wrap() method for this object.

## Detailed Description

Limit the effect of grabs.

## Constructor & Destructor Documentation

virtual Gtk::WindowGroup::~WindowGroup | ( |  | ) | `[virtual]`

Gtk::WindowGroup::WindowGroup | ( |  | ) | `[protected]`

## Member Function Documentation

void Gtk::WindowGroup::add_window | ( | Window& | window | ) |

Adds a window to a Gtk::WindowGroup.

Parameters:

  | window | The Gtk::Window to add.

static Glib::RefPtr<WindowGroup> Gtk::WindowGroup::create | ( |  | ) | `[static]`

const GtkWindowGroup* Gtk::WindowGroup::gobj | ( |  | ) | const`[inline]`

Provides access to the underlying C GObject.

Reimplemented from Glib::ObjectBase.

GtkWindowGroup* Gtk::WindowGroup::gobj | ( |  | ) | `[inline]`

Provides access to the underlying C GObject.

Reimplemented from Glib::ObjectBase.

GtkWindowGroup* Gtk::WindowGroup::gobj_copy | ( |  | ) |

Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.

void Gtk::WindowGroup::remove_window | ( | Window& | window | ) |

Removes a window from a Gtk::WindowGroup.

Parameters:

  | window | The Gtk::Window to remove.

## Friends And Related Function Documentation

Glib::RefPtr< Gtk::WindowGroup > wrap | ( | GtkWindowGroup * | object,
|  | bool | take_copy = `false` |
| ) |  |  | `[related]`

A Glib::wrap() method for this object.

Parameters:

  | object | The C instance.
  | take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref.

Returns:
  A C++ instance that wraps this C instance.

The documentation for this class was generated from the following file:

- gtkmm/window.h