Skip to main content

Type Alias: GtkWindowControlsProps

GtkWindowControlsProps = WidgetProps & object

Defined in: generated/jsx.ts:9776

Props for the GtkWindowControls widget.

Type Declaration

NameTypeDescriptionDefined in
decorationLayout?string | nullThe decoration layout for window buttons. If this property is not set, the Settings.gtk-decoration-layout setting is used.generated/jsx.ts:9783
ref?Ref<Gtk.WindowControls>-generated/jsx.ts:9801
side?Gtk.PackTypeWhether the widget shows start or end side of the decoration layout. See WindowControls.decoration_layout.generated/jsx.ts:9789
useNativeControls?booleanWhether to show platform native close/minimize/maximize buttons. For macOS, the HeaderBar.decoration-layout property controls the use of native window controls. On other platforms, this option has no effect. See also Using GTK on Apple macOS.generated/jsx.ts:9800