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.
Constructors
adw_window_new
Creates a new AdwWindow.
Instance methods
adw_window_get_content
Gets the content widget of self.
adw_window_set_content
Sets the content widget of self.
Properties
Adw.Window:content
The content widget.