# Drag and drop reordering in Gtk::Notebook, a question

**URL:** <https://www.ruby-forum.com/t/drag-and-drop-reordering-in-gtk-notebook-a-question/87765>\
**Category:** Ruby-Gnome 2\
**Created:** [March 5, 2007, 9:07pm UTC](https://www.ruby-forum.com/t/drag-and-drop-reordering-in-gtk-notebook-a-question/87765 "2007-03-05T21:07:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![quik77](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/q/dec6dc/32.png) [@quik77](https://www.ruby-forum.com/u/quik77)\
**Post date:** [March 5, 2007, 9:07pm UTC](https://www.ruby-forum.com/t/drag-and-drop-reordering-in-gtk-notebook-a-question/87765/1 "2007-03-05T21:07:47Z")

</div>

Hi list,

Does one of you have an easy example of drag and drop reordering  
for Gtk::Notebook? I know that the mdi.rb example does it, but  
it seems very complicated, so I wondered if maybe one of you  
has an easier example.

Basically one that only allows the user to reorder tabs in  
a Gtk::Notebook using the mouse (with the keys its easier  
because of notebook.reorder\_child(child, position) )

Regards and thanks in advance if anyone has an easier example  
than mdi.rb

=

–  
Powered by Outblaze

* * *

Take Surveys. Earn Cash. Influence the Future of IT  
Join [SourceForge.net](http://SourceForge.net)’s Techsay panel and you’ll get the chance to share  
your  
opinions on IT & business topics through brief surveys-and earn cash  
[http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV](http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV)
