Type Alias: AdwTabBarProps
AdwTabBarProps =
WidgetProps&object
Defined in: generated/jsx.ts:9307
Props for the AdwTabBar widget.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
autohide? | boolean | Whether 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 | null | The widget shown after the tabs. | generated/jsx.ts:9318 |
expandTabs? | boolean | Whether 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? | boolean | Whether the drop data should be preloaded on hover. See DropTarget.preload. | generated/jsx.ts:9331 |
inverted? | boolean | Whether 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 | null | This 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 | null | This 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 | 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:9370 |
ref? | Ref<Adw.TabBar> | - | generated/jsx.ts:9383 |
startActionWidget? | Gtk.Widget | null | The widget shown before the tabs. | generated/jsx.ts:9340 |
view? | Adw.TabView | null | The tab view the tab bar controls. | generated/jsx.ts:9342 |