ApplicationWindow


Object Hierarchy:

Adw.ApplicationWindow Adw.ApplicationWindow Adw.ApplicationWindow Gtk.ApplicationWindow Gtk.ApplicationWindow Gtk.ApplicationWindow->Adw.ApplicationWindow Gtk.Window Gtk.Window Gtk.Window->Gtk.ApplicationWindow Gtk.Widget Gtk.Widget Gtk.Widget->Gtk.Window GLib.InitiallyUnowned GLib.InitiallyUnowned GLib.InitiallyUnowned->Gtk.Widget GLib.Object GLib.Object GLib.Object->GLib.InitiallyUnowned Gtk.Accessible Gtk.Accessible Gtk.Accessible->Adw.ApplicationWindow Gtk.Accessible->Gtk.ApplicationWindow Gtk.Accessible->Gtk.Window Gtk.Accessible->Gtk.Widget Gtk.Buildable Gtk.Buildable Gtk.Buildable->Adw.ApplicationWindow Gtk.Buildable->Gtk.ApplicationWindow Gtk.Buildable->Gtk.Window Gtk.Buildable->Gtk.Widget Gtk.ConstraintTarget Gtk.ConstraintTarget Gtk.ConstraintTarget->Adw.ApplicationWindow Gtk.ConstraintTarget->Gtk.ApplicationWindow Gtk.ConstraintTarget->Gtk.Window Gtk.ConstraintTarget->Gtk.Widget Gtk.Native Gtk.Native Gtk.Native->Adw.ApplicationWindow Gtk.Native->Gtk.ApplicationWindow Gtk.Native->Gtk.Window Gtk.Root Gtk.Root Gtk.Root->Adw.ApplicationWindow Gtk.Root->Gtk.ApplicationWindow Gtk.Root->Gtk.Window Gtk.ShortcutManager Gtk.ShortcutManager Gtk.ShortcutManager->Adw.ApplicationWindow Gtk.ShortcutManager->Gtk.ApplicationWindow Gtk.ShortcutManager->Gtk.Window GLib.ActionGroup GLib.ActionGroup GLib.ActionGroup->Adw.ApplicationWindow GLib.ActionGroup->Gtk.ApplicationWindow GLib.ActionMap GLib.ActionMap GLib.ActionMap->Adw.ApplicationWindow GLib.ActionMap->Gtk.ApplicationWindow

Description:

[ CCode ( type_id = "adw_application_window_get_type ()" ) ]
public class ApplicationWindow : ApplicationWindow, ActionGroup, ActionMap, Accessible, Buildable, ConstraintTarget, Native, Root, ShortcutManager

A freeform application window.

<picture> <source srcset="application-window-dark.png" media="(prefers-color-scheme: dark)"> <img src="application-window.png" alt="application-window"> </picture>

`AdwApplicationWindow` is a [class@Gtk.ApplicationWindow] subclass providing the same features as [class@Window].

See [class@Window] for details.

Example of an `AdwApplicationWindow` UI definition:

```xml <object class="AdwApplicationWindow"> <property name="content"> <object class="AdwToolbarView"> <child type="top"> <object class="AdwHeaderBar"/> </child> <property name="content"> <!-- ... --> </property> </object> </property> </object> ```

Using [property@Gtk.Application:menubar] is not supported and may result in visual glitches.


Namespace: Adw
Package: libadwaita-1

Content:

Properties:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class Gtk.ApplicationWindow
All known members inherited from class Gtk.Widget
All known members inherited from interface GLib.ActionMap
All known members inherited from interface Gtk.Native
All known members inherited from interface Gtk.Root
All known members inherited from interface Gtk.ShortcutManager