Class
AdwApplicationWindow
[−]
Description [src]
class Adw.ApplicationWindow : Gtk.ApplicationWindow
implements Gio.ActionGroup, Gio.ActionMap, Gtk.Accessible, Gtk.Buildable, Gtk.ConstraintTarget, Gtk.Native, Gtk.Root, Gtk.ShortcutManager {
/* No available fields */
}
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
[−]
Instance methods
adw_application_window_get_adaptive_preview
Gets whether adaptive preview for self
is currently open.
since: 1.7
adw_application_window_get_dialogs
Returns a GListModel
that contains the open dialogs of self
.
since: 1.5
adw_application_window_get_visible_dialog
Returns the currently visible dialog in self
, if there’s one.
since: 1.5
adw_application_window_set_adaptive_preview
Sets whether adaptive preview for self
is currently open.
since: 1.7
[+]
Methods inherited from GtkApplicationWindow (5)
[+]
Methods inherited from GActionGroup (14)
[+]
Methods inherited from GActionMap (5)
[+]
Methods inherited from GtkAccessible (20)
[+]
Methods inherited from GtkBuildable (1)
[−]
Properties
[+]
Properties inherited from GtkApplicationWindow (1)
[+]
Properties inherited from GtkAccessible (1)
[+]