This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author amaury.forgeotdarc
Recipients amaury.forgeotdarc, georg.brandl, rhettinger, tweiler
Date 2009-04-06.23:43:36
SpamBayes Score 3.7463287e-05
Marked as misclassified No
Message-id <1239061419.11.0.893574566721.issue5579@psf.upfronthosting.co.za>
In-reply-to
Content
For this usage I'd suggest a class.
See http://www.python.org/dev/peps/pep-3115/ the example 
containing "OrderedClass".
With a little work, your code could look like:

class Interface(TabbedPane):
   class FirstTab(Pane):
        label = 'First Tab'
        LineEdit('First Name', length=20)
        LineEdit('Last Name', length=30)
        ComboBox('Title', length=10,
                 list=['Mr', 'Mrs', 'Ms', 'Dr', 'BDFL'])
   class SecondTab(Pane):
        label = 'Second Tab'
        LineEdit('City', length=20)
        LineEdit('Street', length=30)
History
Date User Action Args
2009-04-06 23:43:39amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, georg.brandl, rhettinger, tweiler
2009-04-06 23:43:39amaury.forgeotdarcsetmessageid: <1239061419.11.0.893574566721.issue5579@psf.upfronthosting.co.za>
2009-04-06 23:43:37amaury.forgeotdarclinkissue5579 messages
2009-04-06 23:43:36amaury.forgeotdarccreate