Type Alias: AdwTabOverviewProps
AdwTabOverviewProps =
WidgetProps&object
Defined in: generated/jsx.ts:9412
Props for the AdwTabOverview widget.
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
child? | Gtk.Widget | null | The child widget. | generated/jsx.ts:9414 |
children? | ReactNode | - | generated/jsx.ts:9504 |
enableNewTab? | boolean | Whether to enable new tab button. Connect to the AdwTabOverview.:create-tab signal to use it. | generated/jsx.ts:9420 |
enableSearch? | boolean | Whether 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? | boolean | Whether the drop data should be preloaded on hover. See DropTarget.preload. | generated/jsx.ts:9439 |
inverted? | boolean | Whether 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 | null | Emitted 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 | null | This 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 | null | This 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 | 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:9510 |
open? | boolean | Whether the overview is open. | generated/jsx.ts:9448 |
ref? | Ref<Adw.TabOverview> | - | generated/jsx.ts:9526 |
secondaryMenu? | Gio.MenuModel | null | The 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? | boolean | Whether 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? | boolean | Whether 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 | null | The tab view the overview controls. The view must be inside the tab overview, see AdwTabOverview.child. | generated/jsx.ts:9472 |