adw.application_window
Module for [ApplicationWindow] class
Types 3
A freeform application window.
adw.application_window.ApplicationWindow is a gtk.application_window.ApplicationWindow subclass providing the same features as adw.window.Window.
See adw.window.Window for details.
Example of an adw.application_window.ApplicationWindow 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 gtk.application.Application.menubar is not supported and may result in visual glitches.
Methods
ApplicationWindowGidBuilder builder() static nothrowGet builder for [adw.application_window.ApplicationWindow] Returns: New builder objectvoid content(gtk.widget.Widget propval) @property nothrowSet `content` property. Params: propval = The content widget.adw.breakpoint.Breakpoint currentBreakpoint() @property nothrowGet `currentBreakpoint` property. Returns: The current breakpoint.gio.list_model.ListModel dialogs() @property nothrowGet `dialogs` property. Returns: The open dialogs.adw.dialog.Dialog visibleDialog() @property nothrowGet `visibleDialog` property. Returns: The currently visible dialogadw.breakpoint.Breakpoint getCurrentBreakpoint() nothrowGets the current breakpoint. Returns: the current breakpointgio.list_model.ListModel getDialogs() nothrowReturns a [gio.list_model.ListModel] that contains the open dialogs of self.adw.dialog.Dialog getVisibleDialog() nothrowReturns the currently visible dialog in self, if there's one. Returns: the visible dialogConstructors
this(gtk.application.Application app)Creates a new [adw.application_window.ApplicationWindow] for app.Fluent builder implementation template for adw.application_window.ApplicationWindow
Methods
T content(gtk.widget.Widget propval) nothrowSet `content` property. Params: propval = The content widget.Fluent builder for adw.application_window.ApplicationWindow
Methods