]> git.saurik.com Git - wxWidgets.git/blob - wxPython/wxPython/grid.py
6e1b8a530cddb756cd0453f23966d03dc4b0c918
[wxWidgets.git] / wxPython / wxPython / grid.py
1 ## This file reverse renames symbols in the wx package to give
2 ## them their wx prefix again, for backwards compatibility.
3 ##
4 ## Generated by ./distrib/build_renamers.py
5
6 # This silly stuff here is so the wxPython.wx module doesn't conflict
7 # with the wx package. We need to import modules from the wx package
8 # here, then we'll put the wxPython.wx entry back in sys.modules.
9 import sys
10 _wx = None
11 if sys.modules.has_key('wxPython.wx'):
12 _wx = sys.modules['wxPython.wx']
13 del sys.modules['wxPython.wx']
14
15 import wx.grid
16
17 sys.modules['wxPython.wx'] = _wx
18 del sys, _wx
19
20
21 # Now assign all the reverse-renamed names:
22 wxGRID_VALUE_STRING = wx.grid.GRID_VALUE_STRING
23 wxGRID_VALUE_BOOL = wx.grid.GRID_VALUE_BOOL
24 wxGRID_VALUE_NUMBER = wx.grid.GRID_VALUE_NUMBER
25 wxGRID_VALUE_FLOAT = wx.grid.GRID_VALUE_FLOAT
26 wxGRID_VALUE_CHOICE = wx.grid.GRID_VALUE_CHOICE
27 wxGRID_VALUE_TEXT = wx.grid.GRID_VALUE_TEXT
28 wxGRID_VALUE_LONG = wx.grid.GRID_VALUE_LONG
29 wxGRID_VALUE_CHOICEINT = wx.grid.GRID_VALUE_CHOICEINT
30 wxGRID_VALUE_DATETIME = wx.grid.GRID_VALUE_DATETIME
31 wxGridNoCellCoords = wx.grid.GridNoCellCoords
32 wxGridNoCellRect = wx.grid.GridNoCellRect
33 wxGridCellRenderer = wx.grid.GridCellRenderer
34 wxPyGridCellRenderer = wx.grid.PyGridCellRenderer
35 wxGridCellStringRenderer = wx.grid.GridCellStringRenderer
36 wxGridCellNumberRenderer = wx.grid.GridCellNumberRenderer
37 wxGridCellFloatRenderer = wx.grid.GridCellFloatRenderer
38 wxGridCellBoolRenderer = wx.grid.GridCellBoolRenderer
39 wxGridCellDateTimeRenderer = wx.grid.GridCellDateTimeRenderer
40 wxGridCellEnumRenderer = wx.grid.GridCellEnumRenderer
41 wxGridCellAutoWrapStringRenderer = wx.grid.GridCellAutoWrapStringRenderer
42 wxGridCellEditor = wx.grid.GridCellEditor
43 wxPyGridCellEditor = wx.grid.PyGridCellEditor
44 wxGridCellTextEditor = wx.grid.GridCellTextEditor
45 wxGridCellNumberEditor = wx.grid.GridCellNumberEditor
46 wxGridCellFloatEditor = wx.grid.GridCellFloatEditor
47 wxGridCellBoolEditor = wx.grid.GridCellBoolEditor
48 wxGridCellChoiceEditor = wx.grid.GridCellChoiceEditor
49 wxGridCellEnumEditor = wx.grid.GridCellEnumEditor
50 wxGridCellAutoWrapStringEditor = wx.grid.GridCellAutoWrapStringEditor
51 wxGridCellAttr = wx.grid.GridCellAttr
52 wxGridCellAttrProvider = wx.grid.GridCellAttrProvider
53 wxPyGridCellAttrProvider = wx.grid.PyGridCellAttrProvider
54 wxGridTableBase = wx.grid.GridTableBase
55 wxPyGridTableBase = wx.grid.PyGridTableBase
56 wxGridStringTable = wx.grid.GridStringTable
57 wxGRIDTABLE_REQUEST_VIEW_GET_VALUES = wx.grid.GRIDTABLE_REQUEST_VIEW_GET_VALUES
58 wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES = wx.grid.GRIDTABLE_REQUEST_VIEW_SEND_VALUES
59 wxGRIDTABLE_NOTIFY_ROWS_INSERTED = wx.grid.GRIDTABLE_NOTIFY_ROWS_INSERTED
60 wxGRIDTABLE_NOTIFY_ROWS_APPENDED = wx.grid.GRIDTABLE_NOTIFY_ROWS_APPENDED
61 wxGRIDTABLE_NOTIFY_ROWS_DELETED = wx.grid.GRIDTABLE_NOTIFY_ROWS_DELETED
62 wxGRIDTABLE_NOTIFY_COLS_INSERTED = wx.grid.GRIDTABLE_NOTIFY_COLS_INSERTED
63 wxGRIDTABLE_NOTIFY_COLS_APPENDED = wx.grid.GRIDTABLE_NOTIFY_COLS_APPENDED
64 wxGRIDTABLE_NOTIFY_COLS_DELETED = wx.grid.GRIDTABLE_NOTIFY_COLS_DELETED
65 wxGridTableMessage = wx.grid.GridTableMessage
66 wxGridCellCoords = wx.grid.GridCellCoords
67 wxGrid = wx.grid.Grid
68 wxGridEvent = wx.grid.GridEvent
69 wxGridSizeEvent = wx.grid.GridSizeEvent
70 wxGridRangeSelectEvent = wx.grid.GridRangeSelectEvent
71 wxGridEditorCreatedEvent = wx.grid.GridEditorCreatedEvent
72 wxEVT_GRID_CELL_LEFT_CLICK = wx.grid.wxEVT_GRID_CELL_LEFT_CLICK
73 wxEVT_GRID_CELL_RIGHT_CLICK = wx.grid.wxEVT_GRID_CELL_RIGHT_CLICK
74 wxEVT_GRID_CELL_LEFT_DCLICK = wx.grid.wxEVT_GRID_CELL_LEFT_DCLICK
75 wxEVT_GRID_CELL_RIGHT_DCLICK = wx.grid.wxEVT_GRID_CELL_RIGHT_DCLICK
76 wxEVT_GRID_LABEL_LEFT_CLICK = wx.grid.wxEVT_GRID_LABEL_LEFT_CLICK
77 wxEVT_GRID_LABEL_RIGHT_CLICK = wx.grid.wxEVT_GRID_LABEL_RIGHT_CLICK
78 wxEVT_GRID_LABEL_LEFT_DCLICK = wx.grid.wxEVT_GRID_LABEL_LEFT_DCLICK
79 wxEVT_GRID_LABEL_RIGHT_DCLICK = wx.grid.wxEVT_GRID_LABEL_RIGHT_DCLICK
80 wxEVT_GRID_ROW_SIZE = wx.grid.wxEVT_GRID_ROW_SIZE
81 wxEVT_GRID_COL_SIZE = wx.grid.wxEVT_GRID_COL_SIZE
82 wxEVT_GRID_RANGE_SELECT = wx.grid.wxEVT_GRID_RANGE_SELECT
83 wxEVT_GRID_CELL_CHANGE = wx.grid.wxEVT_GRID_CELL_CHANGE
84 wxEVT_GRID_SELECT_CELL = wx.grid.wxEVT_GRID_SELECT_CELL
85 wxEVT_GRID_EDITOR_SHOWN = wx.grid.wxEVT_GRID_EDITOR_SHOWN
86 wxEVT_GRID_EDITOR_HIDDEN = wx.grid.wxEVT_GRID_EDITOR_HIDDEN
87 wxEVT_GRID_EDITOR_CREATED = wx.grid.wxEVT_GRID_EDITOR_CREATED
88
89
90 d = globals()
91 for k, v in wx.grid.__dict__.iteritems():
92 if k.startswith('EVT'):
93 d[k] = v
94 del d, k, v
95
96
97