Class
AdwApplicationWindow
Description [src]
class Adw.ApplicationWindow : Gtk.ApplicationWindow {
parent_instance: GtkApplicationWindow
}
A freeform application window.
AdwApplicationWindow
is a GtkApplicationWindow
subclass providing
the same features as AdwWindow
.
See AdwWindow
for details.
Example of an AdwApplicationWindow
UI definition:
<object class="AdwApplicationWindow">
<property name="content">
<object class="AdwToolbarView">
<child type="top">
<object class="AdwHeaderBar"/>
</child>
<property name="content">
<!-- ... -->
</property>
</object>
</property>
</object>
Using GtkApplication:menubar
is not supported and may result in
visual glitches.
Implements
- GActionGroup
- GActionMap
- GtkAccessible
- GtkBuildable
- GtkConstraintTarget
- GtkNative
- GtkRoot
- GtkShortcutManager
Constructors
adw_application_window_new
Creates a new AdwApplicationWindow
for app
.
Instance methods
adw_application_window_get_content
Gets the content widget of self
.
adw_application_window_set_content
Sets the content widget of self
.
Properties
Adw.ApplicationWindow:content
The content widget.