TabBar.setupExtraDropTarget

Sets the supported types for this drop target.

Sets up an extra drop target on tabs.

This allows to drag arbitrary content onto tabs, for example URLs in a web browser.

If a tab is hovered for a certain period of time while dragging the content, it will be automatically selected.

The signalTabBar::extra-drag-drop signal can be used to handle the drop.

class TabBar
void
setupExtraDropTarget

Parameters

actions gdk.types.DragAction

the supported actions

types gobject.types.GType[]

all supported gobject.types.TYPE_FLAG_RESERVED_ID_BITs that can be dropped