Adw.Window
Description: Reference for Adw.Window

### Class

# AdwWindow

#### Description [src]

    class Adw.Window : Gtk.Window {
      parent_instance: GtkWindow
    }

A freeform window.

The `AdwWindow` widget is a subclass of `GtkWindow` which has no titlebar area. It means `GtkHeaderBar` can be used as follows:

    <object class="AdwWindow"/>
      <child>
        <object class="GtkBox">
          <property name="orientation">vertical</property>
          <child>
            <object class="GtkHeaderBar"/>
          </child>
          <child>
            ...
          </child>
        </object>
      </child>
    </object>

Using gtk_window_get_titlebar() and gtk_window_set_titlebar() is not supported and will result in a crash.

Available since: | 1.0

#### Hierarchy

#### Ancestors

- GtkWindow
- GtkWidget
- GInitiallyUnowned
- GObject

#### Implements

- GtkAccessible
- GtkBuildable
- GtkConstraintTarget
- GtkNative
- GtkRoot
- GtkShortcutManager

#### Constructors

###### adw_window_new

Creates a new `AdwWindow`.

Available since: 1.0

#### Instance methods

###### adw_window_get_child

Gets the child widget of `self`.

Available since: 1.0

###### adw_window_set_child

Sets the child widget of `self`.

Available since: 1.0

#### Class structure

    struct AdwWindowClass {
      GtkWindowClass parent_class;

    }

###### Class members

`parent_class` |
    GtkWindowClass
| No description available.