TreeDragDest

interface TreeDragDest

Interface for Drag-and-Drop destinations in GtkTreeView.

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val gtkTreeDragDestPointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard
open fun dragDataReceived(dest: TreePath, value: <Error class: unknown class>): Boolean

Asks the GtkTreeDragDest 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!

Link copied to clipboard
open fun rowDropPossible(destPath: TreePath, value: <Error class: unknown class>): Boolean

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