TreeDragSourceImpl

data class TreeDragSourceImpl(val gtkTreeDragSourcePointer: <Error class: unknown class><<Error class: unknown class>>) : TreeDragSource

The TreeDragSourceImpl type represents a native instance of the TreeDragSource interface.

Constructors

Link copied to clipboard
constructor(gtkTreeDragSourcePointer: <Error class: unknown class><<Error class: unknown class>>)

Creates a new instance of TreeDragSource for the provided CPointer.

Properties

Link copied to clipboard
open override 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.