# TreeView DragAndDrop question

**URL:** <https://www.ruby-forum.com/t/treeview-draganddrop-question/150751>\
**Category:** Ruby-Gnome 2\
**Created:** [October 12, 2008, 4:59pm UTC](https://www.ruby-forum.com/t/treeview-draganddrop-question/150751 "2008-10-12T16:59:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![danmcb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/13edae/32.png) [@danmcb](https://www.ruby-forum.com/u/danmcb)\
**Post date:** [October 12, 2008, 4:59pm UTC](https://www.ruby-forum.com/t/treeview-draganddrop-question/150751/1 "2008-10-12T16:59:17Z")

</div>

Hi,  
I’m trying to create a structure similar to a directory listing, that  
supports reordering by DnD.

While set\_reorderable(true) on the Tree View, works ok on a folder, a  
file shouldn’t have any leaves(siblings), however it should still  
support reordering.

Any ideas that may help me getting started ?
