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 GtkWindow:titlebar
or GtkWindow:child
is not supported and will result in a crash. Use AdwWindow:content
instead.
Available since: | 1.0 |