Virtual Method
IdeTreeAddinnode_droppable
since: 44
Declaration
GdkDragAction
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 function. drop_node
-
Type:
IdeTreeNode
An
IdeTreeNode
.The data is owned by the caller of the function. gtypes
-
Type: An array of
GType
An array of
GType
.The data is owned by the caller of the function.
Return value
Type: GdkDragAction
0 if not droppable, otherwise a GdkDragAction
.