Notebook: Reorderable tabs, how does it work ?


I have an issue with the Notebook widget. It seems that tabs can be
reorderable, but I can't see how to do it.

There is a function `set_tab_reorderable', but it takes a `child'
argument, and the documentation is not very clear about it.

I tried to do something like

    self.notebook = gtk.Notebook()
    self.notebook.set_tab_reorderable(self.notebook, True)

but it doesn't work at all.

I couldn't find any more information on Google about it either.

Here is my source code (in Python):
I took it almost completely from the example in the tutorial:

Thanks for any ideas on how to proceed.


Mildred Ki'Lya
╭───────── ──────────
│ Jabber, GoogleTalk: <mildred jabber fr>
│ Site: <>              GPG ID: 9A7D 2E2B
│ Fingerprint: 197C A7E6 645B 4299 6D37 684B 6F9D A8D6 9A7D 2E2B

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]