Type Alias: AdwOverlaySplitViewProps
AdwOverlaySplitViewProps =
WidgetProps&object
Defined in: generated/jsx.ts:7001
Props for the AdwOverlaySplitView widget.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
children? | ReactNode | - | generated/jsx.ts:7080 |
collapsed? | boolean | Whether the split view is collapsed. When collapsed, the sidebar widget is presented as an overlay above the content widget, otherwise they are displayed side by side. | generated/jsx.ts:7008 |
content? | Gtk.Widget | null | The content widget. | generated/jsx.ts:7010 |
enableHideGesture? | boolean | Whether the sidebar can be closed with a swipe gesture. Only touchscreen swipes are supported. | generated/jsx.ts:7016 |
enableShowGesture? | boolean | Whether the sidebar can be opened with an edge swipe gesture. Only touchscreen swipes are supported. | generated/jsx.ts:7022 |
maxSidebarWidth? | number | The maximum sidebar width. Maximum width is affected by AdwOverlaySplitView.sidebar-width-unit. The sidebar widget can still be allocated with larger width if its own minimum width exceeds it. | generated/jsx.ts:7032 |
minSidebarWidth? | number | The minimum sidebar width. Minimum width is affected by AdwOverlaySplitView.sidebar-width-unit. The sidebar widget can still be allocated with larger width if its own minimum width exceeds it. | generated/jsx.ts:7042 |
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:7086 |
pinSidebar? | boolean | Whether the sidebar widget is pinned. By default, collapsing self automatically hides the sidebar widget, and uncollapsing it shows the sidebar. If set to TRUE, sidebar visibility never changes on its own. | generated/jsx.ts:7050 |
ref? | Ref<Adw.OverlaySplitView> | - | generated/jsx.ts:7104 |
showSidebar? | boolean | Whether the sidebar widget is shown. | generated/jsx.ts:7052 |
sidebar? | Gtk.Widget | null | The sidebar widget. | generated/jsx.ts:7054 |
sidebarPosition? | Gtk.PackType | The sidebar position. If it's set to GTK_PACK_START, the sidebar is displayed before the content, if GTK_PACK_END, it's displayed after the content. | generated/jsx.ts:7061 |
sidebarWidthFraction? | number | The preferred sidebar width as a fraction of the total width. The preferred width is additionally limited by AdwOverlaySplitView.min-sidebar-width and AdwOverlaySplitView.max-sidebar-width. The sidebar widget can be allocated with larger width if its own minimum width exceeds the preferred width. | generated/jsx.ts:7072 |
sidebarWidthUnit? | Adw.LengthUnit | The length unit for minimum and maximum sidebar widths. See AdwOverlaySplitView.min-sidebar-width and AdwOverlaySplitView.max-sidebar-width. | generated/jsx.ts:7079 |