Window


Object Hierarchy:

Adw.Window Adw.Window Adw.Window Gtk.Window Gtk.Window Gtk.Window->Adw.Window 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.Window Gtk.Accessible->Gtk.Window Gtk.Accessible->Gtk.Widget Gtk.Buildable Gtk.Buildable Gtk.Buildable->Adw.Window Gtk.Buildable->Gtk.Window Gtk.Buildable->Gtk.Widget Gtk.ConstraintTarget Gtk.ConstraintTarget Gtk.ConstraintTarget->Adw.Window Gtk.ConstraintTarget->Gtk.Window Gtk.ConstraintTarget->Gtk.Widget Gtk.Native Gtk.Native Gtk.Native->Adw.Window Gtk.Native->Gtk.Window Gtk.Root Gtk.Root Gtk.Root->Adw.Window Gtk.Root->Gtk.Window Gtk.ShortcutManager Gtk.ShortcutManager Gtk.ShortcutManager->Adw.Window Gtk.ShortcutManager->Gtk.Window

Description:

[ CCode ( type_id = "adw_window_get_type ()" ) ]
[ Version ( since = "1.0" ) ]
public class Window : Window, Accessible, Buildable, ConstraintTarget, Native, Root, ShortcutManager

A freeform window.

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

The `AdwWindow` widget is a subclass of [[email protected]] which has no titlebar area. It means [[email protected]] can be used as follows:

```xml <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 [[email protected]_titlebar] and [[email protected]_titlebar] is not supported and will result in a crash.

All known sub-classes:

Namespace: Adw
Package: libadwaita-1

Content:

Properties:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class Gtk.Window
All known members inherited from class Gtk.Widget
All known members inherited from class GLib.Object
All known members inherited from interface Gtk.Accessible
All known members inherited from interface Gtk.Buildable
All known members inherited from interface Gtk.Native
All known members inherited from interface Gtk.Root
All known members inherited from interface Gtk.ShortcutManager



2022 vala-language.org