]> git.saurik.com Git - wxWidgets.git/blame - wxPython/wxPython/grid.py
IsVisible --> IsShownOnScreen
[wxWidgets.git] / wxPython / wxPython / grid.py
CommitLineData
d14a1e28
RD
1## This file reverse renames symbols in the wx package to give
2## them their wx prefix again, for backwards compatibility.
3##
237302e7 4## Generated by BuildRenamers in config.py
d14a1e28
RD
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.
9import sys
10_wx = None
11if sys.modules.has_key('wxPython.wx'):
12 _wx = sys.modules['wxPython.wx']
13 del sys.modules['wxPython.wx']
14
15import wx.grid
16
17sys.modules['wxPython.wx'] = _wx
18del sys, _wx
19
20
21# Now assign all the reverse-renamed names:
22wxGRID_VALUE_STRING = wx.grid.GRID_VALUE_STRING
23wxGRID_VALUE_BOOL = wx.grid.GRID_VALUE_BOOL
24wxGRID_VALUE_NUMBER = wx.grid.GRID_VALUE_NUMBER
25wxGRID_VALUE_FLOAT = wx.grid.GRID_VALUE_FLOAT
26wxGRID_VALUE_CHOICE = wx.grid.GRID_VALUE_CHOICE
27wxGRID_VALUE_TEXT = wx.grid.GRID_VALUE_TEXT
28wxGRID_VALUE_LONG = wx.grid.GRID_VALUE_LONG
29wxGRID_VALUE_CHOICEINT = wx.grid.GRID_VALUE_CHOICEINT
30wxGRID_VALUE_DATETIME = wx.grid.GRID_VALUE_DATETIME
31wxGridNoCellCoords = wx.grid.GridNoCellCoords
32wxGridNoCellRect = wx.grid.GridNoCellRect
b0f7404b
RD
33wxGRID_DEFAULT_NUMBER_ROWS = wx.grid.GRID_DEFAULT_NUMBER_ROWS
34wxGRID_DEFAULT_NUMBER_COLS = wx.grid.GRID_DEFAULT_NUMBER_COLS
35wxGRID_DEFAULT_ROW_HEIGHT = wx.grid.GRID_DEFAULT_ROW_HEIGHT
36wxGRID_DEFAULT_COL_WIDTH = wx.grid.GRID_DEFAULT_COL_WIDTH
37wxGRID_DEFAULT_COL_LABEL_HEIGHT = wx.grid.GRID_DEFAULT_COL_LABEL_HEIGHT
38wxGRID_DEFAULT_ROW_LABEL_WIDTH = wx.grid.GRID_DEFAULT_ROW_LABEL_WIDTH
39wxGRID_LABEL_EDGE_ZONE = wx.grid.GRID_LABEL_EDGE_ZONE
40wxGRID_MIN_ROW_HEIGHT = wx.grid.GRID_MIN_ROW_HEIGHT
41wxGRID_MIN_COL_WIDTH = wx.grid.GRID_MIN_COL_WIDTH
42wxGRID_DEFAULT_SCROLLBAR_WIDTH = wx.grid.GRID_DEFAULT_SCROLLBAR_WIDTH
607a3fa0 43wxGridCellWorker = wx.grid.GridCellWorker
d14a1e28
RD
44wxGridCellRenderer = wx.grid.GridCellRenderer
45wxPyGridCellRenderer = wx.grid.PyGridCellRenderer
46wxGridCellStringRenderer = wx.grid.GridCellStringRenderer
47wxGridCellNumberRenderer = wx.grid.GridCellNumberRenderer
48wxGridCellFloatRenderer = wx.grid.GridCellFloatRenderer
49wxGridCellBoolRenderer = wx.grid.GridCellBoolRenderer
50wxGridCellDateTimeRenderer = wx.grid.GridCellDateTimeRenderer
51wxGridCellEnumRenderer = wx.grid.GridCellEnumRenderer
52wxGridCellAutoWrapStringRenderer = wx.grid.GridCellAutoWrapStringRenderer
53wxGridCellEditor = wx.grid.GridCellEditor
54wxPyGridCellEditor = wx.grid.PyGridCellEditor
55wxGridCellTextEditor = wx.grid.GridCellTextEditor
56wxGridCellNumberEditor = wx.grid.GridCellNumberEditor
57wxGridCellFloatEditor = wx.grid.GridCellFloatEditor
58wxGridCellBoolEditor = wx.grid.GridCellBoolEditor
59wxGridCellChoiceEditor = wx.grid.GridCellChoiceEditor
60wxGridCellEnumEditor = wx.grid.GridCellEnumEditor
61wxGridCellAutoWrapStringEditor = wx.grid.GridCellAutoWrapStringEditor
62wxGridCellAttr = wx.grid.GridCellAttr
63wxGridCellAttrProvider = wx.grid.GridCellAttrProvider
64wxPyGridCellAttrProvider = wx.grid.PyGridCellAttrProvider
65wxGridTableBase = wx.grid.GridTableBase
66wxPyGridTableBase = wx.grid.PyGridTableBase
67wxGridStringTable = wx.grid.GridStringTable
68wxGRIDTABLE_REQUEST_VIEW_GET_VALUES = wx.grid.GRIDTABLE_REQUEST_VIEW_GET_VALUES
69wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES = wx.grid.GRIDTABLE_REQUEST_VIEW_SEND_VALUES
70wxGRIDTABLE_NOTIFY_ROWS_INSERTED = wx.grid.GRIDTABLE_NOTIFY_ROWS_INSERTED
71wxGRIDTABLE_NOTIFY_ROWS_APPENDED = wx.grid.GRIDTABLE_NOTIFY_ROWS_APPENDED
72wxGRIDTABLE_NOTIFY_ROWS_DELETED = wx.grid.GRIDTABLE_NOTIFY_ROWS_DELETED
73wxGRIDTABLE_NOTIFY_COLS_INSERTED = wx.grid.GRIDTABLE_NOTIFY_COLS_INSERTED
74wxGRIDTABLE_NOTIFY_COLS_APPENDED = wx.grid.GRIDTABLE_NOTIFY_COLS_APPENDED
75wxGRIDTABLE_NOTIFY_COLS_DELETED = wx.grid.GRIDTABLE_NOTIFY_COLS_DELETED
76wxGridTableMessage = wx.grid.GridTableMessage
77wxGridCellCoords = wx.grid.GridCellCoords
78wxGrid = wx.grid.Grid
ae662096 79wxPreGrid = wx.grid.PreGrid
22bfe96c 80wxGrid_GetClassDefaultAttributes = wx.grid.Grid_GetClassDefaultAttributes
d14a1e28
RD
81wxGridEvent = wx.grid.GridEvent
82wxGridSizeEvent = wx.grid.GridSizeEvent
83wxGridRangeSelectEvent = wx.grid.GridRangeSelectEvent
84wxGridEditorCreatedEvent = wx.grid.GridEditorCreatedEvent
85wxEVT_GRID_CELL_LEFT_CLICK = wx.grid.wxEVT_GRID_CELL_LEFT_CLICK
86wxEVT_GRID_CELL_RIGHT_CLICK = wx.grid.wxEVT_GRID_CELL_RIGHT_CLICK
87wxEVT_GRID_CELL_LEFT_DCLICK = wx.grid.wxEVT_GRID_CELL_LEFT_DCLICK
88wxEVT_GRID_CELL_RIGHT_DCLICK = wx.grid.wxEVT_GRID_CELL_RIGHT_DCLICK
89wxEVT_GRID_LABEL_LEFT_CLICK = wx.grid.wxEVT_GRID_LABEL_LEFT_CLICK
90wxEVT_GRID_LABEL_RIGHT_CLICK = wx.grid.wxEVT_GRID_LABEL_RIGHT_CLICK
91wxEVT_GRID_LABEL_LEFT_DCLICK = wx.grid.wxEVT_GRID_LABEL_LEFT_DCLICK
92wxEVT_GRID_LABEL_RIGHT_DCLICK = wx.grid.wxEVT_GRID_LABEL_RIGHT_DCLICK
93wxEVT_GRID_ROW_SIZE = wx.grid.wxEVT_GRID_ROW_SIZE
94wxEVT_GRID_COL_SIZE = wx.grid.wxEVT_GRID_COL_SIZE
95wxEVT_GRID_RANGE_SELECT = wx.grid.wxEVT_GRID_RANGE_SELECT
96wxEVT_GRID_CELL_CHANGE = wx.grid.wxEVT_GRID_CELL_CHANGE
97wxEVT_GRID_SELECT_CELL = wx.grid.wxEVT_GRID_SELECT_CELL
98wxEVT_GRID_EDITOR_SHOWN = wx.grid.wxEVT_GRID_EDITOR_SHOWN
99wxEVT_GRID_EDITOR_HIDDEN = wx.grid.wxEVT_GRID_EDITOR_HIDDEN
100wxEVT_GRID_EDITOR_CREATED = wx.grid.wxEVT_GRID_EDITOR_CREATED
4cf4100f 101wxEVT_GRID_CELL_BEGIN_DRAG = wx.grid.wxEVT_GRID_CELL_BEGIN_DRAG
d14a1e28
RD
102
103
104d = globals()
105for k, v in wx.grid.__dict__.iteritems():
106 if k.startswith('EVT'):
107 d[k] = v
108del d, k, v
109
110
111