2

A similar question was asked back in '15 Make Tkinter Notebook be Draggable to Another View but that was a while ago and that also asked about re-binding the window.

I was wondering how I would make a notebook draggable, even if is just to reorder the tabs.

Any advice would be helpful and please let me know if this question has been answered

Supamee
  • 553
  • 4
  • 15
  • 2
    Tab dragging has been implemented in tcl: https://wiki.tcl-lang.org/page/ttk::notebook, https://wiki.tcl-lang.org/page/Drag+and+Drop+Notebook+Tabs. It can either be translated to python or evaluated through `.tk.eval()`. – j_4321 Dec 05 '18 at 08:35
  • 3
    And if you are interested in adding animations to the dragging (seeing the dragged tab move), I did this kind of thing but for dragging columns/rows of a treeview [here](https://github.com/RedFantom/ttkwidgets/blob/master/ttkwidgets/table.py). Maybe it can help. – j_4321 Dec 05 '18 at 08:42

0 Answers0