I have a GtkNotebook that will contain at the very least, one permanent tab, called “Search”. The widget within this page allows for more pages to be created, and these pages have a tab that contains a close button.
How do I make the tabs reorderable, but also keep the “Search” tab anchored at position 0? The current behavior of gtk.Notebook.set_tab_reorderable() is that it allows you to physically drag a tab to reorder it…it doesn’t stop that tab from being forced to reorder itself when a reorderable tab moves past it.
Example:
This first image is the default positions:

This image is the result of dragging Row#6( where Row#6 is reorderable but Search isn’t):

How do I keep “Search” from being reordered by ‘reorderable’ tabs?
Seems to me like a possible solution would be to connect to the
'page-reordered'signal like this:Hope it helps.