ApplicationWindow

open class ApplicationWindow(pointer: <Error class: unknown class><<Error class: unknown class>>)

A freeform application window.

application-window

AdwApplicationWindow is a class@Gtk.ApplicationWindow subclass providing the same features as class@Window.

See class@Window 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 property@Gtk.Application:menubar is not supported and may result in visual glitches.

Constructors

Link copied to clipboard
constructor(app: Application)

Creates a new AdwApplicationWindow for @app.

constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val adwApplicationWindowPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open var content: <Error class: unknown class>?

The content widget.

Link copied to clipboard

The current breakpoint.

Link copied to clipboard
open val dialogs: <Error class: unknown class>

The open dialogs.

Link copied to clipboard
open val gioActionGroupPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open val gioActionMapPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open val gtkAccessiblePointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open val gtkBuildablePointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open val gtkConstraintTargetPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open val gtkNativePointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open val gtkRootPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open val gtkShortcutManagerPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard

The currently visible dialog

Functions

Link copied to clipboard
open fun addBreakpoint(breakpoint: Breakpoint)

Adds @breakpoint to @self.

Link copied to clipboard
open fun getContent(): <Error class: unknown class>?

Gets the content widget of @self.

Link copied to clipboard

Gets the current breakpoint.

Link copied to clipboard
open fun getDialogs(): <Error class: unknown class>

Returns a iface@Gio.ListModel that contains the open dialogs of @self.

Link copied to clipboard

Returns the currently visible dialog in @self, if there's one.

Link copied to clipboard
open fun setContent(content: <Error class: unknown class>? = null)

Sets the content widget of @self.