set_extra_drag_dest_targets


Description:

public void set_extra_drag_dest_targets (TargetList? extra_drag_dest_targets)

Sets extra drag destination targets.

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.

After content is dropped, the [signal@TabBar:HdyTabBar:extra-drag-data-received] signal can be used to retrieve and process the drag data.

Parameters:

this

a tab bar

extra_drag_dest_targets

extra drag targets