TabBar.setupExtraDropTarget
void setupExtraDropTarget(gdk.types.DragAction actions, gobject.types.GType[] types = null)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.
Parameters
actions | the supported actions |
types | all supported GTypes that can be dropped |