Method
IdeTreeAddinnode_droppable
since: 44
Declaration
GdkDragAction
ide_tree_addin_node_droppable (
IdeTreeAddin* self,
GtkDropTarget* drop_target,
IdeTreeNode* drop_node,
GArray* gtypes
)
Description
Determines if drop_node
is a droppable for drop_target
.
If so, this function should add the allowed GType
to gtypes
.
Available since: 44
Parameters
drop_target
-
Type:
GtkDropTarget
A
GtkDropTarget
.The data is owned by the caller of the method. drop_node
-
Type:
IdeTreeNode
An
IdeTreeNode
.The data is owned by the caller of the method. gtypes
-
Type: An array of
GType
An array of
GType
.The data is owned by the caller of the method.
Return value
Type: GdkDragAction
0 if not droppable, otherwise a GdkDragAction
.