Solved TreeView: How to insert dragobject as new item

Hello guys!
Is possible to insert new TreeView items using drag and drop as new root childs? When TreeView have no any element to insert BEFORE or AFTER.
I'm using AcceptDragObject but can't understand how to reproduce issue when obj is None like in this note.

If obj is None then dragobject should be inserted as a child of the root.

Checkout my python tutorials, plugins, scripts, xpresso presets and more
https://mikeudin.net

Solved. There is TREEVIEW_OUTSIDE_DROP option.

Checkout my python tutorials, plugins, scripts, xpresso presets and more
https://mikeudin.net