]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wxPython/grid.py
minor demo tweaks
[wxWidgets.git] / wxPython / wxPython / grid.py
index 78d0f988d7757e01a491de922ec76d6ae375c6f6..fad91262026681d6018356f7fe454966623ae465 100644 (file)
@@ -19,7 +19,6 @@ del sys, _wx
 
 
 # Now assign all the reverse-renamed names:
-wxDateTimeFormatStr = wx.grid.DateTimeFormatStr
 wxGRID_VALUE_STRING = wx.grid.GRID_VALUE_STRING
 wxGRID_VALUE_BOOL = wx.grid.GRID_VALUE_BOOL
 wxGRID_VALUE_NUMBER = wx.grid.GRID_VALUE_NUMBER
@@ -31,64 +30,41 @@ wxGRID_VALUE_CHOICEINT = wx.grid.GRID_VALUE_CHOICEINT
 wxGRID_VALUE_DATETIME = wx.grid.GRID_VALUE_DATETIME
 wxGridNoCellCoords = wx.grid.GridNoCellCoords
 wxGridNoCellRect = wx.grid.GridNoCellRect
-WXGRID_DEFAULT_NUMBER_ROWS = wx.grid.WXGRID_DEFAULT_NUMBER_ROWS
-WXGRID_DEFAULT_NUMBER_COLS = wx.grid.WXGRID_DEFAULT_NUMBER_COLS
-WXGRID_DEFAULT_ROW_HEIGHT = wx.grid.WXGRID_DEFAULT_ROW_HEIGHT
-WXGRID_DEFAULT_COL_WIDTH = wx.grid.WXGRID_DEFAULT_COL_WIDTH
-WXGRID_DEFAULT_COL_LABEL_HEIGHT = wx.grid.WXGRID_DEFAULT_COL_LABEL_HEIGHT
-WXGRID_DEFAULT_ROW_LABEL_WIDTH = wx.grid.WXGRID_DEFAULT_ROW_LABEL_WIDTH
-WXGRID_LABEL_EDGE_ZONE = wx.grid.WXGRID_LABEL_EDGE_ZONE
-WXGRID_MIN_ROW_HEIGHT = wx.grid.WXGRID_MIN_ROW_HEIGHT
-WXGRID_MIN_COL_WIDTH = wx.grid.WXGRID_MIN_COL_WIDTH
-WXGRID_DEFAULT_SCROLLBAR_WIDTH = wx.grid.WXGRID_DEFAULT_SCROLLBAR_WIDTH
+wxGRID_DEFAULT_NUMBER_ROWS = wx.grid.GRID_DEFAULT_NUMBER_ROWS
+wxGRID_DEFAULT_NUMBER_COLS = wx.grid.GRID_DEFAULT_NUMBER_COLS
+wxGRID_DEFAULT_ROW_HEIGHT = wx.grid.GRID_DEFAULT_ROW_HEIGHT
+wxGRID_DEFAULT_COL_WIDTH = wx.grid.GRID_DEFAULT_COL_WIDTH
+wxGRID_DEFAULT_COL_LABEL_HEIGHT = wx.grid.GRID_DEFAULT_COL_LABEL_HEIGHT
+wxGRID_DEFAULT_ROW_LABEL_WIDTH = wx.grid.GRID_DEFAULT_ROW_LABEL_WIDTH
+wxGRID_LABEL_EDGE_ZONE = wx.grid.GRID_LABEL_EDGE_ZONE
+wxGRID_MIN_ROW_HEIGHT = wx.grid.GRID_MIN_ROW_HEIGHT
+wxGRID_MIN_COL_WIDTH = wx.grid.GRID_MIN_COL_WIDTH
+wxGRID_DEFAULT_SCROLLBAR_WIDTH = wx.grid.GRID_DEFAULT_SCROLLBAR_WIDTH
+wxGridCellWorker = wx.grid.GridCellWorker
 wxGridCellRenderer = wx.grid.GridCellRenderer
-wxGridCellRendererPtr = wx.grid.GridCellRendererPtr
 wxPyGridCellRenderer = wx.grid.PyGridCellRenderer
-wxPyGridCellRendererPtr = wx.grid.PyGridCellRendererPtr
 wxGridCellStringRenderer = wx.grid.GridCellStringRenderer
-wxGridCellStringRendererPtr = wx.grid.GridCellStringRendererPtr
 wxGridCellNumberRenderer = wx.grid.GridCellNumberRenderer
-wxGridCellNumberRendererPtr = wx.grid.GridCellNumberRendererPtr
 wxGridCellFloatRenderer = wx.grid.GridCellFloatRenderer
-wxGridCellFloatRendererPtr = wx.grid.GridCellFloatRendererPtr
 wxGridCellBoolRenderer = wx.grid.GridCellBoolRenderer
-wxGridCellBoolRendererPtr = wx.grid.GridCellBoolRendererPtr
 wxGridCellDateTimeRenderer = wx.grid.GridCellDateTimeRenderer
-wxGridCellDateTimeRendererPtr = wx.grid.GridCellDateTimeRendererPtr
 wxGridCellEnumRenderer = wx.grid.GridCellEnumRenderer
-wxGridCellEnumRendererPtr = wx.grid.GridCellEnumRendererPtr
 wxGridCellAutoWrapStringRenderer = wx.grid.GridCellAutoWrapStringRenderer
-wxGridCellAutoWrapStringRendererPtr = wx.grid.GridCellAutoWrapStringRendererPtr
 wxGridCellEditor = wx.grid.GridCellEditor
-wxGridCellEditorPtr = wx.grid.GridCellEditorPtr
 wxPyGridCellEditor = wx.grid.PyGridCellEditor
-wxPyGridCellEditorPtr = wx.grid.PyGridCellEditorPtr
 wxGridCellTextEditor = wx.grid.GridCellTextEditor
-wxGridCellTextEditorPtr = wx.grid.GridCellTextEditorPtr
 wxGridCellNumberEditor = wx.grid.GridCellNumberEditor
-wxGridCellNumberEditorPtr = wx.grid.GridCellNumberEditorPtr
 wxGridCellFloatEditor = wx.grid.GridCellFloatEditor
-wxGridCellFloatEditorPtr = wx.grid.GridCellFloatEditorPtr
 wxGridCellBoolEditor = wx.grid.GridCellBoolEditor
-wxGridCellBoolEditorPtr = wx.grid.GridCellBoolEditorPtr
 wxGridCellChoiceEditor = wx.grid.GridCellChoiceEditor
-wxGridCellChoiceEditorPtr = wx.grid.GridCellChoiceEditorPtr
 wxGridCellEnumEditor = wx.grid.GridCellEnumEditor
-wxGridCellEnumEditorPtr = wx.grid.GridCellEnumEditorPtr
 wxGridCellAutoWrapStringEditor = wx.grid.GridCellAutoWrapStringEditor
-wxGridCellAutoWrapStringEditorPtr = wx.grid.GridCellAutoWrapStringEditorPtr
 wxGridCellAttr = wx.grid.GridCellAttr
-wxGridCellAttrPtr = wx.grid.GridCellAttrPtr
 wxGridCellAttrProvider = wx.grid.GridCellAttrProvider
-wxGridCellAttrProviderPtr = wx.grid.GridCellAttrProviderPtr
 wxPyGridCellAttrProvider = wx.grid.PyGridCellAttrProvider
-wxPyGridCellAttrProviderPtr = wx.grid.PyGridCellAttrProviderPtr
 wxGridTableBase = wx.grid.GridTableBase
-wxGridTableBasePtr = wx.grid.GridTableBasePtr
 wxPyGridTableBase = wx.grid.PyGridTableBase
-wxPyGridTableBasePtr = wx.grid.PyGridTableBasePtr
 wxGridStringTable = wx.grid.GridStringTable
-wxGridStringTablePtr = wx.grid.GridStringTablePtr
 wxGRIDTABLE_REQUEST_VIEW_GET_VALUES = wx.grid.GRIDTABLE_REQUEST_VIEW_GET_VALUES
 wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES = wx.grid.GRIDTABLE_REQUEST_VIEW_SEND_VALUES
 wxGRIDTABLE_NOTIFY_ROWS_INSERTED = wx.grid.GRIDTABLE_NOTIFY_ROWS_INSERTED
@@ -98,21 +74,14 @@ wxGRIDTABLE_NOTIFY_COLS_INSERTED = wx.grid.GRIDTABLE_NOTIFY_COLS_INSERTED
 wxGRIDTABLE_NOTIFY_COLS_APPENDED = wx.grid.GRIDTABLE_NOTIFY_COLS_APPENDED
 wxGRIDTABLE_NOTIFY_COLS_DELETED = wx.grid.GRIDTABLE_NOTIFY_COLS_DELETED
 wxGridTableMessage = wx.grid.GridTableMessage
-wxGridTableMessagePtr = wx.grid.GridTableMessagePtr
 wxGridCellCoords = wx.grid.GridCellCoords
-wxGridCellCoordsPtr = wx.grid.GridCellCoordsPtr
 wxGrid = wx.grid.Grid
-wxGridPtr = wx.grid.GridPtr
 wxPreGrid = wx.grid.PreGrid
 wxGrid_GetClassDefaultAttributes = wx.grid.Grid_GetClassDefaultAttributes
 wxGridEvent = wx.grid.GridEvent
-wxGridEventPtr = wx.grid.GridEventPtr
 wxGridSizeEvent = wx.grid.GridSizeEvent
-wxGridSizeEventPtr = wx.grid.GridSizeEventPtr
 wxGridRangeSelectEvent = wx.grid.GridRangeSelectEvent
-wxGridRangeSelectEventPtr = wx.grid.GridRangeSelectEventPtr
 wxGridEditorCreatedEvent = wx.grid.GridEditorCreatedEvent
-wxGridEditorCreatedEventPtr = wx.grid.GridEditorCreatedEventPtr
 wxEVT_GRID_CELL_LEFT_CLICK = wx.grid.wxEVT_GRID_CELL_LEFT_CLICK
 wxEVT_GRID_CELL_RIGHT_CLICK = wx.grid.wxEVT_GRID_CELL_RIGHT_CLICK
 wxEVT_GRID_CELL_LEFT_DCLICK = wx.grid.wxEVT_GRID_CELL_LEFT_DCLICK
@@ -129,6 +98,7 @@ wxEVT_GRID_SELECT_CELL = wx.grid.wxEVT_GRID_SELECT_CELL
 wxEVT_GRID_EDITOR_SHOWN = wx.grid.wxEVT_GRID_EDITOR_SHOWN
 wxEVT_GRID_EDITOR_HIDDEN = wx.grid.wxEVT_GRID_EDITOR_HIDDEN
 wxEVT_GRID_EDITOR_CREATED = wx.grid.wxEVT_GRID_EDITOR_CREATED
+wxEVT_GRID_CELL_BEGIN_DRAG = wx.grid.wxEVT_GRID_CELL_BEGIN_DRAG
 
 
 d = globals()