[Tutor] wx.Notebook query in wxpython
Amresh Kulkarni
amresh.kulkarni at gmail.com
Thu Aug 10 19:59:25 CEST 2006
Hi all,
I am developing a GUI which has a notebook with multiple tabs. The tabs are
formed by adding pages to the notebook.
I have a check menu to select/deselect the tabs(pages) i want. On checking
on an item it will must show the respective tab and unchecking should hide
it.
Simple as it may sound, i cant seem to find a hide method for notebook.
Like if i have tabs x, y, z and i have unchecked x item in menu. it will
trigger the foll code
pageX = self.Notebook.GetPage(xid) --> xid is the id assigned to page x
xid.Show(False)
This does not work as there is no method show in Notebook. Is there a way to
make this work.
~~AMRESH~~
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20060810/382e3b09/attachment.html
More information about the Tutor
mailing list