Package org.gnome.gtk
Interface TreeDragDest
- All Superinterfaces:
Proxy
- All Known Implementing Classes:
ListStore
,TreeDragDest.TreeDragDestImpl
,TreeStore
Deprecated.
Interface for Drag-and-Drop destinations in
GtkTreeView
.-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Deprecated.static class
Deprecated.The TreeDragDestImpl type represents a native instance of the TreeDragDest interface. -
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
dragDataReceived
(TreePath dest, Value value) Deprecated.Use list models insteadstatic Type
getType()
Deprecated.Get the GType of the TreeDragDest classdefault boolean
rowDropPossible
(TreePath destPath, Value value) Deprecated.Use list models instead
-
Method Details
-
getType
-
dragDataReceived
Deprecated.Use list models insteadAsks theGtkTreeDragDest
to insert a row before the pathdest
, deriving the contents of the row fromvalue
. Ifdest
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 adest
no 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 invalue
at that location.destPath
does not have to exist; the return value will almost certainly befalse
if the parent ofdestPath
doesn’t exist, though.- Parameters:
destPath
- destination rowvalue
- the data being dropped- Returns:
true
if a drop is possible beforedestPath
-