X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/299647acac7960652aadb008775429c1f8ea9b8d..313feadc84cdf5501da71c41178c35bb7bed32eb:/wxPython/demo/Grid.py?ds=sidebyside diff --git a/wxPython/demo/Grid.py b/wxPython/demo/Grid.py index 78eae6b678..d2c1af22e9 100644 --- a/wxPython/demo/Grid.py +++ b/wxPython/demo/Grid.py @@ -1,20 +1,16 @@ -# 11/18/2003 - Jeff Grimmett (grimmtooth@softhome.net) -# -# o Updated for wx namespace -# import wx #--------------------------------------------------------------------------- buttonDefs = { - 814 : ('GridSimple', ' Simple wxGrid, catching all events '), - 815 : ('GridStdEdRend', ' wxGrid showing Editors and Renderers '), - 818 : ('GridHugeTable', ' A wxGrid with a HUGE table (100 MILLION cells!) '), - 817 : ('GridCustTable', ' wxGrid using a custom Table, with non-string data '), + 814 : ('GridSimple', ' Simple wx.Grid, catching all events '), + 815 : ('GridStdEdRend', ' wx.Grid showing Editors and Renderers '), + 818 : ('GridHugeTable', ' A wx.Grid with a HUGE table (100 MILLION cells!) '), + 817 : ('GridCustTable', ' wx.Grid using a custom Table, with non-string data '), 819 : ('GridEnterHandler',' Remapping keys to behave differently '), 820 : ('GridCustEditor', ' Shows how to create a custom Cell Editor '), - 821 : ('GridDragable', ' A wxGrid with dragable rows and columns '), + 821 : ('GridDragable', ' A wx.Grid with dragable rows and columns '), 822 : ('GridDragAndDrop', ' Shows how to make a grid a drop target for files'), } @@ -58,12 +54,12 @@ def runTest(frame, nb, log): overview = """\
-You can look at the sources for these samples to learn a lot about how @@ -100,5 +96,5 @@ and wrapping around to the next row when needed. if __name__ == '__main__': import sys,os import run - run.main(['', os.path.basename(sys.argv[0])]) + run.main(['', os.path.basename(sys.argv[0])] + sys.argv[1:])