Skip to main content

Type Alias: AdwTabBarProps

AdwTabBarProps = WidgetProps & object

Defined in: generated/jsx.ts:9307

Props for the AdwTabBar widget.

Type Declaration

NameTypeDescriptionDefined in
autohide?booleanWhether the tabs automatically hide. If set to TRUE, the tab bar disappears when AdwTabBar.view has 0 or 1 tab, no pinned tabs, and no tab is being transferred. See AdwTabBar.tabs-revealed.generated/jsx.ts:9316
children?ReactNode-generated/jsx.ts:9364
endActionWidget?Gtk.Widget | nullThe widget shown after the tabs.generated/jsx.ts:9318
expandTabs?booleanWhether tabs expand to full width. If set to TRUE, the tabs will always vary width filling the whole width when possible, otherwise tabs will always have the minimum possible size.generated/jsx.ts:9325
extraDragPreload?booleanWhether the drop data should be preloaded on hover. See DropTarget.preload.generated/jsx.ts:9331
inverted?booleanWhether tabs use inverted layout. If set to TRUE, non-pinned tabs will have the close button at the beginning and the indicator at the end rather than the opposite.generated/jsx.ts:9338
onExtraDragDrop()?(self, page, value) => boolean | nullThis signal is emitted when content is dropped onto a tab. The content must be of one of the types set up via TabBarsetup_extra_drop_target. See DropTarget.:drop.generated/jsx.ts:9351
onExtraDragValue()?(self, page, value) => Gdk.DragAction | nullThis signal is emitted when the dropped content is preloaded. In order for data to be preloaded, AdwTabBar.extra-drag-preload must be set to TRUE. The content must be of one of the types set up via TabBarsetup_extra_drop_target. See DropTarget.value.generated/jsx.ts:9363
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:9370
ref?Ref<Adw.TabBar>-generated/jsx.ts:9383
startActionWidget?Gtk.Widget | nullThe widget shown before the tabs.generated/jsx.ts:9340
view?Adw.TabView | nullThe tab view the tab bar controls.generated/jsx.ts:9342