Type Alias: AdwNavigationSplitViewProps
AdwNavigationSplitViewProps =
WidgetProps&object
Defined in: generated/jsx.ts:6689
Props for the AdwNavigationSplitView widget.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
children? | ReactNode | - | generated/jsx.ts:6763 |
collapsed? | boolean | Whether the split view is collapsed. When collapsed, the children are put inside an AdwNavigationView, otherwise they are displayed side by side. The AdwNavigationSplitView.show-content controls which child is visible while collapsed. | generated/jsx.ts:6699 |
content? | Adw.NavigationPage | null | The content widget. | generated/jsx.ts:6701 |
maxSidebarWidth? | number | The maximum sidebar width. Maximum width is affected by AdwNavigationSplitView.sidebar-width-unit. The sidebar widget can still be allocated with larger width if its own minimum width exceeds it. | generated/jsx.ts:6711 |
minSidebarWidth? | number | The minimum sidebar width. Minimum width is affected by AdwNavigationSplitView.sidebar-width-unit. The sidebar widget can still be allocated with larger width if its own minimum width exceeds it. | generated/jsx.ts:6721 |
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:6769 |
ref? | Ref<Adw.NavigationSplitView> | - | generated/jsx.ts:6784 |
showContent? | boolean | Determines the visible page when collapsed. If set to TRUE, the content widget will be the visible page when AdwNavigationSplitView.collapsed is TRUE; otherwise the sidebar widget will be visible. If the split view is already collapsed, the visible page changes immediately. | generated/jsx.ts:6732 |
sidebar? | Adw.NavigationPage | null | The sidebar widget. | generated/jsx.ts:6734 |
sidebarPosition? | Gtk.PackType | The sidebar position. If set to GTK_PACK_START, the sidebar is displayed before the content, and the sidebar will be the root page when collapsed. If set to GTK_PACK_END, the sidebar is displayed after the content, and the content will be the root page. | generated/jsx.ts:6744 |
sidebarWidthFraction? | number | The preferred sidebar width as a fraction of the total width. The preferred width is additionally limited by AdwNavigationSplitView.min-sidebar-width and AdwNavigationSplitView.max-sidebar-width. The sidebar widget can be allocated with larger width if its own minimum width exceeds the preferred width. | generated/jsx.ts:6755 |
sidebarWidthUnit? | Adw.LengthUnit | The length unit for minimum and maximum sidebar widths. See AdwNavigationSplitView.min-sidebar-width and AdwNavigationSplitView.max-sidebar-width. | generated/jsx.ts:6762 |