Method
AdwTabBarsetup_extra_drop_target
Declaration [src]
void
adw_tab_bar_setup_extra_drop_target (
AdwTabBar* 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 AdwTabBar::extra-drag-drop
signal can be used to handle the drop.
Available since: | 1.0 |
Parameters
actions |
GdkDragAction |
The supported actions. |
|
types |
An array of GType |
all supported |
|
The argument can be NULL . | |
The length of the array is specified in the n_types argument. | |
The data is owned by the caller of the function. | |
n_types |
gsize |
Number of |