Package: gtk

Function gtk-tree-get-row-drag-data

Lambda List

gtk-tree-get-row-drag-data (data model path)

Arguments

data -- a gtk-selection-data instance
model -- a gtk-tree-model object
path -- a gtk-tree-path with a row in model.

Return Value

True if data had target type GTK_TREE_MODEL_ROW and is otherwise valid.

Details

Obtains a tree_model and path from selection data of target type GTK_TREE_MODEL_ROW. Normally called from a drag_data_received handler. This function can only be used if data originates from the same process that is calling this function, because a pointer to the tree model is being passed around. If you are not in the same process, then you will get memory corruption. In the drag_data_received handler, you can assume that selection data of type GTK_TREE_MODEL_ROW is in from the current process.
 

See also

2021-3-5