Package org.gnome.gtk
Interface TreeDragSource
- All Superinterfaces:
Proxy
- All Known Implementing Classes:
ListStore
,TreeDragSource.TreeDragSourceImpl
,TreeModelFilter
,TreeModelSort
,TreeStore
Deprecated.
Interface for Drag-and-Drop destinations in
GtkTreeView
.-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Deprecated.static class
Deprecated.The TreeDragSourceImpl type represents a native instance of the TreeDragSource interface. -
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
dragDataDelete
(TreePath path) Deprecated.Use list models insteaddefault ContentProvider
dragDataGet
(TreePath path) Deprecated.Use list models insteadstatic Type
getType()
Deprecated.Get the GType of the TreeDragSource classdefault boolean
rowDraggable
(TreePath path) Deprecated.Use list models instead
-
Method Details
-
getType
-
dragDataDelete
Deprecated.Use list models insteadAsks theGtkTreeDragSource
to delete the row atpath
, because it was moved somewhere else via drag-and-drop. Returnsfalse
if the deletion fails becausepath
no longer exists, or for some model-specific reason. Should robustly handle apath
no longer found in the model!- Parameters:
path
- row that was being dragged- Returns:
true
if the row was successfully deleted
-
dragDataGet
Deprecated.Use list models insteadAsks theGtkTreeDragSource
to return aGdkContentProvider
representing the row atpath
. Should robustly handle apath
no longer found in the model!- Parameters:
path
- row that was dragged- Returns:
- a
GdkContentProvider
for the givenpath
-
rowDraggable
Deprecated.Use list models insteadAsks theGtkTreeDragSource
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.- Parameters:
path
- row on which user is initiating a drag- Returns:
true
if the row can be dragged
-