Notebook: Reorderable tabs, how does it work ?

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

 



Hi,
I have an issue with the Notebook widget. It seems that tabs can bereorderable, but I can't see how to do it.
http://library.gnome.org/devel/gtk/2.13/GtkNotebook.html#gtk-notebook-set-tab-reorderablehttp://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/f4bb4e03bI 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@xxxxxxxxx>│ Site: <http://ki.lya.online.fr>              GPG ID: 9A7D 2E2B│ Fingerprint: 197C A7E6 645B 4299 6D37 684B 6F9D A8D6 9A7D 2E2B_______________________________________________gtk-list mailing listgtk-list@xxxxxxxxxxxxx://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux