
Gnome::Gtk4::R-TreeDragDest
Description
Interface for Drag-and-Drop destinations in Gnome::Gtk4::TreeView.
Methods
drag-data-received
Note: The native version of this routine is deprecated in gtk4-lib() since version 4.10
Asks the Gnome::Gtk4::R-TreeDragDest to insert a row before the path $dest, deriving the contents of the row from $value. 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!
method drag-data-received ( N-Object $dest, N-Object $value --> Bool )
$dest; row to drop in front of
$value; data to drop
Return value; whether a new row was created before position $dest.
row-drop-possible
Note: The native version of this routine is deprecated in gtk4-lib() since version 4.10
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 $value 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.
method row-drop-possible ( N-Object $dest-path, N-Object $value --> Bool )
$dest-path; destination row
$value; the data being dropped
Return value; True if a drop is possible before $dest-path.
About all my projects