wxNotebook question

Gandalf gandalf at geochemsource.com
Fri Jan 30 02:23:26 EST 2004


>
>
>> How can I hide/show a page (wxNotebookPage) invisible of a 
>> wx.wxNotebook instance?
>> There is a GetPage() method which returns a wxNotebookPage but I 
>> could not find
>> any documentation in the help about this class. 
>
>
> I use:
> C:\Python23\Lib\site-packages\wxPython\docs\wx.chm
> always, but
> http://www.orbtech.com/www/wx/epydoc/
> is great, and shows inherited properties


Thanks, epydoc is the best. (Note: I meant wxNotebookPage, there is no
doc about wxNotebookPage in the wx.chm)

>> I thought there will be a 'SetVisible'
>> or 'SetTabvisible' method but it seems to be a proxy for the root 
>> control on that page.
>> So I cannot even get method names by dir(self.notebook.GetPage(0)).
>
>
> Check the "Show()" method
> Show <wx.Window-class.htm#Show>(self, show)
> (inherited from Window <wx.Window-class.htm>) 

Thanks. I was blind. I searched the docs but I looked for 'Visible' only.
Bad habit from a Delphi programmer. :-)

   G
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20040130/f8169d23/attachment.html>


More information about the Python-list mailing list