Package org.gnome.gtk
Interface TreeDragDest
- All Superinterfaces:
Proxy
- All Known Implementing Classes:
ListStore,TreeDragDest.TreeDragDest$Impl,TreeStore
Deprecated.
Interface for Drag-and-Drop destinations in
GtkTreeView.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classDeprecated.The TreeDragDest$Impl type represents a native instance of the TreeDragDest interface.static classDeprecated. -
Method Summary
Modifier and TypeMethodDescriptiondefault booleandragDataReceived(TreePath dest, Value value) Deprecated.Use list models insteadstatic @Nullable TypegetType()Deprecated.Get the GType of the TreeDragDest classdefault booleanrowDropPossible(TreePath destPath, Value value) Deprecated.Use list models instead
-
Method Details
-
getType
Deprecated.Get the GType of the TreeDragDest class- Returns:
- the GType
-
dragDataReceived
Deprecated.Use list models insteadAsks theGtkTreeDragDestto insert a row before the pathdest,deriving the contents of the row fromvalue.Ifdestis outside the tree so that inserting before it is impossible,falsewill be returned. Also,falsemay be returned if the new row is not created for some model-specific reason. Should robustly handle adestno longer found in the model!- Parameters:
dest- row to drop in front ofvalue- data to drop- Returns:
- whether a new row was created before position
dest
-
rowDropPossible
Deprecated.Use list models insteadDetermines whether a drop is possible before the givendestPath,at the same depth asdestPath.i.e., can we drop the data invalueat that location.destPathdoes not have to exist; the return value will almost certainly befalseif the parent ofdestPathdoesn’t exist, though.- Parameters:
destPath- destination rowvalue- the data being dropped- Returns:
trueif a drop is possible beforedestPath
-
DropTargetto implement a drop destination