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">
      <property name="content">
        <object class="GtkBox">
          <property name="orientation">vertical</property>
          <child>
            <object class="GtkHeaderBar"/>
          </child>
          <child>
            <!-- ... -->
          </child>
        </object>
      </property>
    </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

- AdwWindow
- 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_content

Gets the content widget of `self`.

Available since: 1.0

###### adw_window_set_content

Sets the content widget of `self`.

Available since: 1.0

##### Methods inherited from AdwWindow (2)

###### adw_window_get_content

Gets the content widget of `self`.

Available since: 1.0

###### adw_window_set_content

Sets the content widget of `self`.

Available since: 1.0

##### Methods inherited from GtkWidget (159)

##### Methods inherited from GObject (43)

#### Properties

###### Adw.Window:content

The content widget.

Available since: 1.0

##### Properties inherited from AdwWindow (1)

###### Adw.Window:content

The content widget.

Available since: 1.0

##### Properties inherited from GtkWidget (34)

#### Signals

##### Signals inherited from GtkWidget (13)

##### Signals inherited from GObject (1)

#### Class structure

    struct AdwWindowClass {
      GtkWindowClass parent_class;

    }

###### Class members

`parent_class` |
    GtkWindowClass
| No description available.