Treeview conditional drag and drop

Hi,

Could anyone put an example of how to make conditional drag and drop in
a
treeview,
for example, to not permit move of a row in certain conditions?

I have tried to work with GtkDragDest and drop_possible, but I can’t put
it
to work.

Thank you very much
Antonio Cabrera