[IronPython] TabPages - misunderstanding or bug?

jeff sacksteder jsacksteder at gmail.com
Tue Jun 27 01:47:04 CEST 2006

The TabPages attribute of the TabControl class contains a collection of
TabPage objects. I was under the impression that individual tabs would be
accessable by index or key.  That is apparently not the case.
Is this a bug or a misunderstanding on my part?

>>> for p in tab_book.TabPages:
...     print p
TabPage: {foo}
TabPage: {bar}
TabPage: {baz}
>>> print tab_book.TabPages[1]
TabPage: {bar}
>>> print book.TabPages['bar']
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20060626/77d61650/attachment.html>

More information about the Ironpython-users mailing list