Message85677
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) |
|
Date |
User |
Action |
Args |
2009-04-06 23:43:39 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, georg.brandl, rhettinger, tweiler |
2009-04-06 23:43:39 | amaury.forgeotdarc | set | messageid: <1239061419.11.0.893574566721.issue5579@psf.upfronthosting.co.za> |
2009-04-06 23:43:37 | amaury.forgeotdarc | link | issue5579 messages |
2009-04-06 23:43:36 | amaury.forgeotdarc | create | |
|