Method
AdwSidebarsetup_drop_target
unstable since: 1.9
Declaration [src]
void
adw_sidebar_setup_drop_target (
AdwSidebar* self,
GdkDragAction actions,
GType* types,
gsize n_types
)
Description [src]
Sets up a drop target on the items.
This allows to drag arbitrary content onto items.
The AdwSidebar::drop signal can be used to handle the drop.
Available since: 1.9
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 method. n_types-
Type:
gsizeNumber of
types.