gtk.TreeDragDestan interface that manages the data transfer for a
destination of a gtk.TreeView drag
and drop operationSynopsisgtk.TreeDragDestgobject.GInterfacedrag_data_receiveddestselection_datarow_drop_possibledest_pathselection_dataDescriptionThe gtk.TreeDragDest
is an interface for checking and receiving the data for the destination of a
gtk.TreeView
drag and drop operation.Methodsgtk.TreeDragDest.drag_data_receiveddrag_data_receiveddestselection_datadest :the row to drop the data in front
ofselection_data :the data to dropReturns :TRUE if a new row was
created before position destThe drag_data_received() method asks
the gtk.TreeDragDest
to insert a row before the path dest, deriving the
contents of the row from selection_data. If
dest 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.gtk.TreeDragDest.row_drop_possiblerow_drop_possibledest_pathselection_datadest_path :a destination rowselection_data :the data being draggedReturns :TRUE if a drop is possible before
dest_pathThe row_drop_possible() method
determines if a drop is possible before the tree path specified by
dest_path and at the same depth as
dest_path. That is, can we drop the data specified by
selection_data at that location.
dest_path does not have to exist but the return value
will almost certainly be FALSE if the parent of
dest_path doesn't exist, though.