Method
AdwTabOverviewsetup_extra_drop_target
unstable since: 1.3
Declaration [src]
void
adw_tab_overview_setup_extra_drop_target (
AdwTabOverview* self,
GdkDragAction actions,
GType* types,
gsize n_types
)
Description [src]
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 AdwTabOverview::extra-drag-drop signal can be used to handle the drop.
Available since: 1.3
Parameters
actions-
Type:
GdkDragActionThe supported actions.
types-
Type: An array of
GTypeall supported
GTypes that can be dropped.The argument can be NULL.The length of the array is specified in the n_typesargument.The data is owned by the caller of the function. n_types-
Type:
gsizeNumber of
types.