Skip to main content

Type Alias: AdwWindowProps

AdwWindowProps = GtkWindowProps & object

Defined in: generated/jsx.ts:312

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:324
children?ReactNode-generated/jsx.ts:333
content?Gtk.Widget | nullThe content widget. This property should always be used instead of Window.child.generated/jsx.ts:330
onClose?() => void | nullCalled when the window close button is clicked. Control window visibility using React state.generated/jsx.ts:332
ref?Ref<Adw.Window>-generated/jsx.ts:334