Is it possible to reorder tabs with the mouse on GTK?

19 views
Skip to first unread message

nkmathew

unread,
Jan 7, 2021, 4:49:25 AM1/7/21
to scite-interest
Drag and drop works for SciTE on Windows but not on Linux. Other tabbed GTK editors seem to be able to do this so I'm guessing it's something that hasn't been specifically implemented?

Neil Hodgson

unread,
Jan 7, 2021, 5:24:55 PM1/7/21
to scite-i...@googlegroups.com
nkmathew:

> Drag and drop works for SciTE on Windows but not on Linux.

The implementation on Windows is actually quite a lot of code because it subsets the Win32 tab control.

> Other tabbed GTK editors seem to be able to do this so I'm guessing it's something that hasn't been specifically implemented?

There isn’t a simple API to set tabs to be draggable so there’d have to be code to implement this. There are examples of drag and drop with GtkNotebook on the web although they seem more interested in dragging between notebooks.

Neil

Reply all
Reply to author
Forward
0 new messages