TreeDragDestT

Members

Functions

dragDataReceived
bool dragDataReceived(TreePath dest, SelectionData selectionData)

Asks the #GtkTreeDragDest to insert a row before the path @dest, deriving the contents of the row from @selection_data. If @dest is outside the tree so that inserting before it is impossible, %FALSE will be returned. Also, %FALSE may be returned if the new row is not created for some model-specific reason. Should robustly handle a @dest no longer found in the model!

getTreeDragDestStruct
GtkTreeDragDest* getTreeDragDestStruct(bool transferOwnership)

Get the main Gtk struct

rowDropPossible
bool rowDropPossible(TreePath destPath, SelectionData selectionData)

Determines whether a drop is possible before the given @dest_path, at the same depth as @dest_path. i.e., can we drop the data in @selection_data at that location. @dest_path does not have to exist; the return value will almost certainly be %FALSE if the parent of @dest_path doesn’t exist, though.

Meta