Type Alias: GtkWindowControlsProps
GtkWindowControlsProps =
WidgetProps&object
Defined in: generated/jsx.ts:9776
Props for the GtkWindowControls widget.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
decorationLayout? | string | null | The 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.PackType | Whether the widget shows start or end side of the decoration layout. See WindowControls.decoration_layout. | generated/jsx.ts:9789 |
useNativeControls? | boolean | Whether 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 |