On Sep 28, 2007, at 1:58 PM, <lalong1 .at. bellsouth .DOT net> <lalong1@bellsouth.net> wrote:
> How do I access dGridDataTable? > > I tried the code below (and various other iterations) with no luck... > > from dGrid import dGridDataTable > > class distGrid(dabo.ui.dGrid): > def afterInit(self): > self._Table=distGridDataTable > > class distGridDataTable(dGridDataTable):
Well, it's a wxPython-specific implementation detail, so we did not expose it to the dabo.ui namespace. But for cases like this, I've added a classmethod to dGrid that will return a reference to this table class. So now you can use syntax such as:
class distGridDataTable(dabo.ui.dGrid.getTableClass()):
-- Ed Leafe -- http://leafe.com -- http://dabodev.com
©2007 Ed Leafe |