Notebook: Reorderable tabs, how does it work ?
- From: Mildred Ki'Lya <ml mildred593 online fr>
- To: gtk-list gnome org
- Subject: Notebook: Reorderable tabs, how does it work ?
- Date: Wed, 3 Sep 2008 17:58:21 +0200
Hi,
I have an issue with the Notebook widget. It seems that tabs can be
reorderable, but I can't see how to do it.
http://library.gnome.org/devel/gtk/2.13/GtkNotebook.html#gtk-notebook-set-tab-reorderable
http://www.pygtk.org/docs/pygtk/class-gtknotebook.html#method-gtknotebook--set-tab-reorderable
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):
http://pastebin.com/f4bb4e03b
I took it almost completely from the example in the tutorial:
http://www.pygtk.org/pygtk2tutorial/sec-Notebooks.html
Thanks for any ideas on how to proceed.
Mildred
--
Mildred Ki'Lya
╭───────── mildred593@online.fr ──────────
│ Jabber, GoogleTalk: <mildred jabber fr>
│ Site: <http://ki.lya.online.fr> 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]