Here's the answer:
from enthought.traits.api import HasTraits, Str, List, Button, Any
from enthought.traits.ui.api import View, Item
from enthought.traits.ui.api import ListEditor
class A(HasTraits):
StringA = Str
view = View(Item('StringA'))
class B(HasTraits):
StringB = Str
view
Did you consider using xlrd and xlwt?
I guess these package provide a solution to your problem.
--
https://mail.python.org/mailman/listinfo/python-list
Enthought.traits !! http://code.enthought.com/projects/traits/
I started using traits a couple of months ago and I really like it.
Traits provides a framework which creates a UI based on your data structures.
Using some "hints" you can do anything you want. Just check out their website
and try t
Hi,
I have a traits application with a tabbed group:
Group(
Group(label="a", dock='tab'),
Group(label="b", dock='tab'),
layout='tabbed')
Beneath the tabbed group, there is button which should perform some action
depending on the selected tab.
So I would like to know which of both tabs, 'a' or '