Skip to main content

Type Alias: AdwTabOverviewProps

AdwTabOverviewProps = WidgetProps & object

Defined in: generated/jsx.ts:7569

Props for the AdwTabOverview widget.

Type Declaration

NameTypeDescriptionDefined in
child?Gtk.Widget | nullThe child widget.generated/jsx.ts:7571
children?ReactNode-generated/jsx.ts:7661
enableNewTab?booleanWhether to enable new tab button. Connect to the AdwTabOverview.:create-tab signal to use it.generated/jsx.ts:7577
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:7590
extraDragPreload?booleanWhether the drop data should be preloaded on hover. See DropTarget.preload.generated/jsx.ts:7596
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:7603
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:7639
onExtraDragDrop?(page, value, self) => 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:7648
onExtraDragValue?(page, value, self) => 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:7660
open?booleanWhether the overview is open.generated/jsx.ts:7605
ref?Ref<Adw.TabOverview>-generated/jsx.ts:7662
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:7611
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:7617
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:7623
view?Adw.TabView | nullThe tab view the overview controls. The view must be inside the tab overview, see AdwTabOverview.child.generated/jsx.ts:7629