git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33331
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
class HugeTable(gridlib.PyGridTableBase):
class HugeTable(gridlib.PyGridTableBase):
- """
- This is all it takes to make a custom data table to plug into a
- wxGrid. There are many more methods that can be overridden, but
- the ones shown below are the required ones. This table simply
- provides strings containing the row and column values.
- """
-
def __init__(self, log):
gridlib.PyGridTableBase.__init__(self)
self.log = log
def __init__(self, log):
gridlib.PyGridTableBase.__init__(self)
self.log = log
attr.IncRef()
return attr
attr.IncRef()
return attr
+
+
+ # This is all it takes to make a custom data table to plug into a
+ # wxGrid. There are many more methods that can be overridden, but
+ # the ones shown below are the required ones. This table simply
+ # provides strings containing the row and column values.
+
def GetNumberRows(self):
return 10000
def GetNumberRows(self):
return 10000