Skip to main content

Type Alias: AdwViewSwitcherTitleProps

AdwViewSwitcherTitleProps = WidgetProps & object

Defined in: generated/jsx.ts:11308

Props for the AdwViewSwitcherTitle widget.

Type Declaration

NameTypeDescriptionDefined in
children?ReactNode-generated/jsx.ts:11335
onNotify?(self, propName) => void | nullCalled 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:11341
ref?Ref<Adw.ViewSwitcherTitle>-generated/jsx.ts:11344
stack?Adw.ViewStack | nullThe stack the view switcher controls.generated/jsx.ts:11310
subtitle?stringThe subtitle to display. The subtitle should give the user additional details.generated/jsx.ts:11316
title?stringThe title to display. The title typically identifies the current view or content item, and generally does not use the application name.generated/jsx.ts:11323
viewSwitcherEnabled?booleanWhether the view switcher is enabled. If it is disabled, the title will be displayed instead. This allows to programmatically hide the view switcher even if it fits in the available space. This can be used e.g. to ensure the view switcher is hidden below a certain window width, or any other constraint you find suitable.generated/jsx.ts:11334