Type Alias: AdwToolbarViewProps
AdwToolbarViewProps =
WidgetProps&object
Defined in: generated/jsx.ts:10703
Props for the AdwToolbarView widget.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
bottomBarStyle? | Adw.ToolbarStyle | Appearance of the bottom bars. If set to ADW_TOOLBAR_FLAT, bottom bars are flat and scrolling content has a subtle undershoot shadow when touching them, same as the .undershoot-bottom style class. This works well for simple content, e.g. AdwStatusPage or AdwPreferencesPage, where the background at the bottom of the page is uniform. Additionally, windows with sidebars should always use this style. Undershoot shadow is only present if a bottom bar is actually present and visible. It is also never present if AdwToolbarView.extend-content-to-bottom-edge is set to TRUE. If set to ADW_TOOLBAR_RAISED, bottom bars have an opaque background and a persistent shadow, this is suitable for content such as utility panes, where some elements are directly adjacent to the bottom bars, or AdwTabView, where each page can have a different background. ADW_TOOLBAR_RAISED_BORDER is similar to ADW_TOOLBAR_RAISED, but the shadow is replaced with a more subtle border. This can be useful for applications like image viewers. See also AdwToolbarView.top-bar-style. | generated/jsx.ts:10730 |
children? | ReactNode | - | generated/jsx.ts:10803 |
content? | Gtk.Widget | null | The content widget. | generated/jsx.ts:10732 |
extendContentToBottomEdge? | boolean | Whether the content widget can extend behind bottom bars. This can be used in combination with AdwToolbarView.reveal-bottom-bars to show and hide toolbars in fullscreen. See AdwToolbarView.extend-content-to-top-edge. | generated/jsx.ts:10742 |
extendContentToTopEdge? | boolean | Whether the content widget can extend behind top bars. This can be used in combination with AdwToolbarView.reveal-top-bars to show and hide toolbars in fullscreen. See AdwToolbarView.extend-content-to-bottom-edge. | generated/jsx.ts:10751 |
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:10809 |
ref? | Ref<Adw.ToolbarView> | - | generated/jsx.ts:10822 |
revealBottomBars? | boolean | Whether bottom bars are visible. The transition will be animated. This can be used in combination with AdwToolbarView.extend-content-to-bottom-edge to show and hide toolbars in fullscreen. See AdwToolbarView.reveal-top-bars. | generated/jsx.ts:10763 |
revealTopBars? | boolean | Whether top bars are revealed. The transition will be animated. This can be used in combination with AdwToolbarView.extend-content-to-top-edge to show and hide toolbars in fullscreen. See AdwToolbarView.reveal-bottom-bars. | generated/jsx.ts:10775 |
topBarStyle? | Adw.ToolbarStyle | Appearance of the top bars. If set to ADW_TOOLBAR_FLAT, top bars are flat and scrolling content has a subtle undershoot shadow when touching them, same as the .undershoot-top style class. This works well for simple content, e.g. AdwStatusPage or AdwPreferencesPage, where the background at the top of the page is uniform. Additionally, windows with sidebars should always use this style. Undershoot shadow is only present if a top bar is actually present and visible. It is also never present if AdwToolbarView.extend-content-to-top-edge is set to TRUE. If set to ADW_TOOLBAR_RAISED, top bars have an opaque background and a persistent shadow, this is suitable for content such as utility panes, where some elements are directly adjacent to the top bars, or AdwTabView, where each page can have a different background. ADW_TOOLBAR_RAISED_BORDER is similar to ADW_TOOLBAR_RAISED, but the shadow is replaced with a more subtle border. This can be useful for applications like image viewers. See also AdwToolbarView.bottom-bar-style. | generated/jsx.ts:10802 |