Type Alias: GtkWindowControlsProps
GtkWindowControlsProps =
WidgetProps&object
Defined in: generated/jsx.ts:11932
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:11939 |
onNotify? | (self, propName) => void | null | Called 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:11962 |
ref? | Ref<Gtk.WindowControls> | - | generated/jsx.ts:11965 |
side? | Gtk.PackType | Whether the widget shows start or end side of the decoration layout. See WindowControls.decoration_layout. | generated/jsx.ts:11945 |
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:11956 |