Skip to main content

Type Alias: AdwWindowProps

AdwWindowProps = Omit<GtkWindowProps, "onNotify"> & object

Defined in: generated/jsx.ts:322

Props for the AdwWindow widget.

Type Declaration

NameTypeDescriptionDefined in
adaptivePreview?booleanWhether adaptive preview is currently open. Adaptive preview is a debugging tool used for testing the window contents at specific screen sizes, simulating mobile environment. Adaptive preview can always be accessed from inspector. This function allows applications to open it manually. Most applications should not use this property.generated/jsx.ts:334
children?ReactNode-generated/jsx.ts:343
content?Gtk.Widget | nullThe content widget. This property should always be used instead of Window.child.generated/jsx.ts:340
onClose?() => void | nullCalled when the window close button is clicked. Control window visibility using React state.generated/jsx.ts:342
onNotify?(self, propName) => void | nullCalled when any property on this widget changes. Param The widget that emitted the notification Param The name of the property that changed (in kebab-case)generated/jsx.ts:349
ref?Ref<Adw.Window>-generated/jsx.ts:350