TreeDragSource

interface TreeDragSource

Interface for Drag-and-Drop destinations in GtkTreeView.

Inheritors

Types

Link copied to clipboard
object Companion

Properties

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

Functions

Link copied to clipboard

Asks the GtkTreeDragSource to delete the row at @path, because it was moved somewhere else via drag-and-drop. Returns false if the deletion fails because @path no longer exists, or for some model-specific reason. Should robustly handle a @path no longer found in the model!

Link copied to clipboard
open fun dragDataGet(path: TreePath): <Error class: unknown class>?

Asks the GtkTreeDragSource to return a GdkContentProvider representing the row at @path. Should robustly handle a @path no longer found in the model!

Link copied to clipboard
open fun rowDraggable(path: TreePath): Boolean

Asks the GtkTreeDragSource whether a particular row can be used as the source of a DND operation. If the source doesn’t implement this interface, the row is assumed draggable.