Skip to main content

Type Alias: AdwTabOverviewProps

AdwTabOverviewProps = WidgetProps & object

Defined in: generated/jsx.ts:9412

Props for the AdwTabOverview widget.

Type Declaration

NameTypeDescriptionDefined in
child?Gtk.Widget | nullThe child widget.generated/jsx.ts:9414
children?ReactNode-generated/jsx.ts:9504
enableNewTab?booleanWhether to enable new tab button. Connect to the AdwTabOverview.:create-tab signal to use it.generated/jsx.ts:9420
enableSearch?booleanWhether to enable search in tabs. Search matches tab titles and tooltips, as well as keywords, set via AdwTabPage.keyword. Use keywords to search in e.g. page URLs in a web browser. During search, tab reordering and drag-n-drop are disabled. Use AdwTabOverview.search-active to check out if search is currently active.generated/jsx.ts:9433
extraDragPreload?booleanWhether the drop data should be preloaded on hover. See DropTarget.preload.generated/jsx.ts:9439
inverted?booleanWhether thumbnails use inverted layout. If set to TRUE, thumbnails will have the close or unpin buttons at the beginning and the indicator at the end rather than the other way around.generated/jsx.ts:9446
onCreateTab()?(self) => Adw.TabPage | nullEmitted when a tab needs to be created. This can happen after the new tab button has been pressed, see AdwTabOverview.enable-new-tab. The signal handler is expected to create a new page in the corresponding AdwTabView and return it.generated/jsx.ts:9482
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 TabOverviewsetup_extra_drop_target. See DropTarget.:drop.generated/jsx.ts:9491
onExtraDragValue()?(self, page, value) => Gdk.DragAction | nullThis signal is emitted when the dropped content is preloaded. In order for data to be preloaded, AdwTabOverview.extra-drag-preload must be set to TRUE. The content must be of one of the types set up via TabOverviewsetup_extra_drop_target. See DropTarget.value.generated/jsx.ts:9503
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:9510
open?booleanWhether the overview is open.generated/jsx.ts:9448
ref?Ref<Adw.TabOverview>-generated/jsx.ts:9526
secondaryMenu?Gio.MenuModel | nullThe secondary menu model. Use it to add extra actions, e.g. to open a new window or undo closed tab.generated/jsx.ts:9454
showEndTitleButtons?booleanWhether to show end title buttons in the overview's header bar. See AdwHeaderBar.show-start-title-buttons for the other side.generated/jsx.ts:9460
showStartTitleButtons?booleanWhether to show start title buttons in the overview's header bar. See AdwHeaderBar.show-end-title-buttons for the other side.generated/jsx.ts:9466
view?Adw.TabView | nullThe tab view the overview controls. The view must be inside the tab overview, see AdwTabOverview.child.generated/jsx.ts:9472