Skip to main content

Type Alias: AdwInlineViewSwitcherProps

AdwInlineViewSwitcherProps = WidgetProps & object

Defined in: generated/jsx.ts:5527

Props for the AdwInlineViewSwitcher widget.

Type Declaration

NameTypeDescriptionDefined in
canShrink?booleanWhether the toggles can be smaller than the natural size of their contents. If set to TRUE, the toggle labels will ellipsize. See AdwToggleGroup.can-shrink.generated/jsx.ts:5535
children?ReactNode-generated/jsx.ts:5550
displayMode?Adw.InlineViewSwitcherDisplayModeThe display mode. Determines what the toggles display: a label, an icon or both. inline-view-switcher-display-modesgenerated/jsx.ts:5543
homogeneous?booleanWhether all toggles take the same size.generated/jsx.ts:5545
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:5556
orientation?Gtk.OrientationThe orientation of the orientable.generated/jsx.ts:5549
ref?Ref<Adw.InlineViewSwitcher>-generated/jsx.ts:5562
stack?Adw.ViewStack | nullThe stack the view switcher controls.generated/jsx.ts:5547