]>
Commit | Line | Data |
---|---|---|
32fe5131 | 1 | # This file was created automatically by SWIG 1.3.27. |
d14a1e28 RD |
2 | # Don't modify this file, modify the SWIG interface instead. |
3 | ||
db3e571a RD |
4 | """ |
5 | Classes for implementing a spreadsheet-like control. | |
6 | """ | |
7 | ||
d14a1e28 RD |
8 | import _grid |
9 | ||
093d3ff1 RD |
10 | def _swig_setattr_nondynamic(self,class_type,name,value,static=1): |
11 | if (name == "this"): | |
12 | if isinstance(value, class_type): | |
13 | self.__dict__[name] = value.this | |
14 | if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown | |
15 | del value.thisown | |
16 | return | |
17 | method = class_type.__swig_setmethods__.get(name,None) | |
18 | if method: return method(self,value) | |
19 | if (not static) or hasattr(self,name) or (name == "thisown"): | |
20 | self.__dict__[name] = value | |
21 | else: | |
22 | raise AttributeError("You cannot add attributes to %s" % self) | |
23 | ||
24 | def _swig_setattr(self,class_type,name,value): | |
25 | return _swig_setattr_nondynamic(self,class_type,name,value,0) | |
26 | ||
27 | def _swig_getattr(self,class_type,name): | |
28 | method = class_type.__swig_getmethods__.get(name,None) | |
29 | if method: return method(self) | |
30 | raise AttributeError,name | |
31 | ||
32 | import types | |
33 | try: | |
34 | _object = types.ObjectType | |
35 | _newclass = 1 | |
36 | except AttributeError: | |
37 | class _object : pass | |
38 | _newclass = 0 | |
39 | del types | |
40 | ||
41 | ||
42 | def _swig_setattr_nondynamic_method(set): | |
43 | def set_attr(self,name,value): | |
44 | if hasattr(self,name) or (name in ("this", "thisown")): | |
45 | set(self,name,value) | |
46 | else: | |
47 | raise AttributeError("You cannot add attributes to %s" % self) | |
48 | return set_attr | |
49 | ||
50 | ||
54f9ee45 RD |
51 | import _windows |
52 | import _core | |
53 | wx = _core | |
66c033b4 | 54 | __docfilter__ = wx.__DocFilter(globals()) |
d14a1e28 RD |
55 | GRID_VALUE_STRING = _grid.GRID_VALUE_STRING |
56 | GRID_VALUE_BOOL = _grid.GRID_VALUE_BOOL | |
57 | GRID_VALUE_NUMBER = _grid.GRID_VALUE_NUMBER | |
58 | GRID_VALUE_FLOAT = _grid.GRID_VALUE_FLOAT | |
59 | GRID_VALUE_CHOICE = _grid.GRID_VALUE_CHOICE | |
60 | GRID_VALUE_TEXT = _grid.GRID_VALUE_TEXT | |
61 | GRID_VALUE_LONG = _grid.GRID_VALUE_LONG | |
62 | GRID_VALUE_CHOICEINT = _grid.GRID_VALUE_CHOICEINT | |
63 | GRID_VALUE_DATETIME = _grid.GRID_VALUE_DATETIME | |
0dcf9a74 RD |
64 | GRID_DEFAULT_NUMBER_ROWS = _grid.GRID_DEFAULT_NUMBER_ROWS |
65 | GRID_DEFAULT_NUMBER_COLS = _grid.GRID_DEFAULT_NUMBER_COLS | |
66 | GRID_DEFAULT_ROW_HEIGHT = _grid.GRID_DEFAULT_ROW_HEIGHT | |
67 | GRID_DEFAULT_COL_WIDTH = _grid.GRID_DEFAULT_COL_WIDTH | |
68 | GRID_DEFAULT_COL_LABEL_HEIGHT = _grid.GRID_DEFAULT_COL_LABEL_HEIGHT | |
69 | GRID_DEFAULT_ROW_LABEL_WIDTH = _grid.GRID_DEFAULT_ROW_LABEL_WIDTH | |
70 | GRID_LABEL_EDGE_ZONE = _grid.GRID_LABEL_EDGE_ZONE | |
71 | GRID_MIN_ROW_HEIGHT = _grid.GRID_MIN_ROW_HEIGHT | |
72 | GRID_MIN_COL_WIDTH = _grid.GRID_MIN_COL_WIDTH | |
73 | GRID_DEFAULT_SCROLLBAR_WIDTH = _grid.GRID_DEFAULT_SCROLLBAR_WIDTH | |
d14a1e28 | 74 | class GridCellRenderer(object): |
093d3ff1 | 75 | """Proxy of C++ GridCellRenderer class""" |
d14a1e28 | 76 | def __init__(self): raise RuntimeError, "No constructor defined" |
f6bcfd97 | 77 | def __repr__(self): |
d14a1e28 | 78 | return "<%s.%s; proxy of C++ wxGridCellRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) |
e811c8ce | 79 | def _setOORInfo(*args, **kwargs): |
a95a7133 | 80 | """_setOORInfo(self, PyObject _self)""" |
e811c8ce RD |
81 | return _grid.GridCellRenderer__setOORInfo(*args, **kwargs) |
82 | ||
83 | def SetParameters(*args, **kwargs): | |
a95a7133 | 84 | """SetParameters(self, String params)""" |
e811c8ce RD |
85 | return _grid.GridCellRenderer_SetParameters(*args, **kwargs) |
86 | ||
87 | def IncRef(*args, **kwargs): | |
a95a7133 | 88 | """IncRef(self)""" |
e811c8ce RD |
89 | return _grid.GridCellRenderer_IncRef(*args, **kwargs) |
90 | ||
91 | def DecRef(*args, **kwargs): | |
a95a7133 | 92 | """DecRef(self)""" |
e811c8ce RD |
93 | return _grid.GridCellRenderer_DecRef(*args, **kwargs) |
94 | ||
95 | def Draw(*args, **kwargs): | |
0df68c9f | 96 | """ |
a95a7133 | 97 | Draw(self, Grid grid, GridCellAttr attr, DC dc, Rect rect, int row, |
0df68c9f RD |
98 | int col, bool isSelected) |
99 | """ | |
e811c8ce RD |
100 | return _grid.GridCellRenderer_Draw(*args, **kwargs) |
101 | ||
102 | def GetBestSize(*args, **kwargs): | |
a95a7133 | 103 | """GetBestSize(self, Grid grid, GridCellAttr attr, DC dc, int row, int col) -> Size""" |
e811c8ce RD |
104 | return _grid.GridCellRenderer_GetBestSize(*args, **kwargs) |
105 | ||
106 | def Clone(*args, **kwargs): | |
a95a7133 | 107 | """Clone(self) -> GridCellRenderer""" |
e811c8ce RD |
108 | return _grid.GridCellRenderer_Clone(*args, **kwargs) |
109 | ||
d14a1e28 RD |
110 | |
111 | class GridCellRendererPtr(GridCellRenderer): | |
112 | def __init__(self, this): | |
113 | self.this = this | |
114 | if not hasattr(self,"thisown"): self.thisown = 0 | |
115 | self.__class__ = GridCellRenderer | |
116 | _grid.GridCellRenderer_swigregister(GridCellRendererPtr) | |
117 | cvar = _grid.cvar | |
118 | GridNoCellCoords = cvar.GridNoCellCoords | |
119 | GridNoCellRect = cvar.GridNoCellRect | |
120 | ||
121 | class PyGridCellRenderer(GridCellRenderer): | |
093d3ff1 | 122 | """Proxy of C++ PyGridCellRenderer class""" |
e811c8ce RD |
123 | def __repr__(self): |
124 | return "<%s.%s; proxy of C++ wxPyGridCellRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 125 | def __init__(self, *args, **kwargs): |
a95a7133 | 126 | """__init__(self) -> PyGridCellRenderer""" |
d14a1e28 RD |
127 | newobj = _grid.new_PyGridCellRenderer(*args, **kwargs) |
128 | self.this = newobj.this | |
f6bcfd97 | 129 | self.thisown = 1 |
d14a1e28 RD |
130 | del newobj.thisown |
131 | self._setCallbackInfo(self, PyGridCellRenderer);self._setOORInfo(self) | |
e811c8ce RD |
132 | |
133 | def _setCallbackInfo(*args, **kwargs): | |
a95a7133 | 134 | """_setCallbackInfo(self, PyObject self, PyObject _class)""" |
e811c8ce RD |
135 | return _grid.PyGridCellRenderer__setCallbackInfo(*args, **kwargs) |
136 | ||
c26d9ab4 RD |
137 | def SetParameters(*args, **kwargs): |
138 | """SetParameters(self, String params)""" | |
139 | return _grid.PyGridCellRenderer_SetParameters(*args, **kwargs) | |
140 | ||
141 | def base_SetParameters(*args, **kw): | |
142 | return PyGridCellRenderer.SetParameters(*args, **kw) | |
143 | base_SetParameters = wx._deprecated(base_SetParameters, | |
144 | "Please use PyGridCellRenderer.SetParameters instead.") | |
e811c8ce | 145 | |
f6bcfd97 | 146 | |
d14a1e28 RD |
147 | class PyGridCellRendererPtr(PyGridCellRenderer): |
148 | def __init__(self, this): | |
f6bcfd97 | 149 | self.this = this |
d14a1e28 RD |
150 | if not hasattr(self,"thisown"): self.thisown = 0 |
151 | self.__class__ = PyGridCellRenderer | |
152 | _grid.PyGridCellRenderer_swigregister(PyGridCellRendererPtr) | |
153 | ||
154 | class GridCellStringRenderer(GridCellRenderer): | |
093d3ff1 | 155 | """Proxy of C++ GridCellStringRenderer class""" |
e811c8ce RD |
156 | def __repr__(self): |
157 | return "<%s.%s; proxy of C++ wxGridCellStringRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 158 | def __init__(self, *args, **kwargs): |
a95a7133 | 159 | """__init__(self) -> GridCellStringRenderer""" |
d14a1e28 RD |
160 | newobj = _grid.new_GridCellStringRenderer(*args, **kwargs) |
161 | self.this = newobj.this | |
f6bcfd97 | 162 | self.thisown = 1 |
d14a1e28 | 163 | del newobj.thisown |
b98a5dfc | 164 | self._setOORInfo(self) |
e811c8ce | 165 | |
f6bcfd97 | 166 | |
d14a1e28 RD |
167 | class GridCellStringRendererPtr(GridCellStringRenderer): |
168 | def __init__(self, this): | |
f6bcfd97 | 169 | self.this = this |
d14a1e28 RD |
170 | if not hasattr(self,"thisown"): self.thisown = 0 |
171 | self.__class__ = GridCellStringRenderer | |
172 | _grid.GridCellStringRenderer_swigregister(GridCellStringRendererPtr) | |
173 | ||
174 | class GridCellNumberRenderer(GridCellStringRenderer): | |
093d3ff1 | 175 | """Proxy of C++ GridCellNumberRenderer class""" |
e811c8ce RD |
176 | def __repr__(self): |
177 | return "<%s.%s; proxy of C++ wxGridCellNumberRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 178 | def __init__(self, *args, **kwargs): |
a95a7133 | 179 | """__init__(self) -> GridCellNumberRenderer""" |
d14a1e28 RD |
180 | newobj = _grid.new_GridCellNumberRenderer(*args, **kwargs) |
181 | self.this = newobj.this | |
f6bcfd97 | 182 | self.thisown = 1 |
d14a1e28 | 183 | del newobj.thisown |
b98a5dfc | 184 | self._setOORInfo(self) |
e811c8ce | 185 | |
f6bcfd97 | 186 | |
d14a1e28 RD |
187 | class GridCellNumberRendererPtr(GridCellNumberRenderer): |
188 | def __init__(self, this): | |
f6bcfd97 | 189 | self.this = this |
d14a1e28 RD |
190 | if not hasattr(self,"thisown"): self.thisown = 0 |
191 | self.__class__ = GridCellNumberRenderer | |
192 | _grid.GridCellNumberRenderer_swigregister(GridCellNumberRendererPtr) | |
193 | ||
194 | class GridCellFloatRenderer(GridCellStringRenderer): | |
093d3ff1 | 195 | """Proxy of C++ GridCellFloatRenderer class""" |
e811c8ce RD |
196 | def __repr__(self): |
197 | return "<%s.%s; proxy of C++ wxGridCellFloatRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 198 | def __init__(self, *args, **kwargs): |
a95a7133 | 199 | """__init__(self, int width=-1, int precision=-1) -> GridCellFloatRenderer""" |
d14a1e28 RD |
200 | newobj = _grid.new_GridCellFloatRenderer(*args, **kwargs) |
201 | self.this = newobj.this | |
f6bcfd97 | 202 | self.thisown = 1 |
d14a1e28 | 203 | del newobj.thisown |
b98a5dfc | 204 | self._setOORInfo(self) |
e811c8ce RD |
205 | |
206 | def GetWidth(*args, **kwargs): | |
a95a7133 | 207 | """GetWidth(self) -> int""" |
e811c8ce RD |
208 | return _grid.GridCellFloatRenderer_GetWidth(*args, **kwargs) |
209 | ||
210 | def SetWidth(*args, **kwargs): | |
a95a7133 | 211 | """SetWidth(self, int width)""" |
e811c8ce RD |
212 | return _grid.GridCellFloatRenderer_SetWidth(*args, **kwargs) |
213 | ||
214 | def GetPrecision(*args, **kwargs): | |
a95a7133 | 215 | """GetPrecision(self) -> int""" |
e811c8ce RD |
216 | return _grid.GridCellFloatRenderer_GetPrecision(*args, **kwargs) |
217 | ||
218 | def SetPrecision(*args, **kwargs): | |
a95a7133 | 219 | """SetPrecision(self, int precision)""" |
e811c8ce RD |
220 | return _grid.GridCellFloatRenderer_SetPrecision(*args, **kwargs) |
221 | ||
f6bcfd97 | 222 | |
d14a1e28 RD |
223 | class GridCellFloatRendererPtr(GridCellFloatRenderer): |
224 | def __init__(self, this): | |
059a841c | 225 | self.this = this |
d14a1e28 RD |
226 | if not hasattr(self,"thisown"): self.thisown = 0 |
227 | self.__class__ = GridCellFloatRenderer | |
228 | _grid.GridCellFloatRenderer_swigregister(GridCellFloatRendererPtr) | |
229 | ||
230 | class GridCellBoolRenderer(GridCellRenderer): | |
093d3ff1 | 231 | """Proxy of C++ GridCellBoolRenderer class""" |
e811c8ce RD |
232 | def __repr__(self): |
233 | return "<%s.%s; proxy of C++ wxGridCellBoolRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 234 | def __init__(self, *args, **kwargs): |
a95a7133 | 235 | """__init__(self) -> GridCellBoolRenderer""" |
d14a1e28 RD |
236 | newobj = _grid.new_GridCellBoolRenderer(*args, **kwargs) |
237 | self.this = newobj.this | |
059a841c | 238 | self.thisown = 1 |
d14a1e28 | 239 | del newobj.thisown |
b98a5dfc | 240 | self._setOORInfo(self) |
e811c8ce | 241 | |
059a841c | 242 | |
d14a1e28 RD |
243 | class GridCellBoolRendererPtr(GridCellBoolRenderer): |
244 | def __init__(self, this): | |
059a841c | 245 | self.this = this |
d14a1e28 RD |
246 | if not hasattr(self,"thisown"): self.thisown = 0 |
247 | self.__class__ = GridCellBoolRenderer | |
248 | _grid.GridCellBoolRenderer_swigregister(GridCellBoolRendererPtr) | |
249 | ||
250 | class GridCellDateTimeRenderer(GridCellStringRenderer): | |
093d3ff1 | 251 | """Proxy of C++ GridCellDateTimeRenderer class""" |
e811c8ce RD |
252 | def __repr__(self): |
253 | return "<%s.%s; proxy of C++ wxGridCellDateTimeRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 254 | def __init__(self, *args, **kwargs): |
7557b9b5 | 255 | """__init__(self, String outformat=wxPyDefaultDateTimeFormat, String informat=wxPyDefaultDateTimeFormat) -> GridCellDateTimeRenderer""" |
d14a1e28 RD |
256 | newobj = _grid.new_GridCellDateTimeRenderer(*args, **kwargs) |
257 | self.this = newobj.this | |
059a841c | 258 | self.thisown = 1 |
d14a1e28 | 259 | del newobj.thisown |
b98a5dfc | 260 | self._setOORInfo(self) |
e811c8ce | 261 | |
059a841c | 262 | |
d14a1e28 RD |
263 | class GridCellDateTimeRendererPtr(GridCellDateTimeRenderer): |
264 | def __init__(self, this): | |
059a841c | 265 | self.this = this |
d14a1e28 RD |
266 | if not hasattr(self,"thisown"): self.thisown = 0 |
267 | self.__class__ = GridCellDateTimeRenderer | |
268 | _grid.GridCellDateTimeRenderer_swigregister(GridCellDateTimeRendererPtr) | |
269 | ||
270 | class GridCellEnumRenderer(GridCellStringRenderer): | |
093d3ff1 | 271 | """Proxy of C++ GridCellEnumRenderer class""" |
e811c8ce RD |
272 | def __repr__(self): |
273 | return "<%s.%s; proxy of C++ wxGridCellEnumRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 274 | def __init__(self, *args, **kwargs): |
a95a7133 | 275 | """__init__(self, String choices=EmptyString) -> GridCellEnumRenderer""" |
d14a1e28 RD |
276 | newobj = _grid.new_GridCellEnumRenderer(*args, **kwargs) |
277 | self.this = newobj.this | |
059a841c | 278 | self.thisown = 1 |
d14a1e28 | 279 | del newobj.thisown |
b98a5dfc | 280 | self._setOORInfo(self) |
e811c8ce | 281 | |
f6bcfd97 | 282 | |
d14a1e28 RD |
283 | class GridCellEnumRendererPtr(GridCellEnumRenderer): |
284 | def __init__(self, this): | |
f6bcfd97 | 285 | self.this = this |
d14a1e28 RD |
286 | if not hasattr(self,"thisown"): self.thisown = 0 |
287 | self.__class__ = GridCellEnumRenderer | |
288 | _grid.GridCellEnumRenderer_swigregister(GridCellEnumRendererPtr) | |
289 | ||
290 | class GridCellAutoWrapStringRenderer(GridCellStringRenderer): | |
093d3ff1 | 291 | """Proxy of C++ GridCellAutoWrapStringRenderer class""" |
e811c8ce RD |
292 | def __repr__(self): |
293 | return "<%s.%s; proxy of C++ wxGridCellAutoWrapStringRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 294 | def __init__(self, *args, **kwargs): |
a95a7133 | 295 | """__init__(self) -> GridCellAutoWrapStringRenderer""" |
d14a1e28 RD |
296 | newobj = _grid.new_GridCellAutoWrapStringRenderer(*args, **kwargs) |
297 | self.this = newobj.this | |
f6bcfd97 | 298 | self.thisown = 1 |
d14a1e28 | 299 | del newobj.thisown |
b98a5dfc | 300 | self._setOORInfo(self) |
e811c8ce | 301 | |
d14a1e28 RD |
302 | |
303 | class GridCellAutoWrapStringRendererPtr(GridCellAutoWrapStringRenderer): | |
304 | def __init__(self, this): | |
305 | self.this = this | |
306 | if not hasattr(self,"thisown"): self.thisown = 0 | |
307 | self.__class__ = GridCellAutoWrapStringRenderer | |
308 | _grid.GridCellAutoWrapStringRenderer_swigregister(GridCellAutoWrapStringRendererPtr) | |
309 | ||
310 | class GridCellEditor(object): | |
093d3ff1 | 311 | """Proxy of C++ GridCellEditor class""" |
d14a1e28 RD |
312 | def __init__(self): raise RuntimeError, "No constructor defined" |
313 | def __repr__(self): | |
314 | return "<%s.%s; proxy of C++ wxGridCellEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
e811c8ce | 315 | def _setOORInfo(*args, **kwargs): |
a95a7133 | 316 | """_setOORInfo(self, PyObject _self)""" |
e811c8ce RD |
317 | return _grid.GridCellEditor__setOORInfo(*args, **kwargs) |
318 | ||
319 | def IsCreated(*args, **kwargs): | |
a95a7133 | 320 | """IsCreated(self) -> bool""" |
e811c8ce RD |
321 | return _grid.GridCellEditor_IsCreated(*args, **kwargs) |
322 | ||
323 | def GetControl(*args, **kwargs): | |
a95a7133 | 324 | """GetControl(self) -> Control""" |
e811c8ce RD |
325 | return _grid.GridCellEditor_GetControl(*args, **kwargs) |
326 | ||
327 | def SetControl(*args, **kwargs): | |
a95a7133 | 328 | """SetControl(self, Control control)""" |
e811c8ce RD |
329 | return _grid.GridCellEditor_SetControl(*args, **kwargs) |
330 | ||
331 | def GetCellAttr(*args, **kwargs): | |
a95a7133 | 332 | """GetCellAttr(self) -> GridCellAttr""" |
e811c8ce RD |
333 | return _grid.GridCellEditor_GetCellAttr(*args, **kwargs) |
334 | ||
335 | def SetCellAttr(*args, **kwargs): | |
a95a7133 | 336 | """SetCellAttr(self, GridCellAttr attr)""" |
e811c8ce RD |
337 | return _grid.GridCellEditor_SetCellAttr(*args, **kwargs) |
338 | ||
339 | def SetParameters(*args, **kwargs): | |
a95a7133 | 340 | """SetParameters(self, String params)""" |
e811c8ce RD |
341 | return _grid.GridCellEditor_SetParameters(*args, **kwargs) |
342 | ||
343 | def IncRef(*args, **kwargs): | |
a95a7133 | 344 | """IncRef(self)""" |
e811c8ce RD |
345 | return _grid.GridCellEditor_IncRef(*args, **kwargs) |
346 | ||
347 | def DecRef(*args, **kwargs): | |
a95a7133 | 348 | """DecRef(self)""" |
e811c8ce RD |
349 | return _grid.GridCellEditor_DecRef(*args, **kwargs) |
350 | ||
351 | def Create(*args, **kwargs): | |
a95a7133 | 352 | """Create(self, Window parent, int id, EvtHandler evtHandler)""" |
e811c8ce RD |
353 | return _grid.GridCellEditor_Create(*args, **kwargs) |
354 | ||
355 | def BeginEdit(*args, **kwargs): | |
a95a7133 | 356 | """BeginEdit(self, int row, int col, Grid grid)""" |
e811c8ce RD |
357 | return _grid.GridCellEditor_BeginEdit(*args, **kwargs) |
358 | ||
359 | def EndEdit(*args, **kwargs): | |
a95a7133 | 360 | """EndEdit(self, int row, int col, Grid grid) -> bool""" |
e811c8ce RD |
361 | return _grid.GridCellEditor_EndEdit(*args, **kwargs) |
362 | ||
363 | def Reset(*args, **kwargs): | |
a95a7133 | 364 | """Reset(self)""" |
e811c8ce RD |
365 | return _grid.GridCellEditor_Reset(*args, **kwargs) |
366 | ||
367 | def Clone(*args, **kwargs): | |
a95a7133 | 368 | """Clone(self) -> GridCellEditor""" |
e811c8ce RD |
369 | return _grid.GridCellEditor_Clone(*args, **kwargs) |
370 | ||
371 | def SetSize(*args, **kwargs): | |
a95a7133 | 372 | """SetSize(self, Rect rect)""" |
e811c8ce RD |
373 | return _grid.GridCellEditor_SetSize(*args, **kwargs) |
374 | ||
375 | def Show(*args, **kwargs): | |
a95a7133 | 376 | """Show(self, bool show, GridCellAttr attr=None)""" |
e811c8ce RD |
377 | return _grid.GridCellEditor_Show(*args, **kwargs) |
378 | ||
379 | def PaintBackground(*args, **kwargs): | |
a95a7133 | 380 | """PaintBackground(self, Rect rectCell, GridCellAttr attr)""" |
e811c8ce RD |
381 | return _grid.GridCellEditor_PaintBackground(*args, **kwargs) |
382 | ||
383 | def IsAcceptedKey(*args, **kwargs): | |
a95a7133 | 384 | """IsAcceptedKey(self, KeyEvent event) -> bool""" |
e811c8ce RD |
385 | return _grid.GridCellEditor_IsAcceptedKey(*args, **kwargs) |
386 | ||
387 | def StartingKey(*args, **kwargs): | |
a95a7133 | 388 | """StartingKey(self, KeyEvent event)""" |
e811c8ce RD |
389 | return _grid.GridCellEditor_StartingKey(*args, **kwargs) |
390 | ||
391 | def StartingClick(*args, **kwargs): | |
a95a7133 | 392 | """StartingClick(self)""" |
e811c8ce RD |
393 | return _grid.GridCellEditor_StartingClick(*args, **kwargs) |
394 | ||
395 | def HandleReturn(*args, **kwargs): | |
a95a7133 | 396 | """HandleReturn(self, KeyEvent event)""" |
e811c8ce RD |
397 | return _grid.GridCellEditor_HandleReturn(*args, **kwargs) |
398 | ||
399 | def Destroy(*args, **kwargs): | |
a95a7133 | 400 | """Destroy(self)""" |
7e08d4ef RD |
401 | val = _grid.GridCellEditor_Destroy(*args, **kwargs) |
402 | args[0].thisown = 0 | |
403 | return val | |
e811c8ce | 404 | |
f6bcfd97 | 405 | |
d14a1e28 RD |
406 | class GridCellEditorPtr(GridCellEditor): |
407 | def __init__(self, this): | |
408 | self.this = this | |
409 | if not hasattr(self,"thisown"): self.thisown = 0 | |
410 | self.__class__ = GridCellEditor | |
411 | _grid.GridCellEditor_swigregister(GridCellEditorPtr) | |
f6bcfd97 | 412 | |
d14a1e28 | 413 | class PyGridCellEditor(GridCellEditor): |
093d3ff1 | 414 | """Proxy of C++ PyGridCellEditor class""" |
e811c8ce RD |
415 | def __repr__(self): |
416 | return "<%s.%s; proxy of C++ wxPyGridCellEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 417 | def __init__(self, *args, **kwargs): |
a95a7133 | 418 | """__init__(self) -> PyGridCellEditor""" |
d14a1e28 RD |
419 | newobj = _grid.new_PyGridCellEditor(*args, **kwargs) |
420 | self.this = newobj.this | |
421 | self.thisown = 1 | |
422 | del newobj.thisown | |
423 | self._setCallbackInfo(self, PyGridCellEditor);self._setOORInfo(self) | |
e811c8ce RD |
424 | |
425 | def _setCallbackInfo(*args, **kwargs): | |
a95a7133 | 426 | """_setCallbackInfo(self, PyObject self, PyObject _class)""" |
e811c8ce RD |
427 | return _grid.PyGridCellEditor__setCallbackInfo(*args, **kwargs) |
428 | ||
c26d9ab4 RD |
429 | def SetSize(*args, **kwargs): |
430 | """SetSize(self, Rect rect)""" | |
431 | return _grid.PyGridCellEditor_SetSize(*args, **kwargs) | |
e811c8ce | 432 | |
c26d9ab4 RD |
433 | def Show(*args, **kwargs): |
434 | """Show(self, bool show, GridCellAttr attr=None)""" | |
435 | return _grid.PyGridCellEditor_Show(*args, **kwargs) | |
e811c8ce | 436 | |
c26d9ab4 RD |
437 | def PaintBackground(*args, **kwargs): |
438 | """PaintBackground(self, Rect rectCell, GridCellAttr attr)""" | |
439 | return _grid.PyGridCellEditor_PaintBackground(*args, **kwargs) | |
e811c8ce | 440 | |
c26d9ab4 RD |
441 | def IsAcceptedKey(*args, **kwargs): |
442 | """IsAcceptedKey(self, KeyEvent event) -> bool""" | |
443 | return _grid.PyGridCellEditor_IsAcceptedKey(*args, **kwargs) | |
e811c8ce | 444 | |
c26d9ab4 RD |
445 | def StartingKey(*args, **kwargs): |
446 | """StartingKey(self, KeyEvent event)""" | |
447 | return _grid.PyGridCellEditor_StartingKey(*args, **kwargs) | |
e811c8ce | 448 | |
c26d9ab4 RD |
449 | def StartingClick(*args, **kwargs): |
450 | """StartingClick(self)""" | |
451 | return _grid.PyGridCellEditor_StartingClick(*args, **kwargs) | |
e811c8ce | 452 | |
c26d9ab4 RD |
453 | def HandleReturn(*args, **kwargs): |
454 | """HandleReturn(self, KeyEvent event)""" | |
455 | return _grid.PyGridCellEditor_HandleReturn(*args, **kwargs) | |
e811c8ce | 456 | |
c26d9ab4 RD |
457 | def Destroy(*args, **kwargs): |
458 | """Destroy(self)""" | |
459 | val = _grid.PyGridCellEditor_Destroy(*args, **kwargs) | |
460 | args[0].thisown = 0 | |
461 | return val | |
e811c8ce | 462 | |
c26d9ab4 RD |
463 | def SetParameters(*args, **kwargs): |
464 | """SetParameters(self, String params)""" | |
465 | return _grid.PyGridCellEditor_SetParameters(*args, **kwargs) | |
466 | ||
467 | def base_SetSize(*args, **kw): | |
468 | return PyGridCellEditor.SetSize(*args, **kw) | |
469 | base_SetSize = wx._deprecated(base_SetSize, | |
470 | "Please use PyGridCellEditor.SetSize instead.") | |
471 | ||
472 | def base_Show(*args, **kw): | |
473 | return PyGridCellEditor.Show(*args, **kw) | |
474 | base_Show = wx._deprecated(base_Show, | |
475 | "Please use PyGridCellEditor.Show instead.") | |
476 | ||
477 | def base_PaintBackground(*args, **kw): | |
478 | return PyGridCellEditor.PaintBackground(*args, **kw) | |
479 | base_PaintBackground = wx._deprecated(base_PaintBackground, | |
480 | "Please use PyGridCellEditor.PaintBackground instead.") | |
481 | ||
482 | def base_IsAcceptedKey(*args, **kw): | |
483 | return PyGridCellEditor.IsAcceptedKey(*args, **kw) | |
484 | base_IsAcceptedKey = wx._deprecated(base_IsAcceptedKey, | |
485 | "Please use PyGridCellEditor.IsAcceptedKey instead.") | |
486 | ||
487 | def base_StartingKey(*args, **kw): | |
488 | return PyGridCellEditor.StartingKey(*args, **kw) | |
489 | base_StartingKey = wx._deprecated(base_StartingKey, | |
490 | "Please use PyGridCellEditor.StartingKey instead.") | |
491 | ||
492 | def base_StartingClick(*args, **kw): | |
493 | return PyGridCellEditor.StartingClick(*args, **kw) | |
494 | base_StartingClick = wx._deprecated(base_StartingClick, | |
495 | "Please use PyGridCellEditor.StartingClick instead.") | |
496 | ||
497 | def base_HandleReturn(*args, **kw): | |
498 | return PyGridCellEditor.HandleReturn(*args, **kw) | |
499 | base_HandleReturn = wx._deprecated(base_HandleReturn, | |
500 | "Please use PyGridCellEditor.HandleReturn instead.") | |
501 | ||
502 | def base_Destroy(*args, **kw): | |
503 | return PyGridCellEditor.Destroy(*args, **kw) | |
504 | base_Destroy = wx._deprecated(base_Destroy, | |
505 | "Please use PyGridCellEditor.Destroy instead.") | |
506 | ||
507 | def base_SetParameters(*args, **kw): | |
508 | return PyGridCellEditor.SetParameters(*args, **kw) | |
509 | base_SetParameters = wx._deprecated(base_SetParameters, | |
510 | "Please use PyGridCellEditor.SetParameters instead.") | |
e811c8ce | 511 | |
f6bcfd97 | 512 | |
d14a1e28 RD |
513 | class PyGridCellEditorPtr(PyGridCellEditor): |
514 | def __init__(self, this): | |
f6bcfd97 | 515 | self.this = this |
d14a1e28 RD |
516 | if not hasattr(self,"thisown"): self.thisown = 0 |
517 | self.__class__ = PyGridCellEditor | |
518 | _grid.PyGridCellEditor_swigregister(PyGridCellEditorPtr) | |
519 | ||
520 | class GridCellTextEditor(GridCellEditor): | |
093d3ff1 | 521 | """Proxy of C++ GridCellTextEditor class""" |
e811c8ce RD |
522 | def __repr__(self): |
523 | return "<%s.%s; proxy of C++ wxGridCellTextEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 524 | def __init__(self, *args, **kwargs): |
a95a7133 | 525 | """__init__(self) -> GridCellTextEditor""" |
d14a1e28 RD |
526 | newobj = _grid.new_GridCellTextEditor(*args, **kwargs) |
527 | self.this = newobj.this | |
f6bcfd97 | 528 | self.thisown = 1 |
d14a1e28 | 529 | del newobj.thisown |
b98a5dfc | 530 | self._setOORInfo(self) |
e811c8ce RD |
531 | |
532 | def GetValue(*args, **kwargs): | |
a95a7133 | 533 | """GetValue(self) -> String""" |
e811c8ce RD |
534 | return _grid.GridCellTextEditor_GetValue(*args, **kwargs) |
535 | ||
f6bcfd97 | 536 | |
d14a1e28 RD |
537 | class GridCellTextEditorPtr(GridCellTextEditor): |
538 | def __init__(self, this): | |
f6bcfd97 | 539 | self.this = this |
d14a1e28 RD |
540 | if not hasattr(self,"thisown"): self.thisown = 0 |
541 | self.__class__ = GridCellTextEditor | |
542 | _grid.GridCellTextEditor_swigregister(GridCellTextEditorPtr) | |
543 | ||
544 | class GridCellNumberEditor(GridCellTextEditor): | |
093d3ff1 | 545 | """Proxy of C++ GridCellNumberEditor class""" |
e811c8ce RD |
546 | def __repr__(self): |
547 | return "<%s.%s; proxy of C++ wxGridCellNumberEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 548 | def __init__(self, *args, **kwargs): |
a95a7133 | 549 | """__init__(self, int min=-1, int max=-1) -> GridCellNumberEditor""" |
d14a1e28 RD |
550 | newobj = _grid.new_GridCellNumberEditor(*args, **kwargs) |
551 | self.this = newobj.this | |
f6bcfd97 | 552 | self.thisown = 1 |
d14a1e28 | 553 | del newobj.thisown |
b98a5dfc | 554 | self._setOORInfo(self) |
e811c8ce RD |
555 | |
556 | def GetValue(*args, **kwargs): | |
a95a7133 | 557 | """GetValue(self) -> String""" |
e811c8ce RD |
558 | return _grid.GridCellNumberEditor_GetValue(*args, **kwargs) |
559 | ||
f6bcfd97 | 560 | |
d14a1e28 RD |
561 | class GridCellNumberEditorPtr(GridCellNumberEditor): |
562 | def __init__(self, this): | |
f6bcfd97 | 563 | self.this = this |
d14a1e28 RD |
564 | if not hasattr(self,"thisown"): self.thisown = 0 |
565 | self.__class__ = GridCellNumberEditor | |
566 | _grid.GridCellNumberEditor_swigregister(GridCellNumberEditorPtr) | |
567 | ||
568 | class GridCellFloatEditor(GridCellTextEditor): | |
093d3ff1 | 569 | """Proxy of C++ GridCellFloatEditor class""" |
e811c8ce RD |
570 | def __repr__(self): |
571 | return "<%s.%s; proxy of C++ wxGridCellFloatEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 572 | def __init__(self, *args, **kwargs): |
a95a7133 | 573 | """__init__(self, int width=-1, int precision=-1) -> GridCellFloatEditor""" |
d14a1e28 RD |
574 | newobj = _grid.new_GridCellFloatEditor(*args, **kwargs) |
575 | self.this = newobj.this | |
f6bcfd97 | 576 | self.thisown = 1 |
d14a1e28 | 577 | del newobj.thisown |
b98a5dfc | 578 | self._setOORInfo(self) |
e811c8ce RD |
579 | |
580 | def GetValue(*args, **kwargs): | |
a95a7133 | 581 | """GetValue(self) -> String""" |
e811c8ce RD |
582 | return _grid.GridCellFloatEditor_GetValue(*args, **kwargs) |
583 | ||
f6bcfd97 | 584 | |
d14a1e28 RD |
585 | class GridCellFloatEditorPtr(GridCellFloatEditor): |
586 | def __init__(self, this): | |
f6bcfd97 | 587 | self.this = this |
d14a1e28 RD |
588 | if not hasattr(self,"thisown"): self.thisown = 0 |
589 | self.__class__ = GridCellFloatEditor | |
590 | _grid.GridCellFloatEditor_swigregister(GridCellFloatEditorPtr) | |
591 | ||
592 | class GridCellBoolEditor(GridCellEditor): | |
093d3ff1 | 593 | """Proxy of C++ GridCellBoolEditor class""" |
e811c8ce RD |
594 | def __repr__(self): |
595 | return "<%s.%s; proxy of C++ wxGridCellBoolEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 596 | def __init__(self, *args, **kwargs): |
a95a7133 | 597 | """__init__(self) -> GridCellBoolEditor""" |
d14a1e28 RD |
598 | newobj = _grid.new_GridCellBoolEditor(*args, **kwargs) |
599 | self.this = newobj.this | |
f6bcfd97 | 600 | self.thisown = 1 |
d14a1e28 | 601 | del newobj.thisown |
b98a5dfc | 602 | self._setOORInfo(self) |
e811c8ce RD |
603 | |
604 | def GetValue(*args, **kwargs): | |
a95a7133 | 605 | """GetValue(self) -> String""" |
e811c8ce RD |
606 | return _grid.GridCellBoolEditor_GetValue(*args, **kwargs) |
607 | ||
f6bcfd97 | 608 | |
d14a1e28 RD |
609 | class GridCellBoolEditorPtr(GridCellBoolEditor): |
610 | def __init__(self, this): | |
f6bcfd97 | 611 | self.this = this |
d14a1e28 RD |
612 | if not hasattr(self,"thisown"): self.thisown = 0 |
613 | self.__class__ = GridCellBoolEditor | |
614 | _grid.GridCellBoolEditor_swigregister(GridCellBoolEditorPtr) | |
615 | ||
616 | class GridCellChoiceEditor(GridCellEditor): | |
093d3ff1 | 617 | """Proxy of C++ GridCellChoiceEditor class""" |
e811c8ce RD |
618 | def __repr__(self): |
619 | return "<%s.%s; proxy of C++ wxGridCellChoiceEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 620 | def __init__(self, *args, **kwargs): |
093d3ff1 | 621 | """__init__(self, int choices=0, bool allowOthers=False) -> GridCellChoiceEditor""" |
d14a1e28 RD |
622 | newobj = _grid.new_GridCellChoiceEditor(*args, **kwargs) |
623 | self.this = newobj.this | |
f6bcfd97 | 624 | self.thisown = 1 |
d14a1e28 | 625 | del newobj.thisown |
b98a5dfc | 626 | self._setOORInfo(self) |
e811c8ce RD |
627 | |
628 | def GetValue(*args, **kwargs): | |
a95a7133 | 629 | """GetValue(self) -> String""" |
e811c8ce RD |
630 | return _grid.GridCellChoiceEditor_GetValue(*args, **kwargs) |
631 | ||
f6bcfd97 | 632 | |
d14a1e28 RD |
633 | class GridCellChoiceEditorPtr(GridCellChoiceEditor): |
634 | def __init__(self, this): | |
059a841c | 635 | self.this = this |
d14a1e28 RD |
636 | if not hasattr(self,"thisown"): self.thisown = 0 |
637 | self.__class__ = GridCellChoiceEditor | |
638 | _grid.GridCellChoiceEditor_swigregister(GridCellChoiceEditorPtr) | |
639 | ||
640 | class GridCellEnumEditor(GridCellChoiceEditor): | |
093d3ff1 | 641 | """Proxy of C++ GridCellEnumEditor class""" |
e811c8ce RD |
642 | def __repr__(self): |
643 | return "<%s.%s; proxy of C++ wxGridCellEnumEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 644 | def __init__(self, *args, **kwargs): |
a95a7133 | 645 | """__init__(self, String choices=EmptyString) -> GridCellEnumEditor""" |
d14a1e28 RD |
646 | newobj = _grid.new_GridCellEnumEditor(*args, **kwargs) |
647 | self.this = newobj.this | |
059a841c | 648 | self.thisown = 1 |
d14a1e28 | 649 | del newobj.thisown |
b98a5dfc | 650 | self._setOORInfo(self) |
e811c8ce RD |
651 | |
652 | def GetValue(*args, **kwargs): | |
a95a7133 | 653 | """GetValue(self) -> String""" |
e811c8ce RD |
654 | return _grid.GridCellEnumEditor_GetValue(*args, **kwargs) |
655 | ||
059a841c | 656 | |
d14a1e28 RD |
657 | class GridCellEnumEditorPtr(GridCellEnumEditor): |
658 | def __init__(self, this): | |
059a841c | 659 | self.this = this |
d14a1e28 RD |
660 | if not hasattr(self,"thisown"): self.thisown = 0 |
661 | self.__class__ = GridCellEnumEditor | |
662 | _grid.GridCellEnumEditor_swigregister(GridCellEnumEditorPtr) | |
663 | ||
664 | class GridCellAutoWrapStringEditor(GridCellTextEditor): | |
093d3ff1 | 665 | """Proxy of C++ GridCellAutoWrapStringEditor class""" |
e811c8ce RD |
666 | def __repr__(self): |
667 | return "<%s.%s; proxy of C++ wxGridCellAutoWrapStringEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 668 | def __init__(self, *args, **kwargs): |
a95a7133 | 669 | """__init__(self) -> GridCellAutoWrapStringEditor""" |
d14a1e28 RD |
670 | newobj = _grid.new_GridCellAutoWrapStringEditor(*args, **kwargs) |
671 | self.this = newobj.this | |
059a841c | 672 | self.thisown = 1 |
d14a1e28 | 673 | del newobj.thisown |
b98a5dfc | 674 | self._setOORInfo(self) |
e811c8ce RD |
675 | |
676 | def GetValue(*args, **kwargs): | |
a95a7133 | 677 | """GetValue(self) -> String""" |
e811c8ce RD |
678 | return _grid.GridCellAutoWrapStringEditor_GetValue(*args, **kwargs) |
679 | ||
d14a1e28 RD |
680 | |
681 | class GridCellAutoWrapStringEditorPtr(GridCellAutoWrapStringEditor): | |
682 | def __init__(self, this): | |
683 | self.this = this | |
684 | if not hasattr(self,"thisown"): self.thisown = 0 | |
685 | self.__class__ = GridCellAutoWrapStringEditor | |
686 | _grid.GridCellAutoWrapStringEditor_swigregister(GridCellAutoWrapStringEditorPtr) | |
687 | ||
688 | class GridCellAttr(object): | |
093d3ff1 | 689 | """Proxy of C++ GridCellAttr class""" |
e811c8ce RD |
690 | def __repr__(self): |
691 | return "<%s.%s; proxy of C++ wxGridCellAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 RD |
692 | Any = _grid.GridCellAttr_Any |
693 | Default = _grid.GridCellAttr_Default | |
694 | Cell = _grid.GridCellAttr_Cell | |
695 | Row = _grid.GridCellAttr_Row | |
696 | Col = _grid.GridCellAttr_Col | |
697 | Merged = _grid.GridCellAttr_Merged | |
e811c8ce | 698 | def _setOORInfo(*args, **kwargs): |
a95a7133 | 699 | """_setOORInfo(self, PyObject _self)""" |
e811c8ce RD |
700 | return _grid.GridCellAttr__setOORInfo(*args, **kwargs) |
701 | ||
d14a1e28 | 702 | def __init__(self, *args, **kwargs): |
a95a7133 | 703 | """__init__(self, GridCellAttr attrDefault=None) -> GridCellAttr""" |
d14a1e28 RD |
704 | newobj = _grid.new_GridCellAttr(*args, **kwargs) |
705 | self.this = newobj.this | |
f6bcfd97 | 706 | self.thisown = 1 |
d14a1e28 | 707 | del newobj.thisown |
b98a5dfc | 708 | self._setOORInfo(self) |
e811c8ce RD |
709 | |
710 | def Clone(*args, **kwargs): | |
a95a7133 | 711 | """Clone(self) -> GridCellAttr""" |
e811c8ce RD |
712 | return _grid.GridCellAttr_Clone(*args, **kwargs) |
713 | ||
714 | def MergeWith(*args, **kwargs): | |
a95a7133 | 715 | """MergeWith(self, GridCellAttr mergefrom)""" |
e811c8ce RD |
716 | return _grid.GridCellAttr_MergeWith(*args, **kwargs) |
717 | ||
718 | def IncRef(*args, **kwargs): | |
a95a7133 | 719 | """IncRef(self)""" |
e811c8ce RD |
720 | return _grid.GridCellAttr_IncRef(*args, **kwargs) |
721 | ||
722 | def DecRef(*args, **kwargs): | |
a95a7133 | 723 | """DecRef(self)""" |
e811c8ce RD |
724 | return _grid.GridCellAttr_DecRef(*args, **kwargs) |
725 | ||
726 | def SetTextColour(*args, **kwargs): | |
a95a7133 | 727 | """SetTextColour(self, Colour colText)""" |
e811c8ce RD |
728 | return _grid.GridCellAttr_SetTextColour(*args, **kwargs) |
729 | ||
730 | def SetBackgroundColour(*args, **kwargs): | |
a95a7133 | 731 | """SetBackgroundColour(self, Colour colBack)""" |
e811c8ce RD |
732 | return _grid.GridCellAttr_SetBackgroundColour(*args, **kwargs) |
733 | ||
734 | def SetFont(*args, **kwargs): | |
a95a7133 | 735 | """SetFont(self, Font font)""" |
e811c8ce RD |
736 | return _grid.GridCellAttr_SetFont(*args, **kwargs) |
737 | ||
738 | def SetAlignment(*args, **kwargs): | |
a95a7133 | 739 | """SetAlignment(self, int hAlign, int vAlign)""" |
e811c8ce RD |
740 | return _grid.GridCellAttr_SetAlignment(*args, **kwargs) |
741 | ||
742 | def SetSize(*args, **kwargs): | |
a95a7133 | 743 | """SetSize(self, int num_rows, int num_cols)""" |
e811c8ce RD |
744 | return _grid.GridCellAttr_SetSize(*args, **kwargs) |
745 | ||
746 | def SetOverflow(*args, **kwargs): | |
a95a7133 | 747 | """SetOverflow(self, bool allow=True)""" |
e811c8ce RD |
748 | return _grid.GridCellAttr_SetOverflow(*args, **kwargs) |
749 | ||
750 | def SetReadOnly(*args, **kwargs): | |
a95a7133 | 751 | """SetReadOnly(self, bool isReadOnly=True)""" |
e811c8ce RD |
752 | return _grid.GridCellAttr_SetReadOnly(*args, **kwargs) |
753 | ||
754 | def SetRenderer(*args, **kwargs): | |
a95a7133 | 755 | """SetRenderer(self, GridCellRenderer renderer)""" |
e811c8ce RD |
756 | return _grid.GridCellAttr_SetRenderer(*args, **kwargs) |
757 | ||
758 | def SetEditor(*args, **kwargs): | |
a95a7133 | 759 | """SetEditor(self, GridCellEditor editor)""" |
e811c8ce RD |
760 | return _grid.GridCellAttr_SetEditor(*args, **kwargs) |
761 | ||
762 | def SetKind(*args, **kwargs): | |
a95a7133 | 763 | """SetKind(self, int kind)""" |
e811c8ce RD |
764 | return _grid.GridCellAttr_SetKind(*args, **kwargs) |
765 | ||
766 | def HasTextColour(*args, **kwargs): | |
a95a7133 | 767 | """HasTextColour(self) -> bool""" |
e811c8ce RD |
768 | return _grid.GridCellAttr_HasTextColour(*args, **kwargs) |
769 | ||
770 | def HasBackgroundColour(*args, **kwargs): | |
a95a7133 | 771 | """HasBackgroundColour(self) -> bool""" |
e811c8ce RD |
772 | return _grid.GridCellAttr_HasBackgroundColour(*args, **kwargs) |
773 | ||
774 | def HasFont(*args, **kwargs): | |
a95a7133 | 775 | """HasFont(self) -> bool""" |
e811c8ce RD |
776 | return _grid.GridCellAttr_HasFont(*args, **kwargs) |
777 | ||
778 | def HasAlignment(*args, **kwargs): | |
a95a7133 | 779 | """HasAlignment(self) -> bool""" |
e811c8ce RD |
780 | return _grid.GridCellAttr_HasAlignment(*args, **kwargs) |
781 | ||
782 | def HasRenderer(*args, **kwargs): | |
a95a7133 | 783 | """HasRenderer(self) -> bool""" |
e811c8ce RD |
784 | return _grid.GridCellAttr_HasRenderer(*args, **kwargs) |
785 | ||
786 | def HasEditor(*args, **kwargs): | |
a95a7133 | 787 | """HasEditor(self) -> bool""" |
e811c8ce RD |
788 | return _grid.GridCellAttr_HasEditor(*args, **kwargs) |
789 | ||
790 | def HasReadWriteMode(*args, **kwargs): | |
a95a7133 | 791 | """HasReadWriteMode(self) -> bool""" |
e811c8ce RD |
792 | return _grid.GridCellAttr_HasReadWriteMode(*args, **kwargs) |
793 | ||
794 | def HasOverflowMode(*args, **kwargs): | |
a95a7133 | 795 | """HasOverflowMode(self) -> bool""" |
e811c8ce RD |
796 | return _grid.GridCellAttr_HasOverflowMode(*args, **kwargs) |
797 | ||
798 | def GetTextColour(*args, **kwargs): | |
a95a7133 | 799 | """GetTextColour(self) -> Colour""" |
e811c8ce RD |
800 | return _grid.GridCellAttr_GetTextColour(*args, **kwargs) |
801 | ||
802 | def GetBackgroundColour(*args, **kwargs): | |
a95a7133 | 803 | """GetBackgroundColour(self) -> Colour""" |
e811c8ce RD |
804 | return _grid.GridCellAttr_GetBackgroundColour(*args, **kwargs) |
805 | ||
806 | def GetFont(*args, **kwargs): | |
a95a7133 | 807 | """GetFont(self) -> Font""" |
e811c8ce RD |
808 | return _grid.GridCellAttr_GetFont(*args, **kwargs) |
809 | ||
810 | def GetAlignment(*args, **kwargs): | |
322913ce | 811 | """GetAlignment() -> (hAlign, vAlign)""" |
e811c8ce RD |
812 | return _grid.GridCellAttr_GetAlignment(*args, **kwargs) |
813 | ||
814 | def GetSize(*args, **kwargs): | |
322913ce | 815 | """GetSize() -> (num_rows, num_cols)""" |
e811c8ce RD |
816 | return _grid.GridCellAttr_GetSize(*args, **kwargs) |
817 | ||
818 | def GetOverflow(*args, **kwargs): | |
a95a7133 | 819 | """GetOverflow(self) -> bool""" |
e811c8ce RD |
820 | return _grid.GridCellAttr_GetOverflow(*args, **kwargs) |
821 | ||
822 | def GetRenderer(*args, **kwargs): | |
a95a7133 | 823 | """GetRenderer(self, Grid grid, int row, int col) -> GridCellRenderer""" |
e811c8ce RD |
824 | return _grid.GridCellAttr_GetRenderer(*args, **kwargs) |
825 | ||
826 | def GetEditor(*args, **kwargs): | |
a95a7133 | 827 | """GetEditor(self, Grid grid, int row, int col) -> GridCellEditor""" |
e811c8ce RD |
828 | return _grid.GridCellAttr_GetEditor(*args, **kwargs) |
829 | ||
830 | def IsReadOnly(*args, **kwargs): | |
a95a7133 | 831 | """IsReadOnly(self) -> bool""" |
e811c8ce RD |
832 | return _grid.GridCellAttr_IsReadOnly(*args, **kwargs) |
833 | ||
fd2dc343 RD |
834 | def GetKind(*args, **kwargs): |
835 | """GetKind(self) -> int""" | |
836 | return _grid.GridCellAttr_GetKind(*args, **kwargs) | |
837 | ||
e811c8ce | 838 | def SetDefAttr(*args, **kwargs): |
a95a7133 | 839 | """SetDefAttr(self, GridCellAttr defAttr)""" |
e811c8ce RD |
840 | return _grid.GridCellAttr_SetDefAttr(*args, **kwargs) |
841 | ||
f6bcfd97 | 842 | |
d14a1e28 RD |
843 | class GridCellAttrPtr(GridCellAttr): |
844 | def __init__(self, this): | |
f6bcfd97 | 845 | self.this = this |
d14a1e28 RD |
846 | if not hasattr(self,"thisown"): self.thisown = 0 |
847 | self.__class__ = GridCellAttr | |
848 | _grid.GridCellAttr_swigregister(GridCellAttrPtr) | |
849 | ||
850 | class GridCellAttrProvider(object): | |
093d3ff1 | 851 | """Proxy of C++ GridCellAttrProvider class""" |
e811c8ce RD |
852 | def __repr__(self): |
853 | return "<%s.%s; proxy of C++ wxGridCellAttrProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 854 | def __init__(self, *args, **kwargs): |
a95a7133 | 855 | """__init__(self) -> GridCellAttrProvider""" |
d14a1e28 RD |
856 | newobj = _grid.new_GridCellAttrProvider(*args, **kwargs) |
857 | self.this = newobj.this | |
f6bcfd97 | 858 | self.thisown = 1 |
d14a1e28 | 859 | del newobj.thisown |
b98a5dfc | 860 | self._setOORInfo(self) |
e811c8ce RD |
861 | |
862 | def _setOORInfo(*args, **kwargs): | |
a95a7133 | 863 | """_setOORInfo(self, PyObject _self)""" |
e811c8ce RD |
864 | return _grid.GridCellAttrProvider__setOORInfo(*args, **kwargs) |
865 | ||
866 | def GetAttr(*args, **kwargs): | |
a95a7133 | 867 | """GetAttr(self, int row, int col, int kind) -> GridCellAttr""" |
e811c8ce RD |
868 | return _grid.GridCellAttrProvider_GetAttr(*args, **kwargs) |
869 | ||
870 | def SetAttr(*args, **kwargs): | |
a95a7133 | 871 | """SetAttr(self, GridCellAttr attr, int row, int col)""" |
e811c8ce RD |
872 | return _grid.GridCellAttrProvider_SetAttr(*args, **kwargs) |
873 | ||
874 | def SetRowAttr(*args, **kwargs): | |
a95a7133 | 875 | """SetRowAttr(self, GridCellAttr attr, int row)""" |
e811c8ce RD |
876 | return _grid.GridCellAttrProvider_SetRowAttr(*args, **kwargs) |
877 | ||
878 | def SetColAttr(*args, **kwargs): | |
a95a7133 | 879 | """SetColAttr(self, GridCellAttr attr, int col)""" |
e811c8ce RD |
880 | return _grid.GridCellAttrProvider_SetColAttr(*args, **kwargs) |
881 | ||
882 | def UpdateAttrRows(*args, **kwargs): | |
a95a7133 | 883 | """UpdateAttrRows(self, size_t pos, int numRows)""" |
e811c8ce RD |
884 | return _grid.GridCellAttrProvider_UpdateAttrRows(*args, **kwargs) |
885 | ||
886 | def UpdateAttrCols(*args, **kwargs): | |
a95a7133 | 887 | """UpdateAttrCols(self, size_t pos, int numCols)""" |
e811c8ce RD |
888 | return _grid.GridCellAttrProvider_UpdateAttrCols(*args, **kwargs) |
889 | ||
f6bcfd97 | 890 | |
d14a1e28 RD |
891 | class GridCellAttrProviderPtr(GridCellAttrProvider): |
892 | def __init__(self, this): | |
f6bcfd97 | 893 | self.this = this |
d14a1e28 RD |
894 | if not hasattr(self,"thisown"): self.thisown = 0 |
895 | self.__class__ = GridCellAttrProvider | |
896 | _grid.GridCellAttrProvider_swigregister(GridCellAttrProviderPtr) | |
f6bcfd97 | 897 | |
d14a1e28 | 898 | class PyGridCellAttrProvider(GridCellAttrProvider): |
093d3ff1 | 899 | """Proxy of C++ PyGridCellAttrProvider class""" |
e811c8ce RD |
900 | def __repr__(self): |
901 | return "<%s.%s; proxy of C++ wxPyGridCellAttrProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 902 | def __init__(self, *args, **kwargs): |
a95a7133 | 903 | """__init__(self) -> PyGridCellAttrProvider""" |
d14a1e28 RD |
904 | newobj = _grid.new_PyGridCellAttrProvider(*args, **kwargs) |
905 | self.this = newobj.this | |
f6bcfd97 | 906 | self.thisown = 1 |
d14a1e28 RD |
907 | del newobj.thisown |
908 | self._setCallbackInfo(self, PyGridCellAttrProvider) | |
e811c8ce RD |
909 | |
910 | def _setCallbackInfo(*args, **kwargs): | |
a95a7133 | 911 | """_setCallbackInfo(self, PyObject self, PyObject _class)""" |
e811c8ce RD |
912 | return _grid.PyGridCellAttrProvider__setCallbackInfo(*args, **kwargs) |
913 | ||
c26d9ab4 RD |
914 | def GetAttr(*args, **kwargs): |
915 | """GetAttr(self, int row, int col, int kind) -> GridCellAttr""" | |
916 | return _grid.PyGridCellAttrProvider_GetAttr(*args, **kwargs) | |
917 | ||
918 | def SetAttr(*args, **kwargs): | |
919 | """SetAttr(self, GridCellAttr attr, int row, int col)""" | |
920 | return _grid.PyGridCellAttrProvider_SetAttr(*args, **kwargs) | |
921 | ||
922 | def SetRowAttr(*args, **kwargs): | |
923 | """SetRowAttr(self, GridCellAttr attr, int row)""" | |
924 | return _grid.PyGridCellAttrProvider_SetRowAttr(*args, **kwargs) | |
e811c8ce | 925 | |
c26d9ab4 RD |
926 | def SetColAttr(*args, **kwargs): |
927 | """SetColAttr(self, GridCellAttr attr, int col)""" | |
928 | return _grid.PyGridCellAttrProvider_SetColAttr(*args, **kwargs) | |
e811c8ce | 929 | |
c26d9ab4 RD |
930 | def base_GetAttr(*args, **kw): |
931 | return PyGridCellAttrProvider.GetAttr(*args, **kw) | |
932 | base_GetAttr = wx._deprecated(base_GetAttr, | |
933 | "Please use PyGridCellAttrProvider.GetAttr instead.") | |
e811c8ce | 934 | |
c26d9ab4 RD |
935 | def base_SetAttr(*args, **kw): |
936 | return PyGridCellAttrProvider.SetAttr(*args, **kw) | |
937 | base_SetAttr = wx._deprecated(base_SetAttr, | |
938 | "Please use PyGridCellAttrProvider.SetAttr instead.") | |
939 | ||
940 | def base_SetRowAttr(*args, **kw): | |
941 | return PyGridCellAttrProvider.SetRowAttr(*args, **kw) | |
942 | base_SetRowAttr = wx._deprecated(base_SetRowAttr, | |
943 | "Please use PyGridCellAttrProvider.SetRowAttr instead.") | |
944 | ||
945 | def base_SetColAttr(*args, **kw): | |
946 | return PyGridCellAttrProvider.SetColAttr(*args, **kw) | |
947 | base_SetColAttr = wx._deprecated(base_SetColAttr, | |
948 | "Please use PyGridCellAttrProvider.SetColAttr instead.") | |
e811c8ce | 949 | |
d14a1e28 RD |
950 | |
951 | class PyGridCellAttrProviderPtr(PyGridCellAttrProvider): | |
952 | def __init__(self, this): | |
953 | self.this = this | |
954 | if not hasattr(self,"thisown"): self.thisown = 0 | |
955 | self.__class__ = PyGridCellAttrProvider | |
956 | _grid.PyGridCellAttrProvider_swigregister(PyGridCellAttrProviderPtr) | |
957 | ||
54f9ee45 | 958 | class GridTableBase(_core.Object): |
093d3ff1 | 959 | """Proxy of C++ GridTableBase class""" |
d14a1e28 RD |
960 | def __init__(self): raise RuntimeError, "No constructor defined" |
961 | def __repr__(self): | |
962 | return "<%s.%s; proxy of C++ wxGridTableBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
e811c8ce | 963 | def _setOORInfo(*args, **kwargs): |
a95a7133 | 964 | """_setOORInfo(self, PyObject _self)""" |
e811c8ce RD |
965 | return _grid.GridTableBase__setOORInfo(*args, **kwargs) |
966 | ||
967 | def SetAttrProvider(*args, **kwargs): | |
a95a7133 | 968 | """SetAttrProvider(self, GridCellAttrProvider attrProvider)""" |
e811c8ce RD |
969 | return _grid.GridTableBase_SetAttrProvider(*args, **kwargs) |
970 | ||
971 | def GetAttrProvider(*args, **kwargs): | |
a95a7133 | 972 | """GetAttrProvider(self) -> GridCellAttrProvider""" |
e811c8ce RD |
973 | return _grid.GridTableBase_GetAttrProvider(*args, **kwargs) |
974 | ||
975 | def SetView(*args, **kwargs): | |
a95a7133 | 976 | """SetView(self, Grid grid)""" |
e811c8ce RD |
977 | return _grid.GridTableBase_SetView(*args, **kwargs) |
978 | ||
979 | def GetView(*args, **kwargs): | |
a95a7133 | 980 | """GetView(self) -> Grid""" |
e811c8ce RD |
981 | return _grid.GridTableBase_GetView(*args, **kwargs) |
982 | ||
983 | def GetNumberRows(*args, **kwargs): | |
a95a7133 | 984 | """GetNumberRows(self) -> int""" |
e811c8ce RD |
985 | return _grid.GridTableBase_GetNumberRows(*args, **kwargs) |
986 | ||
987 | def GetNumberCols(*args, **kwargs): | |
a95a7133 | 988 | """GetNumberCols(self) -> int""" |
e811c8ce RD |
989 | return _grid.GridTableBase_GetNumberCols(*args, **kwargs) |
990 | ||
991 | def IsEmptyCell(*args, **kwargs): | |
a95a7133 | 992 | """IsEmptyCell(self, int row, int col) -> bool""" |
e811c8ce RD |
993 | return _grid.GridTableBase_IsEmptyCell(*args, **kwargs) |
994 | ||
995 | def GetValue(*args, **kwargs): | |
a95a7133 | 996 | """GetValue(self, int row, int col) -> String""" |
e811c8ce RD |
997 | return _grid.GridTableBase_GetValue(*args, **kwargs) |
998 | ||
999 | def SetValue(*args, **kwargs): | |
a95a7133 | 1000 | """SetValue(self, int row, int col, String value)""" |
e811c8ce RD |
1001 | return _grid.GridTableBase_SetValue(*args, **kwargs) |
1002 | ||
1003 | def GetTypeName(*args, **kwargs): | |
a95a7133 | 1004 | """GetTypeName(self, int row, int col) -> String""" |
e811c8ce RD |
1005 | return _grid.GridTableBase_GetTypeName(*args, **kwargs) |
1006 | ||
1007 | def CanGetValueAs(*args, **kwargs): | |
a95a7133 | 1008 | """CanGetValueAs(self, int row, int col, String typeName) -> bool""" |
e811c8ce RD |
1009 | return _grid.GridTableBase_CanGetValueAs(*args, **kwargs) |
1010 | ||
1011 | def CanSetValueAs(*args, **kwargs): | |
a95a7133 | 1012 | """CanSetValueAs(self, int row, int col, String typeName) -> bool""" |
e811c8ce RD |
1013 | return _grid.GridTableBase_CanSetValueAs(*args, **kwargs) |
1014 | ||
1015 | def GetValueAsLong(*args, **kwargs): | |
a95a7133 | 1016 | """GetValueAsLong(self, int row, int col) -> long""" |
e811c8ce RD |
1017 | return _grid.GridTableBase_GetValueAsLong(*args, **kwargs) |
1018 | ||
1019 | def GetValueAsDouble(*args, **kwargs): | |
a95a7133 | 1020 | """GetValueAsDouble(self, int row, int col) -> double""" |
e811c8ce RD |
1021 | return _grid.GridTableBase_GetValueAsDouble(*args, **kwargs) |
1022 | ||
1023 | def GetValueAsBool(*args, **kwargs): | |
a95a7133 | 1024 | """GetValueAsBool(self, int row, int col) -> bool""" |
e811c8ce RD |
1025 | return _grid.GridTableBase_GetValueAsBool(*args, **kwargs) |
1026 | ||
1027 | def SetValueAsLong(*args, **kwargs): | |
a95a7133 | 1028 | """SetValueAsLong(self, int row, int col, long value)""" |
e811c8ce RD |
1029 | return _grid.GridTableBase_SetValueAsLong(*args, **kwargs) |
1030 | ||
1031 | def SetValueAsDouble(*args, **kwargs): | |
a95a7133 | 1032 | """SetValueAsDouble(self, int row, int col, double value)""" |
e811c8ce RD |
1033 | return _grid.GridTableBase_SetValueAsDouble(*args, **kwargs) |
1034 | ||
1035 | def SetValueAsBool(*args, **kwargs): | |
a95a7133 | 1036 | """SetValueAsBool(self, int row, int col, bool value)""" |
e811c8ce RD |
1037 | return _grid.GridTableBase_SetValueAsBool(*args, **kwargs) |
1038 | ||
1039 | def Clear(*args, **kwargs): | |
a95a7133 | 1040 | """Clear(self)""" |
e811c8ce RD |
1041 | return _grid.GridTableBase_Clear(*args, **kwargs) |
1042 | ||
1043 | def InsertRows(*args, **kwargs): | |
a95a7133 | 1044 | """InsertRows(self, size_t pos=0, size_t numRows=1) -> bool""" |
e811c8ce RD |
1045 | return _grid.GridTableBase_InsertRows(*args, **kwargs) |
1046 | ||
1047 | def AppendRows(*args, **kwargs): | |
a95a7133 | 1048 | """AppendRows(self, size_t numRows=1) -> bool""" |
e811c8ce RD |
1049 | return _grid.GridTableBase_AppendRows(*args, **kwargs) |
1050 | ||
1051 | def DeleteRows(*args, **kwargs): | |
a95a7133 | 1052 | """DeleteRows(self, size_t pos=0, size_t numRows=1) -> bool""" |
e811c8ce RD |
1053 | return _grid.GridTableBase_DeleteRows(*args, **kwargs) |
1054 | ||
1055 | def InsertCols(*args, **kwargs): | |
a95a7133 | 1056 | """InsertCols(self, size_t pos=0, size_t numCols=1) -> bool""" |
e811c8ce RD |
1057 | return _grid.GridTableBase_InsertCols(*args, **kwargs) |
1058 | ||
1059 | def AppendCols(*args, **kwargs): | |
a95a7133 | 1060 | """AppendCols(self, size_t numCols=1) -> bool""" |
e811c8ce RD |
1061 | return _grid.GridTableBase_AppendCols(*args, **kwargs) |
1062 | ||
1063 | def DeleteCols(*args, **kwargs): | |
a95a7133 | 1064 | """DeleteCols(self, size_t pos=0, size_t numCols=1) -> bool""" |
e811c8ce RD |
1065 | return _grid.GridTableBase_DeleteCols(*args, **kwargs) |
1066 | ||
1067 | def GetRowLabelValue(*args, **kwargs): | |
a95a7133 | 1068 | """GetRowLabelValue(self, int row) -> String""" |
e811c8ce RD |
1069 | return _grid.GridTableBase_GetRowLabelValue(*args, **kwargs) |
1070 | ||
1071 | def GetColLabelValue(*args, **kwargs): | |
a95a7133 | 1072 | """GetColLabelValue(self, int col) -> String""" |
e811c8ce RD |
1073 | return _grid.GridTableBase_GetColLabelValue(*args, **kwargs) |
1074 | ||
1075 | def SetRowLabelValue(*args, **kwargs): | |
a95a7133 | 1076 | """SetRowLabelValue(self, int row, String value)""" |
e811c8ce RD |
1077 | return _grid.GridTableBase_SetRowLabelValue(*args, **kwargs) |
1078 | ||
1079 | def SetColLabelValue(*args, **kwargs): | |
a95a7133 | 1080 | """SetColLabelValue(self, int col, String value)""" |
e811c8ce RD |
1081 | return _grid.GridTableBase_SetColLabelValue(*args, **kwargs) |
1082 | ||
1083 | def CanHaveAttributes(*args, **kwargs): | |
a95a7133 | 1084 | """CanHaveAttributes(self) -> bool""" |
e811c8ce RD |
1085 | return _grid.GridTableBase_CanHaveAttributes(*args, **kwargs) |
1086 | ||
1087 | def GetAttr(*args, **kwargs): | |
a95a7133 | 1088 | """GetAttr(self, int row, int col, int kind) -> GridCellAttr""" |
e811c8ce RD |
1089 | return _grid.GridTableBase_GetAttr(*args, **kwargs) |
1090 | ||
1091 | def SetAttr(*args, **kwargs): | |
a95a7133 | 1092 | """SetAttr(self, GridCellAttr attr, int row, int col)""" |
e811c8ce RD |
1093 | return _grid.GridTableBase_SetAttr(*args, **kwargs) |
1094 | ||
1095 | def SetRowAttr(*args, **kwargs): | |
a95a7133 | 1096 | """SetRowAttr(self, GridCellAttr attr, int row)""" |
e811c8ce RD |
1097 | return _grid.GridTableBase_SetRowAttr(*args, **kwargs) |
1098 | ||
1099 | def SetColAttr(*args, **kwargs): | |
a95a7133 | 1100 | """SetColAttr(self, GridCellAttr attr, int col)""" |
e811c8ce RD |
1101 | return _grid.GridTableBase_SetColAttr(*args, **kwargs) |
1102 | ||
f6bcfd97 | 1103 | |
d14a1e28 RD |
1104 | class GridTableBasePtr(GridTableBase): |
1105 | def __init__(self, this): | |
1106 | self.this = this | |
1107 | if not hasattr(self,"thisown"): self.thisown = 0 | |
1108 | self.__class__ = GridTableBase | |
1109 | _grid.GridTableBase_swigregister(GridTableBasePtr) | |
f6bcfd97 | 1110 | |
d14a1e28 | 1111 | class PyGridTableBase(GridTableBase): |
093d3ff1 | 1112 | """Proxy of C++ PyGridTableBase class""" |
e811c8ce RD |
1113 | def __repr__(self): |
1114 | return "<%s.%s; proxy of C++ wxPyGridTableBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 1115 | def __init__(self, *args, **kwargs): |
a95a7133 | 1116 | """__init__(self) -> PyGridTableBase""" |
d14a1e28 RD |
1117 | newobj = _grid.new_PyGridTableBase(*args, **kwargs) |
1118 | self.this = newobj.this | |
1119 | self.thisown = 1 | |
1120 | del newobj.thisown | |
1121 | self._setCallbackInfo(self, PyGridTableBase);self._setOORInfo(self) | |
e811c8ce RD |
1122 | |
1123 | def _setCallbackInfo(*args, **kwargs): | |
a95a7133 | 1124 | """_setCallbackInfo(self, PyObject self, PyObject _class)""" |
e811c8ce RD |
1125 | return _grid.PyGridTableBase__setCallbackInfo(*args, **kwargs) |
1126 | ||
1127 | def Destroy(*args, **kwargs): | |
0df68c9f | 1128 | """ |
a95a7133 | 1129 | Destroy(self) |
e811c8ce | 1130 | |
0df68c9f RD |
1131 | Deletes the C++ object this Python object is a proxy for. |
1132 | """ | |
7e08d4ef RD |
1133 | val = _grid.PyGridTableBase_Destroy(*args, **kwargs) |
1134 | args[0].thisown = 0 | |
1135 | return val | |
e811c8ce | 1136 | |
c26d9ab4 RD |
1137 | def GetTypeName(*args, **kwargs): |
1138 | """GetTypeName(self, int row, int col) -> String""" | |
1139 | return _grid.PyGridTableBase_GetTypeName(*args, **kwargs) | |
e811c8ce | 1140 | |
c26d9ab4 RD |
1141 | def CanGetValueAs(*args, **kwargs): |
1142 | """CanGetValueAs(self, int row, int col, String typeName) -> bool""" | |
1143 | return _grid.PyGridTableBase_CanGetValueAs(*args, **kwargs) | |
e811c8ce | 1144 | |
c26d9ab4 RD |
1145 | def CanSetValueAs(*args, **kwargs): |
1146 | """CanSetValueAs(self, int row, int col, String typeName) -> bool""" | |
1147 | return _grid.PyGridTableBase_CanSetValueAs(*args, **kwargs) | |
e811c8ce | 1148 | |
c26d9ab4 RD |
1149 | def Clear(*args, **kwargs): |
1150 | """Clear(self)""" | |
1151 | return _grid.PyGridTableBase_Clear(*args, **kwargs) | |
e811c8ce | 1152 | |
c26d9ab4 RD |
1153 | def InsertRows(*args, **kwargs): |
1154 | """InsertRows(self, size_t pos=0, size_t numRows=1) -> bool""" | |
1155 | return _grid.PyGridTableBase_InsertRows(*args, **kwargs) | |
e811c8ce | 1156 | |
c26d9ab4 RD |
1157 | def AppendRows(*args, **kwargs): |
1158 | """AppendRows(self, size_t numRows=1) -> bool""" | |
1159 | return _grid.PyGridTableBase_AppendRows(*args, **kwargs) | |
e811c8ce | 1160 | |
c26d9ab4 RD |
1161 | def DeleteRows(*args, **kwargs): |
1162 | """DeleteRows(self, size_t pos=0, size_t numRows=1) -> bool""" | |
1163 | return _grid.PyGridTableBase_DeleteRows(*args, **kwargs) | |
e811c8ce | 1164 | |
c26d9ab4 RD |
1165 | def InsertCols(*args, **kwargs): |
1166 | """InsertCols(self, size_t pos=0, size_t numCols=1) -> bool""" | |
1167 | return _grid.PyGridTableBase_InsertCols(*args, **kwargs) | |
e811c8ce | 1168 | |
c26d9ab4 RD |
1169 | def AppendCols(*args, **kwargs): |
1170 | """AppendCols(self, size_t numCols=1) -> bool""" | |
1171 | return _grid.PyGridTableBase_AppendCols(*args, **kwargs) | |
e811c8ce | 1172 | |
c26d9ab4 RD |
1173 | def DeleteCols(*args, **kwargs): |
1174 | """DeleteCols(self, size_t pos=0, size_t numCols=1) -> bool""" | |
1175 | return _grid.PyGridTableBase_DeleteCols(*args, **kwargs) | |
e811c8ce | 1176 | |
c26d9ab4 RD |
1177 | def GetRowLabelValue(*args, **kwargs): |
1178 | """GetRowLabelValue(self, int row) -> String""" | |
1179 | return _grid.PyGridTableBase_GetRowLabelValue(*args, **kwargs) | |
e811c8ce | 1180 | |
c26d9ab4 RD |
1181 | def GetColLabelValue(*args, **kwargs): |
1182 | """GetColLabelValue(self, int col) -> String""" | |
1183 | return _grid.PyGridTableBase_GetColLabelValue(*args, **kwargs) | |
e811c8ce | 1184 | |
c26d9ab4 RD |
1185 | def SetRowLabelValue(*args, **kwargs): |
1186 | """SetRowLabelValue(self, int row, String value)""" | |
1187 | return _grid.PyGridTableBase_SetRowLabelValue(*args, **kwargs) | |
e811c8ce | 1188 | |
c26d9ab4 RD |
1189 | def SetColLabelValue(*args, **kwargs): |
1190 | """SetColLabelValue(self, int col, String value)""" | |
1191 | return _grid.PyGridTableBase_SetColLabelValue(*args, **kwargs) | |
e811c8ce | 1192 | |
c26d9ab4 RD |
1193 | def CanHaveAttributes(*args, **kwargs): |
1194 | """CanHaveAttributes(self) -> bool""" | |
1195 | return _grid.PyGridTableBase_CanHaveAttributes(*args, **kwargs) | |
e811c8ce | 1196 | |
c26d9ab4 RD |
1197 | def GetAttr(*args, **kwargs): |
1198 | """GetAttr(self, int row, int col, int kind) -> GridCellAttr""" | |
1199 | return _grid.PyGridTableBase_GetAttr(*args, **kwargs) | |
e811c8ce | 1200 | |
c26d9ab4 RD |
1201 | def SetAttr(*args, **kwargs): |
1202 | """SetAttr(self, GridCellAttr attr, int row, int col)""" | |
1203 | return _grid.PyGridTableBase_SetAttr(*args, **kwargs) | |
e811c8ce | 1204 | |
c26d9ab4 RD |
1205 | def SetRowAttr(*args, **kwargs): |
1206 | """SetRowAttr(self, GridCellAttr attr, int row)""" | |
1207 | return _grid.PyGridTableBase_SetRowAttr(*args, **kwargs) | |
e811c8ce | 1208 | |
c26d9ab4 RD |
1209 | def SetColAttr(*args, **kwargs): |
1210 | """SetColAttr(self, GridCellAttr attr, int col)""" | |
1211 | return _grid.PyGridTableBase_SetColAttr(*args, **kwargs) | |
1212 | ||
1213 | def base_GetTypeName(*args, **kw): | |
1214 | return PyGridTableBase.GetTypeName(*args, **kw) | |
1215 | base_GetTypeName = wx._deprecated(base_GetTypeName, | |
1216 | "Please use PyGridTableBase.GetTypeName instead.") | |
1217 | ||
1218 | def base_CanGetValueAs(*args, **kw): | |
1219 | return PyGridTableBase.CanGetValueAs(*args, **kw) | |
1220 | base_CanGetValueAs = wx._deprecated(base_CanGetValueAs, | |
1221 | "Please use PyGridTableBase.CanGetValueAs instead.") | |
1222 | ||
1223 | def base_CanSetValueAs(*args, **kw): | |
1224 | return PyGridTableBase.CanSetValueAs(*args, **kw) | |
1225 | base_CanSetValueAs = wx._deprecated(base_CanSetValueAs, | |
1226 | "Please use PyGridTableBase.CanSetValueAs instead.") | |
1227 | ||
1228 | def base_Clear(*args, **kw): | |
1229 | return PyGridTableBase.Clear(*args, **kw) | |
1230 | base_Clear = wx._deprecated(base_Clear, | |
1231 | "Please use PyGridTableBase.Clear instead.") | |
1232 | ||
1233 | def base_InsertRows(*args, **kw): | |
1234 | return PyGridTableBase.InsertRows(*args, **kw) | |
1235 | base_InsertRows = wx._deprecated(base_InsertRows, | |
1236 | "Please use PyGridTableBase.InsertRows instead.") | |
1237 | ||
1238 | def base_AppendRows(*args, **kw): | |
1239 | return PyGridTableBase.AppendRows(*args, **kw) | |
1240 | base_AppendRows = wx._deprecated(base_AppendRows, | |
1241 | "Please use PyGridTableBase.AppendRows instead.") | |
1242 | ||
1243 | def base_DeleteRows(*args, **kw): | |
1244 | return PyGridTableBase.DeleteRows(*args, **kw) | |
1245 | base_DeleteRows = wx._deprecated(base_DeleteRows, | |
1246 | "Please use PyGridTableBase.DeleteRows instead.") | |
1247 | ||
1248 | def base_InsertCols(*args, **kw): | |
1249 | return PyGridTableBase.InsertCols(*args, **kw) | |
1250 | base_InsertCols = wx._deprecated(base_InsertCols, | |
1251 | "Please use PyGridTableBase.InsertCols instead.") | |
1252 | ||
1253 | def base_AppendCols(*args, **kw): | |
1254 | return PyGridTableBase.AppendCols(*args, **kw) | |
1255 | base_AppendCols = wx._deprecated(base_AppendCols, | |
1256 | "Please use PyGridTableBase.AppendCols instead.") | |
1257 | ||
1258 | def base_DeleteCols(*args, **kw): | |
1259 | return PyGridTableBase.DeleteCols(*args, **kw) | |
1260 | base_DeleteCols = wx._deprecated(base_DeleteCols, | |
1261 | "Please use PyGridTableBase.DeleteCols instead.") | |
1262 | ||
1263 | def base_GetRowLabelValue(*args, **kw): | |
1264 | return PyGridTableBase.GetRowLabelValue(*args, **kw) | |
1265 | base_GetRowLabelValue = wx._deprecated(base_GetRowLabelValue, | |
1266 | "Please use PyGridTableBase.GetRowLabelValue instead.") | |
1267 | ||
1268 | def base_GetColLabelValue(*args, **kw): | |
1269 | return PyGridTableBase.GetColLabelValue(*args, **kw) | |
1270 | base_GetColLabelValue = wx._deprecated(base_GetColLabelValue, | |
1271 | "Please use PyGridTableBase.GetColLabelValue instead.") | |
1272 | ||
1273 | def base_SetRowLabelValue(*args, **kw): | |
1274 | return PyGridTableBase.SetRowLabelValue(*args, **kw) | |
1275 | base_SetRowLabelValue = wx._deprecated(base_SetRowLabelValue, | |
1276 | "Please use PyGridTableBase.SetRowLabelValue instead.") | |
1277 | ||
1278 | def base_SetColLabelValue(*args, **kw): | |
1279 | return PyGridTableBase.SetColLabelValue(*args, **kw) | |
1280 | base_SetColLabelValue = wx._deprecated(base_SetColLabelValue, | |
1281 | "Please use PyGridTableBase.SetColLabelValue instead.") | |
1282 | ||
1283 | def base_CanHaveAttributes(*args, **kw): | |
1284 | return PyGridTableBase.CanHaveAttributes(*args, **kw) | |
1285 | base_CanHaveAttributes = wx._deprecated(base_CanHaveAttributes, | |
1286 | "Please use PyGridTableBase.CanHaveAttributes instead.") | |
1287 | ||
1288 | def base_GetAttr(*args, **kw): | |
1289 | return PyGridTableBase.GetAttr(*args, **kw) | |
1290 | base_GetAttr = wx._deprecated(base_GetAttr, | |
1291 | "Please use PyGridTableBase.GetAttr instead.") | |
1292 | ||
1293 | def base_SetAttr(*args, **kw): | |
1294 | return PyGridTableBase.SetAttr(*args, **kw) | |
1295 | base_SetAttr = wx._deprecated(base_SetAttr, | |
1296 | "Please use PyGridTableBase.SetAttr instead.") | |
1297 | ||
1298 | def base_SetRowAttr(*args, **kw): | |
1299 | return PyGridTableBase.SetRowAttr(*args, **kw) | |
1300 | base_SetRowAttr = wx._deprecated(base_SetRowAttr, | |
1301 | "Please use PyGridTableBase.SetRowAttr instead.") | |
1302 | ||
1303 | def base_SetColAttr(*args, **kw): | |
1304 | return PyGridTableBase.SetColAttr(*args, **kw) | |
1305 | base_SetColAttr = wx._deprecated(base_SetColAttr, | |
1306 | "Please use PyGridTableBase.SetColAttr instead.") | |
e811c8ce | 1307 | |
f6bcfd97 | 1308 | |
d14a1e28 RD |
1309 | class PyGridTableBasePtr(PyGridTableBase): |
1310 | def __init__(self, this): | |
f6bcfd97 | 1311 | self.this = this |
d14a1e28 RD |
1312 | if not hasattr(self,"thisown"): self.thisown = 0 |
1313 | self.__class__ = PyGridTableBase | |
1314 | _grid.PyGridTableBase_swigregister(PyGridTableBasePtr) | |
1315 | ||
1316 | class GridStringTable(GridTableBase): | |
093d3ff1 | 1317 | """Proxy of C++ GridStringTable class""" |
e811c8ce RD |
1318 | def __repr__(self): |
1319 | return "<%s.%s; proxy of C++ wxGridStringTable instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 1320 | def __init__(self, *args, **kwargs): |
a95a7133 | 1321 | """__init__(self, int numRows=0, int numCols=0) -> GridStringTable""" |
d14a1e28 RD |
1322 | newobj = _grid.new_GridStringTable(*args, **kwargs) |
1323 | self.this = newobj.this | |
f6bcfd97 | 1324 | self.thisown = 1 |
d14a1e28 | 1325 | del newobj.thisown |
b98a5dfc | 1326 | self._setOORInfo(self) |
e811c8ce | 1327 | |
d14a1e28 RD |
1328 | |
1329 | class GridStringTablePtr(GridStringTable): | |
1330 | def __init__(self, this): | |
1331 | self.this = this | |
1332 | if not hasattr(self,"thisown"): self.thisown = 0 | |
1333 | self.__class__ = GridStringTable | |
1334 | _grid.GridStringTable_swigregister(GridStringTablePtr) | |
1335 | ||
1336 | GRIDTABLE_REQUEST_VIEW_GET_VALUES = _grid.GRIDTABLE_REQUEST_VIEW_GET_VALUES | |
1337 | GRIDTABLE_REQUEST_VIEW_SEND_VALUES = _grid.GRIDTABLE_REQUEST_VIEW_SEND_VALUES | |
1338 | GRIDTABLE_NOTIFY_ROWS_INSERTED = _grid.GRIDTABLE_NOTIFY_ROWS_INSERTED | |
1339 | GRIDTABLE_NOTIFY_ROWS_APPENDED = _grid.GRIDTABLE_NOTIFY_ROWS_APPENDED | |
1340 | GRIDTABLE_NOTIFY_ROWS_DELETED = _grid.GRIDTABLE_NOTIFY_ROWS_DELETED | |
1341 | GRIDTABLE_NOTIFY_COLS_INSERTED = _grid.GRIDTABLE_NOTIFY_COLS_INSERTED | |
1342 | GRIDTABLE_NOTIFY_COLS_APPENDED = _grid.GRIDTABLE_NOTIFY_COLS_APPENDED | |
1343 | GRIDTABLE_NOTIFY_COLS_DELETED = _grid.GRIDTABLE_NOTIFY_COLS_DELETED | |
1344 | class GridTableMessage(object): | |
093d3ff1 | 1345 | """Proxy of C++ GridTableMessage class""" |
e811c8ce RD |
1346 | def __repr__(self): |
1347 | return "<%s.%s; proxy of C++ wxGridTableMessage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 1348 | def __init__(self, *args, **kwargs): |
a95a7133 | 1349 | """__init__(self, GridTableBase table, int id, int comInt1=-1, int comInt2=-1) -> GridTableMessage""" |
d14a1e28 RD |
1350 | newobj = _grid.new_GridTableMessage(*args, **kwargs) |
1351 | self.this = newobj.this | |
f6bcfd97 | 1352 | self.thisown = 1 |
d14a1e28 RD |
1353 | del newobj.thisown |
1354 | def __del__(self, destroy=_grid.delete_GridTableMessage): | |
a95a7133 | 1355 | """__del__(self)""" |
d14a1e28 RD |
1356 | try: |
1357 | if self.thisown: destroy(self) | |
1358 | except: pass | |
e811c8ce RD |
1359 | |
1360 | def SetTableObject(*args, **kwargs): | |
a95a7133 | 1361 | """SetTableObject(self, GridTableBase table)""" |
e811c8ce RD |
1362 | return _grid.GridTableMessage_SetTableObject(*args, **kwargs) |
1363 | ||
1364 | def GetTableObject(*args, **kwargs): | |
a95a7133 | 1365 | """GetTableObject(self) -> GridTableBase""" |
e811c8ce RD |
1366 | return _grid.GridTableMessage_GetTableObject(*args, **kwargs) |
1367 | ||
1368 | def SetId(*args, **kwargs): | |
a95a7133 | 1369 | """SetId(self, int id)""" |
e811c8ce RD |
1370 | return _grid.GridTableMessage_SetId(*args, **kwargs) |
1371 | ||
1372 | def GetId(*args, **kwargs): | |
a95a7133 | 1373 | """GetId(self) -> int""" |
e811c8ce RD |
1374 | return _grid.GridTableMessage_GetId(*args, **kwargs) |
1375 | ||
1376 | def SetCommandInt(*args, **kwargs): | |
a95a7133 | 1377 | """SetCommandInt(self, int comInt1)""" |
e811c8ce RD |
1378 | return _grid.GridTableMessage_SetCommandInt(*args, **kwargs) |
1379 | ||
1380 | def GetCommandInt(*args, **kwargs): | |
a95a7133 | 1381 | """GetCommandInt(self) -> int""" |
e811c8ce RD |
1382 | return _grid.GridTableMessage_GetCommandInt(*args, **kwargs) |
1383 | ||
1384 | def SetCommandInt2(*args, **kwargs): | |
a95a7133 | 1385 | """SetCommandInt2(self, int comInt2)""" |
e811c8ce RD |
1386 | return _grid.GridTableMessage_SetCommandInt2(*args, **kwargs) |
1387 | ||
1388 | def GetCommandInt2(*args, **kwargs): | |
a95a7133 | 1389 | """GetCommandInt2(self) -> int""" |
e811c8ce RD |
1390 | return _grid.GridTableMessage_GetCommandInt2(*args, **kwargs) |
1391 | ||
f6bcfd97 | 1392 | |
d14a1e28 RD |
1393 | class GridTableMessagePtr(GridTableMessage): |
1394 | def __init__(self, this): | |
f6bcfd97 | 1395 | self.this = this |
d14a1e28 RD |
1396 | if not hasattr(self,"thisown"): self.thisown = 0 |
1397 | self.__class__ = GridTableMessage | |
1398 | _grid.GridTableMessage_swigregister(GridTableMessagePtr) | |
1399 | ||
1400 | class GridCellCoords(object): | |
093d3ff1 | 1401 | """Proxy of C++ GridCellCoords class""" |
e811c8ce RD |
1402 | def __repr__(self): |
1403 | return "<%s.%s; proxy of C++ wxGridCellCoords instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 1404 | def __init__(self, *args, **kwargs): |
a95a7133 | 1405 | """__init__(self, int r=-1, int c=-1) -> GridCellCoords""" |
d14a1e28 RD |
1406 | newobj = _grid.new_GridCellCoords(*args, **kwargs) |
1407 | self.this = newobj.this | |
1408 | self.thisown = 1 | |
1409 | del newobj.thisown | |
1410 | def __del__(self, destroy=_grid.delete_GridCellCoords): | |
a95a7133 | 1411 | """__del__(self)""" |
d14a1e28 RD |
1412 | try: |
1413 | if self.thisown: destroy(self) | |
1414 | except: pass | |
e811c8ce RD |
1415 | |
1416 | def GetRow(*args, **kwargs): | |
a95a7133 | 1417 | """GetRow(self) -> int""" |
e811c8ce RD |
1418 | return _grid.GridCellCoords_GetRow(*args, **kwargs) |
1419 | ||
1420 | def SetRow(*args, **kwargs): | |
a95a7133 | 1421 | """SetRow(self, int n)""" |
e811c8ce RD |
1422 | return _grid.GridCellCoords_SetRow(*args, **kwargs) |
1423 | ||
1424 | def GetCol(*args, **kwargs): | |
a95a7133 | 1425 | """GetCol(self) -> int""" |
e811c8ce RD |
1426 | return _grid.GridCellCoords_GetCol(*args, **kwargs) |
1427 | ||
1428 | def SetCol(*args, **kwargs): | |
a95a7133 | 1429 | """SetCol(self, int n)""" |
e811c8ce RD |
1430 | return _grid.GridCellCoords_SetCol(*args, **kwargs) |
1431 | ||
1432 | def Set(*args, **kwargs): | |
a95a7133 | 1433 | """Set(self, int row, int col)""" |
e811c8ce RD |
1434 | return _grid.GridCellCoords_Set(*args, **kwargs) |
1435 | ||
1436 | def __eq__(*args, **kwargs): | |
a95a7133 | 1437 | """__eq__(self, GridCellCoords other) -> bool""" |
e811c8ce RD |
1438 | return _grid.GridCellCoords___eq__(*args, **kwargs) |
1439 | ||
1440 | def __ne__(*args, **kwargs): | |
a95a7133 | 1441 | """__ne__(self, GridCellCoords other) -> bool""" |
e811c8ce RD |
1442 | return _grid.GridCellCoords___ne__(*args, **kwargs) |
1443 | ||
41e2b43e RD |
1444 | def Get(*args, **kwargs): |
1445 | """Get(self) -> PyObject""" | |
1446 | return _grid.GridCellCoords_Get(*args, **kwargs) | |
1447 | ||
1448 | asTuple = wx._deprecated(Get, "asTuple is deprecated, use `Get` instead") | |
1449 | def __str__(self): return str(self.Get()) | |
1450 | def __repr__(self): return 'wxGridCellCoords'+str(self.Get()) | |
1451 | def __len__(self): return len(self.Get()) | |
b67a9327 RD |
1452 | def __getitem__(self, index): return self.asTuple()[index] |
1453 | def __setitem__(self, index, val): | |
1454 | if index == 0: self.SetRow(val) | |
1455 | elif index == 1: self.SetCol(val) | |
1456 | else: raise IndexError | |
f6bcfd97 BP |
1457 | |
1458 | ||
d14a1e28 RD |
1459 | class GridCellCoordsPtr(GridCellCoords): |
1460 | def __init__(self, this): | |
f6bcfd97 | 1461 | self.this = this |
d14a1e28 RD |
1462 | if not hasattr(self,"thisown"): self.thisown = 0 |
1463 | self.__class__ = GridCellCoords | |
1464 | _grid.GridCellCoords_swigregister(GridCellCoordsPtr) | |
1465 | ||
54f9ee45 | 1466 | class Grid(_windows.ScrolledWindow): |
093d3ff1 | 1467 | """Proxy of C++ Grid class""" |
e811c8ce RD |
1468 | def __repr__(self): |
1469 | return "<%s.%s; proxy of C++ wxGrid instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 1470 | def __init__(self, *args, **kwargs): |
0df68c9f | 1471 | """ |
248ed943 RD |
1472 | __init__(self, Window parent, int id=-1, Point pos=DefaultPosition, |
1473 | Size size=DefaultSize, long style=WANTS_CHARS, | |
196addbf | 1474 | String name=PanelNameStr) -> Grid |
0df68c9f | 1475 | """ |
d14a1e28 RD |
1476 | newobj = _grid.new_Grid(*args, **kwargs) |
1477 | self.this = newobj.this | |
f6bcfd97 | 1478 | self.thisown = 1 |
d14a1e28 | 1479 | del newobj.thisown |
0220cbc1 | 1480 | self._setOORInfo(self) |
e811c8ce | 1481 | |
1a10c483 RD |
1482 | def Create(*args, **kwargs): |
1483 | """ | |
248ed943 RD |
1484 | Create(self, Window parent, int id=-1, Point pos=DefaultPosition, |
1485 | Size size=DefaultSize, long style=WANTS_CHARS, | |
1a10c483 RD |
1486 | String name=PanelNameStr) -> bool |
1487 | """ | |
1488 | return _grid.Grid_Create(*args, **kwargs) | |
1489 | ||
d14a1e28 RD |
1490 | wxGridSelectCells = _grid.Grid_wxGridSelectCells |
1491 | wxGridSelectRows = _grid.Grid_wxGridSelectRows | |
1492 | wxGridSelectColumns = _grid.Grid_wxGridSelectColumns | |
33b885b9 RD |
1493 | SelectCells = wxGridSelectCells |
1494 | SelectRows = wxGridSelectRows | |
4276dc52 | 1495 | SelectColumns = wxGridSelectColumns |
33b885b9 | 1496 | |
e811c8ce | 1497 | def CreateGrid(*args, **kwargs): |
a95a7133 | 1498 | """CreateGrid(self, int numRows, int numCols, WXGRIDSELECTIONMODES selmode=wxGridSelectCells) -> bool""" |
e811c8ce RD |
1499 | return _grid.Grid_CreateGrid(*args, **kwargs) |
1500 | ||
1501 | def SetSelectionMode(*args, **kwargs): | |
a95a7133 | 1502 | """SetSelectionMode(self, WXGRIDSELECTIONMODES selmode)""" |
e811c8ce RD |
1503 | return _grid.Grid_SetSelectionMode(*args, **kwargs) |
1504 | ||
1505 | def GetSelectionMode(*args, **kwargs): | |
a95a7133 | 1506 | """GetSelectionMode(self) -> WXGRIDSELECTIONMODES""" |
e811c8ce RD |
1507 | return _grid.Grid_GetSelectionMode(*args, **kwargs) |
1508 | ||
1509 | def GetNumberRows(*args, **kwargs): | |
a95a7133 | 1510 | """GetNumberRows(self) -> int""" |
e811c8ce RD |
1511 | return _grid.Grid_GetNumberRows(*args, **kwargs) |
1512 | ||
1513 | def GetNumberCols(*args, **kwargs): | |
a95a7133 | 1514 | """GetNumberCols(self) -> int""" |
e811c8ce RD |
1515 | return _grid.Grid_GetNumberCols(*args, **kwargs) |
1516 | ||
1517 | def ProcessTableMessage(*args, **kwargs): | |
a95a7133 | 1518 | """ProcessTableMessage(self, GridTableMessage ??) -> bool""" |
e811c8ce RD |
1519 | return _grid.Grid_ProcessTableMessage(*args, **kwargs) |
1520 | ||
1521 | def GetTable(*args, **kwargs): | |
a95a7133 | 1522 | """GetTable(self) -> GridTableBase""" |
e811c8ce RD |
1523 | return _grid.Grid_GetTable(*args, **kwargs) |
1524 | ||
1525 | def SetTable(*args, **kwargs): | |
a95a7133 | 1526 | """SetTable(self, GridTableBase table, bool takeOwnership=False, WXGRIDSELECTIONMODES selmode=wxGridSelectCells) -> bool""" |
e811c8ce RD |
1527 | return _grid.Grid_SetTable(*args, **kwargs) |
1528 | ||
1529 | def ClearGrid(*args, **kwargs): | |
a95a7133 | 1530 | """ClearGrid(self)""" |
e811c8ce RD |
1531 | return _grid.Grid_ClearGrid(*args, **kwargs) |
1532 | ||
1533 | def InsertRows(*args, **kwargs): | |
a95a7133 | 1534 | """InsertRows(self, int pos=0, int numRows=1, bool updateLabels=True) -> bool""" |
e811c8ce RD |
1535 | return _grid.Grid_InsertRows(*args, **kwargs) |
1536 | ||
1537 | def AppendRows(*args, **kwargs): | |
a95a7133 | 1538 | """AppendRows(self, int numRows=1, bool updateLabels=True) -> bool""" |
e811c8ce RD |
1539 | return _grid.Grid_AppendRows(*args, **kwargs) |
1540 | ||
1541 | def DeleteRows(*args, **kwargs): | |
a95a7133 | 1542 | """DeleteRows(self, int pos=0, int numRows=1, bool updateLabels=True) -> bool""" |
e811c8ce RD |
1543 | return _grid.Grid_DeleteRows(*args, **kwargs) |
1544 | ||
1545 | def InsertCols(*args, **kwargs): | |
a95a7133 | 1546 | """InsertCols(self, int pos=0, int numCols=1, bool updateLabels=True) -> bool""" |
e811c8ce RD |
1547 | return _grid.Grid_InsertCols(*args, **kwargs) |
1548 | ||
1549 | def AppendCols(*args, **kwargs): | |
a95a7133 | 1550 | """AppendCols(self, int numCols=1, bool updateLabels=True) -> bool""" |
e811c8ce RD |
1551 | return _grid.Grid_AppendCols(*args, **kwargs) |
1552 | ||
1553 | def DeleteCols(*args, **kwargs): | |
a95a7133 | 1554 | """DeleteCols(self, int pos=0, int numCols=1, bool updateLabels=True) -> bool""" |
e811c8ce RD |
1555 | return _grid.Grid_DeleteCols(*args, **kwargs) |
1556 | ||
1557 | def DrawCellHighlight(*args, **kwargs): | |
a95a7133 | 1558 | """DrawCellHighlight(self, DC dc, GridCellAttr attr)""" |
e811c8ce RD |
1559 | return _grid.Grid_DrawCellHighlight(*args, **kwargs) |
1560 | ||
1561 | def DrawTextRectangle(*args, **kwargs): | |
0df68c9f | 1562 | """ |
a95a7133 | 1563 | DrawTextRectangle(self, DC dc, String ??, Rect ??, int horizontalAlignment=LEFT, |
0df68c9f RD |
1564 | int verticalAlignment=TOP, int textOrientation=HORIZONTAL) |
1565 | """ | |
e811c8ce RD |
1566 | return _grid.Grid_DrawTextRectangle(*args, **kwargs) |
1567 | ||
1568 | def GetTextBoxSize(*args, **kwargs): | |
322913ce | 1569 | """GetTextBoxSize(DC dc, list lines) -> (width, height)""" |
e811c8ce RD |
1570 | return _grid.Grid_GetTextBoxSize(*args, **kwargs) |
1571 | ||
1572 | def BeginBatch(*args, **kwargs): | |
a95a7133 | 1573 | """BeginBatch(self)""" |
e811c8ce RD |
1574 | return _grid.Grid_BeginBatch(*args, **kwargs) |
1575 | ||
1576 | def EndBatch(*args, **kwargs): | |
a95a7133 | 1577 | """EndBatch(self)""" |
e811c8ce RD |
1578 | return _grid.Grid_EndBatch(*args, **kwargs) |
1579 | ||
1580 | def GetBatchCount(*args, **kwargs): | |
a95a7133 | 1581 | """GetBatchCount(self) -> int""" |
e811c8ce RD |
1582 | return _grid.Grid_GetBatchCount(*args, **kwargs) |
1583 | ||
1584 | def ForceRefresh(*args, **kwargs): | |
a95a7133 | 1585 | """ForceRefresh(self)""" |
e811c8ce RD |
1586 | return _grid.Grid_ForceRefresh(*args, **kwargs) |
1587 | ||
e811c8ce | 1588 | def IsEditable(*args, **kwargs): |
a95a7133 | 1589 | """IsEditable(self) -> bool""" |
e811c8ce RD |
1590 | return _grid.Grid_IsEditable(*args, **kwargs) |
1591 | ||
1592 | def EnableEditing(*args, **kwargs): | |
a95a7133 | 1593 | """EnableEditing(self, bool edit)""" |
e811c8ce RD |
1594 | return _grid.Grid_EnableEditing(*args, **kwargs) |
1595 | ||
1596 | def EnableCellEditControl(*args, **kwargs): | |
a95a7133 | 1597 | """EnableCellEditControl(self, bool enable=True)""" |
e811c8ce RD |
1598 | return _grid.Grid_EnableCellEditControl(*args, **kwargs) |
1599 | ||
1600 | def DisableCellEditControl(*args, **kwargs): | |
a95a7133 | 1601 | """DisableCellEditControl(self)""" |
e811c8ce RD |
1602 | return _grid.Grid_DisableCellEditControl(*args, **kwargs) |
1603 | ||
1604 | def CanEnableCellControl(*args, **kwargs): | |
a95a7133 | 1605 | """CanEnableCellControl(self) -> bool""" |
e811c8ce RD |
1606 | return _grid.Grid_CanEnableCellControl(*args, **kwargs) |
1607 | ||
1608 | def IsCellEditControlEnabled(*args, **kwargs): | |
a95a7133 | 1609 | """IsCellEditControlEnabled(self) -> bool""" |
e811c8ce RD |
1610 | return _grid.Grid_IsCellEditControlEnabled(*args, **kwargs) |
1611 | ||
1612 | def IsCellEditControlShown(*args, **kwargs): | |
a95a7133 | 1613 | """IsCellEditControlShown(self) -> bool""" |
e811c8ce RD |
1614 | return _grid.Grid_IsCellEditControlShown(*args, **kwargs) |
1615 | ||
1616 | def IsCurrentCellReadOnly(*args, **kwargs): | |
a95a7133 | 1617 | """IsCurrentCellReadOnly(self) -> bool""" |
e811c8ce RD |
1618 | return _grid.Grid_IsCurrentCellReadOnly(*args, **kwargs) |
1619 | ||
1620 | def ShowCellEditControl(*args, **kwargs): | |
a95a7133 | 1621 | """ShowCellEditControl(self)""" |
e811c8ce RD |
1622 | return _grid.Grid_ShowCellEditControl(*args, **kwargs) |
1623 | ||
1624 | def HideCellEditControl(*args, **kwargs): | |
a95a7133 | 1625 | """HideCellEditControl(self)""" |
e811c8ce RD |
1626 | return _grid.Grid_HideCellEditControl(*args, **kwargs) |
1627 | ||
1628 | def SaveEditControlValue(*args, **kwargs): | |
a95a7133 | 1629 | """SaveEditControlValue(self)""" |
e811c8ce RD |
1630 | return _grid.Grid_SaveEditControlValue(*args, **kwargs) |
1631 | ||
1632 | def XYToCell(*args, **kwargs): | |
a95a7133 | 1633 | """XYToCell(self, int x, int y) -> GridCellCoords""" |
e811c8ce RD |
1634 | return _grid.Grid_XYToCell(*args, **kwargs) |
1635 | ||
1636 | def YToRow(*args, **kwargs): | |
a95a7133 | 1637 | """YToRow(self, int y) -> int""" |
e811c8ce RD |
1638 | return _grid.Grid_YToRow(*args, **kwargs) |
1639 | ||
1640 | def XToCol(*args, **kwargs): | |
a95a7133 | 1641 | """XToCol(self, int x) -> int""" |
e811c8ce RD |
1642 | return _grid.Grid_XToCol(*args, **kwargs) |
1643 | ||
1644 | def YToEdgeOfRow(*args, **kwargs): | |
a95a7133 | 1645 | """YToEdgeOfRow(self, int y) -> int""" |
e811c8ce RD |
1646 | return _grid.Grid_YToEdgeOfRow(*args, **kwargs) |
1647 | ||
1648 | def XToEdgeOfCol(*args, **kwargs): | |
a95a7133 | 1649 | """XToEdgeOfCol(self, int x) -> int""" |
e811c8ce RD |
1650 | return _grid.Grid_XToEdgeOfCol(*args, **kwargs) |
1651 | ||
1652 | def CellToRect(*args, **kwargs): | |
a95a7133 | 1653 | """CellToRect(self, int row, int col) -> Rect""" |
e811c8ce RD |
1654 | return _grid.Grid_CellToRect(*args, **kwargs) |
1655 | ||
1656 | def GetGridCursorRow(*args, **kwargs): | |
a95a7133 | 1657 | """GetGridCursorRow(self) -> int""" |
e811c8ce RD |
1658 | return _grid.Grid_GetGridCursorRow(*args, **kwargs) |
1659 | ||
1660 | def GetGridCursorCol(*args, **kwargs): | |
a95a7133 | 1661 | """GetGridCursorCol(self) -> int""" |
e811c8ce RD |
1662 | return _grid.Grid_GetGridCursorCol(*args, **kwargs) |
1663 | ||
1664 | def IsVisible(*args, **kwargs): | |
a95a7133 | 1665 | """IsVisible(self, int row, int col, bool wholeCellVisible=True) -> bool""" |
e811c8ce RD |
1666 | return _grid.Grid_IsVisible(*args, **kwargs) |
1667 | ||
1668 | def MakeCellVisible(*args, **kwargs): | |
a95a7133 | 1669 | """MakeCellVisible(self, int row, int col)""" |
e811c8ce RD |
1670 | return _grid.Grid_MakeCellVisible(*args, **kwargs) |
1671 | ||
1672 | def SetGridCursor(*args, **kwargs): | |
a95a7133 | 1673 | """SetGridCursor(self, int row, int col)""" |
e811c8ce RD |
1674 | return _grid.Grid_SetGridCursor(*args, **kwargs) |
1675 | ||
1676 | def MoveCursorUp(*args, **kwargs): | |
a95a7133 | 1677 | """MoveCursorUp(self, bool expandSelection) -> bool""" |
e811c8ce RD |
1678 | return _grid.Grid_MoveCursorUp(*args, **kwargs) |
1679 | ||
1680 | def MoveCursorDown(*args, **kwargs): | |
a95a7133 | 1681 | """MoveCursorDown(self, bool expandSelection) -> bool""" |
e811c8ce RD |
1682 | return _grid.Grid_MoveCursorDown(*args, **kwargs) |
1683 | ||
1684 | def MoveCursorLeft(*args, **kwargs): | |
a95a7133 | 1685 | """MoveCursorLeft(self, bool expandSelection) -> bool""" |
e811c8ce RD |
1686 | return _grid.Grid_MoveCursorLeft(*args, **kwargs) |
1687 | ||
1688 | def MoveCursorRight(*args, **kwargs): | |
a95a7133 | 1689 | """MoveCursorRight(self, bool expandSelection) -> bool""" |
e811c8ce RD |
1690 | return _grid.Grid_MoveCursorRight(*args, **kwargs) |
1691 | ||
1692 | def MovePageDown(*args, **kwargs): | |
a95a7133 | 1693 | """MovePageDown(self) -> bool""" |
e811c8ce RD |
1694 | return _grid.Grid_MovePageDown(*args, **kwargs) |
1695 | ||
1696 | def MovePageUp(*args, **kwargs): | |
a95a7133 | 1697 | """MovePageUp(self) -> bool""" |
e811c8ce RD |
1698 | return _grid.Grid_MovePageUp(*args, **kwargs) |
1699 | ||
1700 | def MoveCursorUpBlock(*args, **kwargs): | |
a95a7133 | 1701 | """MoveCursorUpBlock(self, bool expandSelection) -> bool""" |
e811c8ce RD |
1702 | return _grid.Grid_MoveCursorUpBlock(*args, **kwargs) |
1703 | ||
1704 | def MoveCursorDownBlock(*args, **kwargs): | |
a95a7133 | 1705 | """MoveCursorDownBlock(self, bool expandSelection) -> bool""" |
e811c8ce RD |
1706 | return _grid.Grid_MoveCursorDownBlock(*args, **kwargs) |
1707 | ||
1708 | def MoveCursorLeftBlock(*args, **kwargs): | |
a95a7133 | 1709 | """MoveCursorLeftBlock(self, bool expandSelection) -> bool""" |
e811c8ce RD |
1710 | return _grid.Grid_MoveCursorLeftBlock(*args, **kwargs) |
1711 | ||
1712 | def MoveCursorRightBlock(*args, **kwargs): | |
a95a7133 | 1713 | """MoveCursorRightBlock(self, bool expandSelection) -> bool""" |
e811c8ce RD |
1714 | return _grid.Grid_MoveCursorRightBlock(*args, **kwargs) |
1715 | ||
1716 | def GetDefaultRowLabelSize(*args, **kwargs): | |
a95a7133 | 1717 | """GetDefaultRowLabelSize(self) -> int""" |
e811c8ce RD |
1718 | return _grid.Grid_GetDefaultRowLabelSize(*args, **kwargs) |
1719 | ||
1720 | def GetRowLabelSize(*args, **kwargs): | |
a95a7133 | 1721 | """GetRowLabelSize(self) -> int""" |
e811c8ce RD |
1722 | return _grid.Grid_GetRowLabelSize(*args, **kwargs) |
1723 | ||
1724 | def GetDefaultColLabelSize(*args, **kwargs): | |
a95a7133 | 1725 | """GetDefaultColLabelSize(self) -> int""" |
e811c8ce RD |
1726 | return _grid.Grid_GetDefaultColLabelSize(*args, **kwargs) |
1727 | ||
1728 | def GetColLabelSize(*args, **kwargs): | |
a95a7133 | 1729 | """GetColLabelSize(self) -> int""" |
e811c8ce RD |
1730 | return _grid.Grid_GetColLabelSize(*args, **kwargs) |
1731 | ||
1732 | def GetLabelBackgroundColour(*args, **kwargs): | |
a95a7133 | 1733 | """GetLabelBackgroundColour(self) -> Colour""" |
e811c8ce RD |
1734 | return _grid.Grid_GetLabelBackgroundColour(*args, **kwargs) |
1735 | ||
1736 | def GetLabelTextColour(*args, **kwargs): | |
a95a7133 | 1737 | """GetLabelTextColour(self) -> Colour""" |
e811c8ce RD |
1738 | return _grid.Grid_GetLabelTextColour(*args, **kwargs) |
1739 | ||
1740 | def GetLabelFont(*args, **kwargs): | |
a95a7133 | 1741 | """GetLabelFont(self) -> Font""" |
e811c8ce RD |
1742 | return _grid.Grid_GetLabelFont(*args, **kwargs) |
1743 | ||
1744 | def GetRowLabelAlignment(*args, **kwargs): | |
322913ce | 1745 | """GetRowLabelAlignment() -> (horiz, vert)""" |
e811c8ce RD |
1746 | return _grid.Grid_GetRowLabelAlignment(*args, **kwargs) |
1747 | ||
1748 | def GetColLabelAlignment(*args, **kwargs): | |
322913ce | 1749 | """GetColLabelAlignment() -> (horiz, vert)""" |
e811c8ce RD |
1750 | return _grid.Grid_GetColLabelAlignment(*args, **kwargs) |
1751 | ||
1752 | def GetColLabelTextOrientation(*args, **kwargs): | |
a95a7133 | 1753 | """GetColLabelTextOrientation(self) -> int""" |
e811c8ce RD |
1754 | return _grid.Grid_GetColLabelTextOrientation(*args, **kwargs) |
1755 | ||
1756 | def GetRowLabelValue(*args, **kwargs): | |
a95a7133 | 1757 | """GetRowLabelValue(self, int row) -> String""" |
e811c8ce RD |
1758 | return _grid.Grid_GetRowLabelValue(*args, **kwargs) |
1759 | ||
1760 | def GetColLabelValue(*args, **kwargs): | |
a95a7133 | 1761 | """GetColLabelValue(self, int col) -> String""" |
e811c8ce RD |
1762 | return _grid.Grid_GetColLabelValue(*args, **kwargs) |
1763 | ||
1764 | def GetGridLineColour(*args, **kwargs): | |
a95a7133 | 1765 | """GetGridLineColour(self) -> Colour""" |
e811c8ce RD |
1766 | return _grid.Grid_GetGridLineColour(*args, **kwargs) |
1767 | ||
1768 | def GetCellHighlightColour(*args, **kwargs): | |
a95a7133 | 1769 | """GetCellHighlightColour(self) -> Colour""" |
e811c8ce RD |
1770 | return _grid.Grid_GetCellHighlightColour(*args, **kwargs) |
1771 | ||
1772 | def GetCellHighlightPenWidth(*args, **kwargs): | |
a95a7133 | 1773 | """GetCellHighlightPenWidth(self) -> int""" |
e811c8ce RD |
1774 | return _grid.Grid_GetCellHighlightPenWidth(*args, **kwargs) |
1775 | ||
1776 | def GetCellHighlightROPenWidth(*args, **kwargs): | |
a95a7133 | 1777 | """GetCellHighlightROPenWidth(self) -> int""" |
e811c8ce RD |
1778 | return _grid.Grid_GetCellHighlightROPenWidth(*args, **kwargs) |
1779 | ||
1780 | def SetRowLabelSize(*args, **kwargs): | |
a95a7133 | 1781 | """SetRowLabelSize(self, int width)""" |
e811c8ce RD |
1782 | return _grid.Grid_SetRowLabelSize(*args, **kwargs) |
1783 | ||
1784 | def SetColLabelSize(*args, **kwargs): | |
a95a7133 | 1785 | """SetColLabelSize(self, int height)""" |
e811c8ce RD |
1786 | return _grid.Grid_SetColLabelSize(*args, **kwargs) |
1787 | ||
1788 | def SetLabelBackgroundColour(*args, **kwargs): | |
a95a7133 | 1789 | """SetLabelBackgroundColour(self, Colour ??)""" |
e811c8ce RD |
1790 | return _grid.Grid_SetLabelBackgroundColour(*args, **kwargs) |
1791 | ||
1792 | def SetLabelTextColour(*args, **kwargs): | |
a95a7133 | 1793 | """SetLabelTextColour(self, Colour ??)""" |
e811c8ce RD |
1794 | return _grid.Grid_SetLabelTextColour(*args, **kwargs) |
1795 | ||
1796 | def SetLabelFont(*args, **kwargs): | |
a95a7133 | 1797 | """SetLabelFont(self, Font ??)""" |
e811c8ce RD |
1798 | return _grid.Grid_SetLabelFont(*args, **kwargs) |
1799 | ||
1800 | def SetRowLabelAlignment(*args, **kwargs): | |
a95a7133 | 1801 | """SetRowLabelAlignment(self, int horiz, int vert)""" |
e811c8ce RD |
1802 | return _grid.Grid_SetRowLabelAlignment(*args, **kwargs) |
1803 | ||
1804 | def SetColLabelAlignment(*args, **kwargs): | |
a95a7133 | 1805 | """SetColLabelAlignment(self, int horiz, int vert)""" |
e811c8ce RD |
1806 | return _grid.Grid_SetColLabelAlignment(*args, **kwargs) |
1807 | ||
1808 | def SetColLabelTextOrientation(*args, **kwargs): | |
a95a7133 | 1809 | """SetColLabelTextOrientation(self, int textOrientation)""" |
e811c8ce RD |
1810 | return _grid.Grid_SetColLabelTextOrientation(*args, **kwargs) |
1811 | ||
1812 | def SetRowLabelValue(*args, **kwargs): | |
a95a7133 | 1813 | """SetRowLabelValue(self, int row, String ??)""" |
e811c8ce RD |
1814 | return _grid.Grid_SetRowLabelValue(*args, **kwargs) |
1815 | ||
1816 | def SetColLabelValue(*args, **kwargs): | |
a95a7133 | 1817 | """SetColLabelValue(self, int col, String ??)""" |
e811c8ce RD |
1818 | return _grid.Grid_SetColLabelValue(*args, **kwargs) |
1819 | ||
1820 | def SetGridLineColour(*args, **kwargs): | |
a95a7133 | 1821 | """SetGridLineColour(self, Colour ??)""" |
e811c8ce RD |
1822 | return _grid.Grid_SetGridLineColour(*args, **kwargs) |
1823 | ||
1824 | def SetCellHighlightColour(*args, **kwargs): | |
a95a7133 | 1825 | """SetCellHighlightColour(self, Colour ??)""" |
e811c8ce RD |
1826 | return _grid.Grid_SetCellHighlightColour(*args, **kwargs) |
1827 | ||
1828 | def SetCellHighlightPenWidth(*args, **kwargs): | |
a95a7133 | 1829 | """SetCellHighlightPenWidth(self, int width)""" |
e811c8ce RD |
1830 | return _grid.Grid_SetCellHighlightPenWidth(*args, **kwargs) |
1831 | ||
1832 | def SetCellHighlightROPenWidth(*args, **kwargs): | |
a95a7133 | 1833 | """SetCellHighlightROPenWidth(self, int width)""" |
e811c8ce RD |
1834 | return _grid.Grid_SetCellHighlightROPenWidth(*args, **kwargs) |
1835 | ||
1836 | def EnableDragRowSize(*args, **kwargs): | |
a95a7133 | 1837 | """EnableDragRowSize(self, bool enable=True)""" |
e811c8ce RD |
1838 | return _grid.Grid_EnableDragRowSize(*args, **kwargs) |
1839 | ||
1840 | def DisableDragRowSize(*args, **kwargs): | |
a95a7133 | 1841 | """DisableDragRowSize(self)""" |
e811c8ce RD |
1842 | return _grid.Grid_DisableDragRowSize(*args, **kwargs) |
1843 | ||
1844 | def CanDragRowSize(*args, **kwargs): | |
a95a7133 | 1845 | """CanDragRowSize(self) -> bool""" |
e811c8ce RD |
1846 | return _grid.Grid_CanDragRowSize(*args, **kwargs) |
1847 | ||
1848 | def EnableDragColSize(*args, **kwargs): | |
a95a7133 | 1849 | """EnableDragColSize(self, bool enable=True)""" |
e811c8ce RD |
1850 | return _grid.Grid_EnableDragColSize(*args, **kwargs) |
1851 | ||
1852 | def DisableDragColSize(*args, **kwargs): | |
a95a7133 | 1853 | """DisableDragColSize(self)""" |
e811c8ce RD |
1854 | return _grid.Grid_DisableDragColSize(*args, **kwargs) |
1855 | ||
1856 | def CanDragColSize(*args, **kwargs): | |
a95a7133 | 1857 | """CanDragColSize(self) -> bool""" |
e811c8ce RD |
1858 | return _grid.Grid_CanDragColSize(*args, **kwargs) |
1859 | ||
1860 | def EnableDragGridSize(*args, **kwargs): | |
a95a7133 | 1861 | """EnableDragGridSize(self, bool enable=True)""" |
e811c8ce RD |
1862 | return _grid.Grid_EnableDragGridSize(*args, **kwargs) |
1863 | ||
1864 | def DisableDragGridSize(*args, **kwargs): | |
a95a7133 | 1865 | """DisableDragGridSize(self)""" |
e811c8ce RD |
1866 | return _grid.Grid_DisableDragGridSize(*args, **kwargs) |
1867 | ||
1868 | def CanDragGridSize(*args, **kwargs): | |
a95a7133 | 1869 | """CanDragGridSize(self) -> bool""" |
e811c8ce RD |
1870 | return _grid.Grid_CanDragGridSize(*args, **kwargs) |
1871 | ||
4cf4100f RD |
1872 | def EnableDragCell(*args, **kwargs): |
1873 | """EnableDragCell(self, bool enable=True)""" | |
1874 | return _grid.Grid_EnableDragCell(*args, **kwargs) | |
1875 | ||
1876 | def DisableDragCell(*args, **kwargs): | |
1877 | """DisableDragCell(self)""" | |
1878 | return _grid.Grid_DisableDragCell(*args, **kwargs) | |
1879 | ||
1880 | def CanDragCell(*args, **kwargs): | |
1881 | """CanDragCell(self) -> bool""" | |
1882 | return _grid.Grid_CanDragCell(*args, **kwargs) | |
1883 | ||
e811c8ce | 1884 | def SetAttr(*args, **kwargs): |
a95a7133 | 1885 | """SetAttr(self, int row, int col, GridCellAttr attr)""" |
e811c8ce RD |
1886 | return _grid.Grid_SetAttr(*args, **kwargs) |
1887 | ||
1888 | def SetRowAttr(*args, **kwargs): | |
a95a7133 | 1889 | """SetRowAttr(self, int row, GridCellAttr attr)""" |
e811c8ce RD |
1890 | return _grid.Grid_SetRowAttr(*args, **kwargs) |
1891 | ||
1892 | def SetColAttr(*args, **kwargs): | |
a95a7133 | 1893 | """SetColAttr(self, int col, GridCellAttr attr)""" |
e811c8ce RD |
1894 | return _grid.Grid_SetColAttr(*args, **kwargs) |
1895 | ||
023a034e RD |
1896 | def GetOrCreateCellAttr(*args, **kwargs): |
1897 | """GetOrCreateCellAttr(self, int row, int col) -> GridCellAttr""" | |
1898 | return _grid.Grid_GetOrCreateCellAttr(*args, **kwargs) | |
1899 | ||
e811c8ce | 1900 | def SetColFormatBool(*args, **kwargs): |
a95a7133 | 1901 | """SetColFormatBool(self, int col)""" |
e811c8ce RD |
1902 | return _grid.Grid_SetColFormatBool(*args, **kwargs) |
1903 | ||
1904 | def SetColFormatNumber(*args, **kwargs): | |
a95a7133 | 1905 | """SetColFormatNumber(self, int col)""" |
e811c8ce RD |
1906 | return _grid.Grid_SetColFormatNumber(*args, **kwargs) |
1907 | ||
1908 | def SetColFormatFloat(*args, **kwargs): | |
a95a7133 | 1909 | """SetColFormatFloat(self, int col, int width=-1, int precision=-1)""" |
e811c8ce RD |
1910 | return _grid.Grid_SetColFormatFloat(*args, **kwargs) |
1911 | ||
1912 | def SetColFormatCustom(*args, **kwargs): | |
a95a7133 | 1913 | """SetColFormatCustom(self, int col, String typeName)""" |
e811c8ce RD |
1914 | return _grid.Grid_SetColFormatCustom(*args, **kwargs) |
1915 | ||
1916 | def EnableGridLines(*args, **kwargs): | |
a95a7133 | 1917 | """EnableGridLines(self, bool enable=True)""" |
e811c8ce RD |
1918 | return _grid.Grid_EnableGridLines(*args, **kwargs) |
1919 | ||
1920 | def GridLinesEnabled(*args, **kwargs): | |
a95a7133 | 1921 | """GridLinesEnabled(self) -> bool""" |
e811c8ce RD |
1922 | return _grid.Grid_GridLinesEnabled(*args, **kwargs) |
1923 | ||
1924 | def GetDefaultRowSize(*args, **kwargs): | |
a95a7133 | 1925 | """GetDefaultRowSize(self) -> int""" |
e811c8ce RD |
1926 | return _grid.Grid_GetDefaultRowSize(*args, **kwargs) |
1927 | ||
1928 | def GetRowSize(*args, **kwargs): | |
a95a7133 | 1929 | """GetRowSize(self, int row) -> int""" |
e811c8ce RD |
1930 | return _grid.Grid_GetRowSize(*args, **kwargs) |
1931 | ||
1932 | def GetDefaultColSize(*args, **kwargs): | |
a95a7133 | 1933 | """GetDefaultColSize(self) -> int""" |
e811c8ce RD |
1934 | return _grid.Grid_GetDefaultColSize(*args, **kwargs) |
1935 | ||
1936 | def GetColSize(*args, **kwargs): | |
a95a7133 | 1937 | """GetColSize(self, int col) -> int""" |
e811c8ce RD |
1938 | return _grid.Grid_GetColSize(*args, **kwargs) |
1939 | ||
1940 | def GetDefaultCellBackgroundColour(*args, **kwargs): | |
a95a7133 | 1941 | """GetDefaultCellBackgroundColour(self) -> Colour""" |
e811c8ce RD |
1942 | return _grid.Grid_GetDefaultCellBackgroundColour(*args, **kwargs) |
1943 | ||
1944 | def GetCellBackgroundColour(*args, **kwargs): | |
a95a7133 | 1945 | """GetCellBackgroundColour(self, int row, int col) -> Colour""" |
e811c8ce RD |
1946 | return _grid.Grid_GetCellBackgroundColour(*args, **kwargs) |
1947 | ||
1948 | def GetDefaultCellTextColour(*args, **kwargs): | |
a95a7133 | 1949 | """GetDefaultCellTextColour(self) -> Colour""" |
e811c8ce RD |
1950 | return _grid.Grid_GetDefaultCellTextColour(*args, **kwargs) |
1951 | ||
1952 | def GetCellTextColour(*args, **kwargs): | |
a95a7133 | 1953 | """GetCellTextColour(self, int row, int col) -> Colour""" |
e811c8ce RD |
1954 | return _grid.Grid_GetCellTextColour(*args, **kwargs) |
1955 | ||
1956 | def GetDefaultCellFont(*args, **kwargs): | |
a95a7133 | 1957 | """GetDefaultCellFont(self) -> Font""" |
e811c8ce RD |
1958 | return _grid.Grid_GetDefaultCellFont(*args, **kwargs) |
1959 | ||
1960 | def GetCellFont(*args, **kwargs): | |
a95a7133 | 1961 | """GetCellFont(self, int row, int col) -> Font""" |
e811c8ce RD |
1962 | return _grid.Grid_GetCellFont(*args, **kwargs) |
1963 | ||
1964 | def GetDefaultCellAlignment(*args, **kwargs): | |
322913ce | 1965 | """GetDefaultCellAlignment() -> (horiz, vert)""" |
e811c8ce RD |
1966 | return _grid.Grid_GetDefaultCellAlignment(*args, **kwargs) |
1967 | ||
1968 | def GetCellAlignment(*args, **kwargs): | |
322913ce | 1969 | """GetCellAlignment() -> (horiz, vert)""" |
e811c8ce RD |
1970 | return _grid.Grid_GetCellAlignment(*args, **kwargs) |
1971 | ||
1972 | def GetDefaultCellOverflow(*args, **kwargs): | |
a95a7133 | 1973 | """GetDefaultCellOverflow(self) -> bool""" |
e811c8ce RD |
1974 | return _grid.Grid_GetDefaultCellOverflow(*args, **kwargs) |
1975 | ||
1976 | def GetCellOverflow(*args, **kwargs): | |
a95a7133 | 1977 | """GetCellOverflow(self, int row, int col) -> bool""" |
e811c8ce RD |
1978 | return _grid.Grid_GetCellOverflow(*args, **kwargs) |
1979 | ||
1980 | def GetCellSize(*args, **kwargs): | |
322913ce | 1981 | """GetCellSize(int row, int col) -> (num_rows, num_cols)""" |
e811c8ce RD |
1982 | return _grid.Grid_GetCellSize(*args, **kwargs) |
1983 | ||
1984 | def SetDefaultRowSize(*args, **kwargs): | |
a95a7133 | 1985 | """SetDefaultRowSize(self, int height, bool resizeExistingRows=False)""" |
e811c8ce RD |
1986 | return _grid.Grid_SetDefaultRowSize(*args, **kwargs) |
1987 | ||
1988 | def SetRowSize(*args, **kwargs): | |
a95a7133 | 1989 | """SetRowSize(self, int row, int height)""" |
e811c8ce RD |
1990 | return _grid.Grid_SetRowSize(*args, **kwargs) |
1991 | ||
1992 | def SetDefaultColSize(*args, **kwargs): | |
a95a7133 | 1993 | """SetDefaultColSize(self, int width, bool resizeExistingCols=False)""" |
e811c8ce RD |
1994 | return _grid.Grid_SetDefaultColSize(*args, **kwargs) |
1995 | ||
1996 | def SetColSize(*args, **kwargs): | |
a95a7133 | 1997 | """SetColSize(self, int col, int width)""" |
e811c8ce RD |
1998 | return _grid.Grid_SetColSize(*args, **kwargs) |
1999 | ||
2000 | def AutoSizeColumn(*args, **kwargs): | |
a95a7133 | 2001 | """AutoSizeColumn(self, int col, bool setAsMin=True)""" |
e811c8ce RD |
2002 | return _grid.Grid_AutoSizeColumn(*args, **kwargs) |
2003 | ||
2004 | def AutoSizeRow(*args, **kwargs): | |
a95a7133 | 2005 | """AutoSizeRow(self, int row, bool setAsMin=True)""" |
e811c8ce RD |
2006 | return _grid.Grid_AutoSizeRow(*args, **kwargs) |
2007 | ||
2008 | def AutoSizeColumns(*args, **kwargs): | |
a95a7133 | 2009 | """AutoSizeColumns(self, bool setAsMin=True)""" |
e811c8ce RD |
2010 | return _grid.Grid_AutoSizeColumns(*args, **kwargs) |
2011 | ||
2012 | def AutoSizeRows(*args, **kwargs): | |
a95a7133 | 2013 | """AutoSizeRows(self, bool setAsMin=True)""" |
e811c8ce RD |
2014 | return _grid.Grid_AutoSizeRows(*args, **kwargs) |
2015 | ||
2016 | def AutoSize(*args, **kwargs): | |
a95a7133 | 2017 | """AutoSize(self)""" |
e811c8ce RD |
2018 | return _grid.Grid_AutoSize(*args, **kwargs) |
2019 | ||
2020 | def AutoSizeRowLabelSize(*args, **kwargs): | |
a95a7133 | 2021 | """AutoSizeRowLabelSize(self, int row)""" |
e811c8ce RD |
2022 | return _grid.Grid_AutoSizeRowLabelSize(*args, **kwargs) |
2023 | ||
2024 | def AutoSizeColLabelSize(*args, **kwargs): | |
a95a7133 | 2025 | """AutoSizeColLabelSize(self, int col)""" |
e811c8ce RD |
2026 | return _grid.Grid_AutoSizeColLabelSize(*args, **kwargs) |
2027 | ||
2028 | def SetColMinimalWidth(*args, **kwargs): | |
a95a7133 | 2029 | """SetColMinimalWidth(self, int col, int width)""" |
e811c8ce RD |
2030 | return _grid.Grid_SetColMinimalWidth(*args, **kwargs) |
2031 | ||
2032 | def SetRowMinimalHeight(*args, **kwargs): | |
a95a7133 | 2033 | """SetRowMinimalHeight(self, int row, int width)""" |
e811c8ce RD |
2034 | return _grid.Grid_SetRowMinimalHeight(*args, **kwargs) |
2035 | ||
2036 | def SetColMinimalAcceptableWidth(*args, **kwargs): | |
a95a7133 | 2037 | """SetColMinimalAcceptableWidth(self, int width)""" |
e811c8ce RD |
2038 | return _grid.Grid_SetColMinimalAcceptableWidth(*args, **kwargs) |
2039 | ||
2040 | def SetRowMinimalAcceptableHeight(*args, **kwargs): | |
a95a7133 | 2041 | """SetRowMinimalAcceptableHeight(self, int width)""" |
e811c8ce RD |
2042 | return _grid.Grid_SetRowMinimalAcceptableHeight(*args, **kwargs) |
2043 | ||
2044 | def GetColMinimalAcceptableWidth(*args, **kwargs): | |
a95a7133 | 2045 | """GetColMinimalAcceptableWidth(self) -> int""" |
e811c8ce RD |
2046 | return _grid.Grid_GetColMinimalAcceptableWidth(*args, **kwargs) |
2047 | ||
2048 | def GetRowMinimalAcceptableHeight(*args, **kwargs): | |
a95a7133 | 2049 | """GetRowMinimalAcceptableHeight(self) -> int""" |
e811c8ce RD |
2050 | return _grid.Grid_GetRowMinimalAcceptableHeight(*args, **kwargs) |
2051 | ||
2052 | def SetDefaultCellBackgroundColour(*args, **kwargs): | |
a95a7133 | 2053 | """SetDefaultCellBackgroundColour(self, Colour ??)""" |
e811c8ce RD |
2054 | return _grid.Grid_SetDefaultCellBackgroundColour(*args, **kwargs) |
2055 | ||
2056 | def SetCellBackgroundColour(*args, **kwargs): | |
a95a7133 | 2057 | """SetCellBackgroundColour(self, int row, int col, Colour ??)""" |
e811c8ce RD |
2058 | return _grid.Grid_SetCellBackgroundColour(*args, **kwargs) |
2059 | ||
2060 | def SetDefaultCellTextColour(*args, **kwargs): | |
a95a7133 | 2061 | """SetDefaultCellTextColour(self, Colour ??)""" |
e811c8ce RD |
2062 | return _grid.Grid_SetDefaultCellTextColour(*args, **kwargs) |
2063 | ||
2064 | def SetCellTextColour(*args, **kwargs): | |
a95a7133 | 2065 | """SetCellTextColour(self, int row, int col, Colour ??)""" |
e811c8ce RD |
2066 | return _grid.Grid_SetCellTextColour(*args, **kwargs) |
2067 | ||
2068 | def SetDefaultCellFont(*args, **kwargs): | |
a95a7133 | 2069 | """SetDefaultCellFont(self, Font ??)""" |
e811c8ce RD |
2070 | return _grid.Grid_SetDefaultCellFont(*args, **kwargs) |
2071 | ||
2072 | def SetCellFont(*args, **kwargs): | |
a95a7133 | 2073 | """SetCellFont(self, int row, int col, Font ??)""" |
e811c8ce RD |
2074 | return _grid.Grid_SetCellFont(*args, **kwargs) |
2075 | ||
2076 | def SetDefaultCellAlignment(*args, **kwargs): | |
a95a7133 | 2077 | """SetDefaultCellAlignment(self, int horiz, int vert)""" |
e811c8ce RD |
2078 | return _grid.Grid_SetDefaultCellAlignment(*args, **kwargs) |
2079 | ||
2080 | def SetCellAlignment(*args, **kwargs): | |
a95a7133 | 2081 | """SetCellAlignment(self, int row, int col, int horiz, int vert)""" |
e811c8ce RD |
2082 | return _grid.Grid_SetCellAlignment(*args, **kwargs) |
2083 | ||
2084 | def SetDefaultCellOverflow(*args, **kwargs): | |
a95a7133 | 2085 | """SetDefaultCellOverflow(self, bool allow)""" |
e811c8ce RD |
2086 | return _grid.Grid_SetDefaultCellOverflow(*args, **kwargs) |
2087 | ||
2088 | def SetCellOverflow(*args, **kwargs): | |
a95a7133 | 2089 | """SetCellOverflow(self, int row, int col, bool allow)""" |
e811c8ce RD |
2090 | return _grid.Grid_SetCellOverflow(*args, **kwargs) |
2091 | ||
2092 | def SetCellSize(*args, **kwargs): | |
a95a7133 | 2093 | """SetCellSize(self, int row, int col, int num_rows, int num_cols)""" |
e811c8ce RD |
2094 | return _grid.Grid_SetCellSize(*args, **kwargs) |
2095 | ||
2096 | def SetDefaultRenderer(*args, **kwargs): | |
a95a7133 | 2097 | """SetDefaultRenderer(self, GridCellRenderer renderer)""" |
e811c8ce RD |
2098 | return _grid.Grid_SetDefaultRenderer(*args, **kwargs) |
2099 | ||
2100 | def SetCellRenderer(*args, **kwargs): | |
a95a7133 | 2101 | """SetCellRenderer(self, int row, int col, GridCellRenderer renderer)""" |
e811c8ce RD |
2102 | return _grid.Grid_SetCellRenderer(*args, **kwargs) |
2103 | ||
2104 | def GetDefaultRenderer(*args, **kwargs): | |
a95a7133 | 2105 | """GetDefaultRenderer(self) -> GridCellRenderer""" |
e811c8ce RD |
2106 | return _grid.Grid_GetDefaultRenderer(*args, **kwargs) |
2107 | ||
2108 | def GetCellRenderer(*args, **kwargs): | |
a95a7133 | 2109 | """GetCellRenderer(self, int row, int col) -> GridCellRenderer""" |
e811c8ce RD |
2110 | return _grid.Grid_GetCellRenderer(*args, **kwargs) |
2111 | ||
2112 | def SetDefaultEditor(*args, **kwargs): | |
a95a7133 | 2113 | """SetDefaultEditor(self, GridCellEditor editor)""" |
e811c8ce RD |
2114 | return _grid.Grid_SetDefaultEditor(*args, **kwargs) |
2115 | ||
2116 | def SetCellEditor(*args, **kwargs): | |
a95a7133 | 2117 | """SetCellEditor(self, int row, int col, GridCellEditor editor)""" |
e811c8ce RD |
2118 | return _grid.Grid_SetCellEditor(*args, **kwargs) |
2119 | ||
2120 | def GetDefaultEditor(*args, **kwargs): | |
a95a7133 | 2121 | """GetDefaultEditor(self) -> GridCellEditor""" |
e811c8ce RD |
2122 | return _grid.Grid_GetDefaultEditor(*args, **kwargs) |
2123 | ||
2124 | def GetCellEditor(*args, **kwargs): | |
a95a7133 | 2125 | """GetCellEditor(self, int row, int col) -> GridCellEditor""" |
e811c8ce RD |
2126 | return _grid.Grid_GetCellEditor(*args, **kwargs) |
2127 | ||
2128 | def GetCellValue(*args, **kwargs): | |
a95a7133 | 2129 | """GetCellValue(self, int row, int col) -> String""" |
e811c8ce RD |
2130 | return _grid.Grid_GetCellValue(*args, **kwargs) |
2131 | ||
2132 | def SetCellValue(*args, **kwargs): | |
a95a7133 | 2133 | """SetCellValue(self, int row, int col, String s)""" |
e811c8ce RD |
2134 | return _grid.Grid_SetCellValue(*args, **kwargs) |
2135 | ||
2136 | def IsReadOnly(*args, **kwargs): | |
a95a7133 | 2137 | """IsReadOnly(self, int row, int col) -> bool""" |
e811c8ce RD |
2138 | return _grid.Grid_IsReadOnly(*args, **kwargs) |
2139 | ||
2140 | def SetReadOnly(*args, **kwargs): | |
a95a7133 | 2141 | """SetReadOnly(self, int row, int col, bool isReadOnly=True)""" |
e811c8ce RD |
2142 | return _grid.Grid_SetReadOnly(*args, **kwargs) |
2143 | ||
2144 | def SelectRow(*args, **kwargs): | |
a95a7133 | 2145 | """SelectRow(self, int row, bool addToSelected=False)""" |
e811c8ce RD |
2146 | return _grid.Grid_SelectRow(*args, **kwargs) |
2147 | ||
2148 | def SelectCol(*args, **kwargs): | |
a95a7133 | 2149 | """SelectCol(self, int col, bool addToSelected=False)""" |
e811c8ce RD |
2150 | return _grid.Grid_SelectCol(*args, **kwargs) |
2151 | ||
2152 | def SelectBlock(*args, **kwargs): | |
0df68c9f | 2153 | """ |
a95a7133 | 2154 | SelectBlock(self, int topRow, int leftCol, int bottomRow, int rightCol, |
0df68c9f RD |
2155 | bool addToSelected=False) |
2156 | """ | |
e811c8ce RD |
2157 | return _grid.Grid_SelectBlock(*args, **kwargs) |
2158 | ||
2159 | def SelectAll(*args, **kwargs): | |
a95a7133 | 2160 | """SelectAll(self)""" |
e811c8ce RD |
2161 | return _grid.Grid_SelectAll(*args, **kwargs) |
2162 | ||
2163 | def IsSelection(*args, **kwargs): | |
a95a7133 | 2164 | """IsSelection(self) -> bool""" |
e811c8ce RD |
2165 | return _grid.Grid_IsSelection(*args, **kwargs) |
2166 | ||
2167 | def ClearSelection(*args, **kwargs): | |
a95a7133 | 2168 | """ClearSelection(self)""" |
e811c8ce RD |
2169 | return _grid.Grid_ClearSelection(*args, **kwargs) |
2170 | ||
2171 | def IsInSelection(*args, **kwargs): | |
a95a7133 | 2172 | """IsInSelection(self, int row, int col) -> bool""" |
e811c8ce RD |
2173 | return _grid.Grid_IsInSelection(*args, **kwargs) |
2174 | ||
2175 | def GetSelectedCells(*args, **kwargs): | |
a95a7133 | 2176 | """GetSelectedCells(self) -> wxGridCellCoordsArray""" |
e811c8ce RD |
2177 | return _grid.Grid_GetSelectedCells(*args, **kwargs) |
2178 | ||
2179 | def GetSelectionBlockTopLeft(*args, **kwargs): | |
a95a7133 | 2180 | """GetSelectionBlockTopLeft(self) -> wxGridCellCoordsArray""" |
e811c8ce RD |
2181 | return _grid.Grid_GetSelectionBlockTopLeft(*args, **kwargs) |
2182 | ||
2183 | def GetSelectionBlockBottomRight(*args, **kwargs): | |
a95a7133 | 2184 | """GetSelectionBlockBottomRight(self) -> wxGridCellCoordsArray""" |
e811c8ce RD |
2185 | return _grid.Grid_GetSelectionBlockBottomRight(*args, **kwargs) |
2186 | ||
2187 | def GetSelectedRows(*args, **kwargs): | |
a95a7133 | 2188 | """GetSelectedRows(self) -> wxArrayInt""" |
e811c8ce RD |
2189 | return _grid.Grid_GetSelectedRows(*args, **kwargs) |
2190 | ||
2191 | def GetSelectedCols(*args, **kwargs): | |
a95a7133 | 2192 | """GetSelectedCols(self) -> wxArrayInt""" |
e811c8ce RD |
2193 | return _grid.Grid_GetSelectedCols(*args, **kwargs) |
2194 | ||
2195 | def DeselectRow(*args, **kwargs): | |
a95a7133 | 2196 | """DeselectRow(self, int row)""" |
e811c8ce RD |
2197 | return _grid.Grid_DeselectRow(*args, **kwargs) |
2198 | ||
2199 | def DeselectCol(*args, **kwargs): | |
a95a7133 | 2200 | """DeselectCol(self, int col)""" |
e811c8ce RD |
2201 | return _grid.Grid_DeselectCol(*args, **kwargs) |
2202 | ||
2203 | def DeselectCell(*args, **kwargs): | |
a95a7133 | 2204 | """DeselectCell(self, int row, int col)""" |
e811c8ce RD |
2205 | return _grid.Grid_DeselectCell(*args, **kwargs) |
2206 | ||
2207 | def BlockToDeviceRect(*args, **kwargs): | |
a95a7133 | 2208 | """BlockToDeviceRect(self, GridCellCoords topLeft, GridCellCoords bottomRight) -> Rect""" |
e811c8ce RD |
2209 | return _grid.Grid_BlockToDeviceRect(*args, **kwargs) |
2210 | ||
2211 | def GetSelectionBackground(*args, **kwargs): | |
a95a7133 | 2212 | """GetSelectionBackground(self) -> Colour""" |
e811c8ce RD |
2213 | return _grid.Grid_GetSelectionBackground(*args, **kwargs) |
2214 | ||
2215 | def GetSelectionForeground(*args, **kwargs): | |
a95a7133 | 2216 | """GetSelectionForeground(self) -> Colour""" |
e811c8ce RD |
2217 | return _grid.Grid_GetSelectionForeground(*args, **kwargs) |
2218 | ||
2219 | def SetSelectionBackground(*args, **kwargs): | |
a95a7133 | 2220 | """SetSelectionBackground(self, Colour c)""" |
e811c8ce RD |
2221 | return _grid.Grid_SetSelectionBackground(*args, **kwargs) |
2222 | ||
2223 | def SetSelectionForeground(*args, **kwargs): | |
a95a7133 | 2224 | """SetSelectionForeground(self, Colour c)""" |
e811c8ce RD |
2225 | return _grid.Grid_SetSelectionForeground(*args, **kwargs) |
2226 | ||
2227 | def RegisterDataType(*args, **kwargs): | |
a95a7133 | 2228 | """RegisterDataType(self, String typeName, GridCellRenderer renderer, GridCellEditor editor)""" |
e811c8ce RD |
2229 | return _grid.Grid_RegisterDataType(*args, **kwargs) |
2230 | ||
2231 | def GetDefaultEditorForCell(*args, **kwargs): | |
a95a7133 | 2232 | """GetDefaultEditorForCell(self, int row, int col) -> GridCellEditor""" |
e811c8ce RD |
2233 | return _grid.Grid_GetDefaultEditorForCell(*args, **kwargs) |
2234 | ||
2235 | def GetDefaultRendererForCell(*args, **kwargs): | |
a95a7133 | 2236 | """GetDefaultRendererForCell(self, int row, int col) -> GridCellRenderer""" |
e811c8ce RD |
2237 | return _grid.Grid_GetDefaultRendererForCell(*args, **kwargs) |
2238 | ||
2239 | def GetDefaultEditorForType(*args, **kwargs): | |
a95a7133 | 2240 | """GetDefaultEditorForType(self, String typeName) -> GridCellEditor""" |
e811c8ce RD |
2241 | return _grid.Grid_GetDefaultEditorForType(*args, **kwargs) |
2242 | ||
2243 | def GetDefaultRendererForType(*args, **kwargs): | |
a95a7133 | 2244 | """GetDefaultRendererForType(self, String typeName) -> GridCellRenderer""" |
e811c8ce RD |
2245 | return _grid.Grid_GetDefaultRendererForType(*args, **kwargs) |
2246 | ||
2247 | def SetMargins(*args, **kwargs): | |
a95a7133 | 2248 | """SetMargins(self, int extraWidth, int extraHeight)""" |
e811c8ce RD |
2249 | return _grid.Grid_SetMargins(*args, **kwargs) |
2250 | ||
2251 | def GetGridWindow(*args, **kwargs): | |
a95a7133 | 2252 | """GetGridWindow(self) -> Window""" |
e811c8ce RD |
2253 | return _grid.Grid_GetGridWindow(*args, **kwargs) |
2254 | ||
2255 | def GetGridRowLabelWindow(*args, **kwargs): | |
a95a7133 | 2256 | """GetGridRowLabelWindow(self) -> Window""" |
e811c8ce RD |
2257 | return _grid.Grid_GetGridRowLabelWindow(*args, **kwargs) |
2258 | ||
2259 | def GetGridColLabelWindow(*args, **kwargs): | |
a95a7133 | 2260 | """GetGridColLabelWindow(self) -> Window""" |
e811c8ce RD |
2261 | return _grid.Grid_GetGridColLabelWindow(*args, **kwargs) |
2262 | ||
2263 | def GetGridCornerLabelWindow(*args, **kwargs): | |
a95a7133 | 2264 | """GetGridCornerLabelWindow(self) -> Window""" |
e811c8ce RD |
2265 | return _grid.Grid_GetGridCornerLabelWindow(*args, **kwargs) |
2266 | ||
d3b6e4ff RD |
2267 | def SetScrollLineX(*args, **kwargs): |
2268 | """SetScrollLineX(self, int x)""" | |
2269 | return _grid.Grid_SetScrollLineX(*args, **kwargs) | |
2270 | ||
2271 | def SetScrollLineY(*args, **kwargs): | |
2272 | """SetScrollLineY(self, int y)""" | |
2273 | return _grid.Grid_SetScrollLineY(*args, **kwargs) | |
2274 | ||
2275 | def GetScrollLineX(*args, **kwargs): | |
2276 | """GetScrollLineX(self) -> int""" | |
2277 | return _grid.Grid_GetScrollLineX(*args, **kwargs) | |
2278 | ||
2279 | def GetScrollLineY(*args, **kwargs): | |
2280 | """GetScrollLineY(self) -> int""" | |
2281 | return _grid.Grid_GetScrollLineY(*args, **kwargs) | |
2282 | ||
2283 | def GetScrollX(*args, **kwargs): | |
2284 | """GetScrollX(self, int x) -> int""" | |
2285 | return _grid.Grid_GetScrollX(*args, **kwargs) | |
2286 | ||
2287 | def GetScrollY(*args, **kwargs): | |
2288 | """GetScrollY(self, int y) -> int""" | |
2289 | return _grid.Grid_GetScrollY(*args, **kwargs) | |
2290 | ||
22bfe96c RD |
2291 | def GetClassDefaultAttributes(*args, **kwargs): |
2292 | """ | |
2293 | GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes | |
2294 | ||
41e2b43e RD |
2295 | Get the default attributes for this class. This is useful if you want |
2296 | to use the same font or colour in your own control as in a standard | |
2297 | control -- which is a much better idea than hard coding specific | |
db3e571a RD |
2298 | colours or fonts which might look completely out of place on the |
2299 | user's system, especially if it uses themes. | |
22bfe96c RD |
2300 | |
2301 | The variant parameter is only relevant under Mac currently and is | |
41e2b43e | 2302 | ignore under other platforms. Under Mac, it will change the size of |
db3e571a RD |
2303 | the returned font. See `wx.Window.SetWindowVariant` for more about |
2304 | this. | |
22bfe96c RD |
2305 | """ |
2306 | return _grid.Grid_GetClassDefaultAttributes(*args, **kwargs) | |
2307 | ||
2308 | GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes) | |
f6bcfd97 | 2309 | |
d14a1e28 RD |
2310 | class GridPtr(Grid): |
2311 | def __init__(self, this): | |
f6bcfd97 | 2312 | self.this = this |
d14a1e28 RD |
2313 | if not hasattr(self,"thisown"): self.thisown = 0 |
2314 | self.__class__ = Grid | |
2315 | _grid.Grid_swigregister(GridPtr) | |
f6bcfd97 | 2316 | |
1a10c483 RD |
2317 | def PreGrid(*args, **kwargs): |
2318 | """PreGrid() -> Grid""" | |
2319 | val = _grid.new_PreGrid(*args, **kwargs) | |
2320 | val.thisown = 1 | |
1a10c483 RD |
2321 | return val |
2322 | ||
22bfe96c RD |
2323 | def Grid_GetClassDefaultAttributes(*args, **kwargs): |
2324 | """ | |
2325 | Grid_GetClassDefaultAttributes(int variant=WINDOW_VARIANT_NORMAL) -> VisualAttributes | |
2326 | ||
41e2b43e RD |
2327 | Get the default attributes for this class. This is useful if you want |
2328 | to use the same font or colour in your own control as in a standard | |
2329 | control -- which is a much better idea than hard coding specific | |
db3e571a RD |
2330 | colours or fonts which might look completely out of place on the |
2331 | user's system, especially if it uses themes. | |
22bfe96c RD |
2332 | |
2333 | The variant parameter is only relevant under Mac currently and is | |
41e2b43e | 2334 | ignore under other platforms. Under Mac, it will change the size of |
db3e571a RD |
2335 | the returned font. See `wx.Window.SetWindowVariant` for more about |
2336 | this. | |
22bfe96c RD |
2337 | """ |
2338 | return _grid.Grid_GetClassDefaultAttributes(*args, **kwargs) | |
2339 | ||
54f9ee45 | 2340 | class GridEvent(_core.NotifyEvent): |
093d3ff1 | 2341 | """Proxy of C++ GridEvent class""" |
e811c8ce RD |
2342 | def __repr__(self): |
2343 | return "<%s.%s; proxy of C++ wxGridEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 2344 | def __init__(self, *args, **kwargs): |
0df68c9f | 2345 | """ |
a95a7133 | 2346 | __init__(self, int id, wxEventType type, Grid obj, int row=-1, int col=-1, |
0df68c9f RD |
2347 | int x=-1, int y=-1, bool sel=True, bool control=False, |
2348 | bool shift=False, bool alt=False, | |
2349 | bool meta=False) -> GridEvent | |
2350 | """ | |
d14a1e28 RD |
2351 | newobj = _grid.new_GridEvent(*args, **kwargs) |
2352 | self.this = newobj.this | |
f6bcfd97 | 2353 | self.thisown = 1 |
d14a1e28 | 2354 | del newobj.thisown |
e811c8ce | 2355 | def GetRow(*args, **kwargs): |
a95a7133 | 2356 | """GetRow(self) -> int""" |
e811c8ce RD |
2357 | return _grid.GridEvent_GetRow(*args, **kwargs) |
2358 | ||
2359 | def GetCol(*args, **kwargs): | |
a95a7133 | 2360 | """GetCol(self) -> int""" |
e811c8ce RD |
2361 | return _grid.GridEvent_GetCol(*args, **kwargs) |
2362 | ||
2363 | def GetPosition(*args, **kwargs): | |
a95a7133 | 2364 | """GetPosition(self) -> Point""" |
e811c8ce RD |
2365 | return _grid.GridEvent_GetPosition(*args, **kwargs) |
2366 | ||
2367 | def Selecting(*args, **kwargs): | |
a95a7133 | 2368 | """Selecting(self) -> bool""" |
e811c8ce RD |
2369 | return _grid.GridEvent_Selecting(*args, **kwargs) |
2370 | ||
2371 | def ControlDown(*args, **kwargs): | |
a95a7133 | 2372 | """ControlDown(self) -> bool""" |
e811c8ce RD |
2373 | return _grid.GridEvent_ControlDown(*args, **kwargs) |
2374 | ||
2375 | def MetaDown(*args, **kwargs): | |
a95a7133 | 2376 | """MetaDown(self) -> bool""" |
e811c8ce RD |
2377 | return _grid.GridEvent_MetaDown(*args, **kwargs) |
2378 | ||
2379 | def ShiftDown(*args, **kwargs): | |
a95a7133 | 2380 | """ShiftDown(self) -> bool""" |
e811c8ce RD |
2381 | return _grid.GridEvent_ShiftDown(*args, **kwargs) |
2382 | ||
2383 | def AltDown(*args, **kwargs): | |
a95a7133 | 2384 | """AltDown(self) -> bool""" |
e811c8ce RD |
2385 | return _grid.GridEvent_AltDown(*args, **kwargs) |
2386 | ||
f6bcfd97 | 2387 | |
d14a1e28 RD |
2388 | class GridEventPtr(GridEvent): |
2389 | def __init__(self, this): | |
9d6da64a | 2390 | self.this = this |
d14a1e28 RD |
2391 | if not hasattr(self,"thisown"): self.thisown = 0 |
2392 | self.__class__ = GridEvent | |
2393 | _grid.GridEvent_swigregister(GridEventPtr) | |
2394 | ||
54f9ee45 | 2395 | class GridSizeEvent(_core.NotifyEvent): |
093d3ff1 | 2396 | """Proxy of C++ GridSizeEvent class""" |
e811c8ce RD |
2397 | def __repr__(self): |
2398 | return "<%s.%s; proxy of C++ wxGridSizeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 2399 | def __init__(self, *args, **kwargs): |
0df68c9f | 2400 | """ |
a95a7133 | 2401 | __init__(self, int id, wxEventType type, Grid obj, int rowOrCol=-1, |
0df68c9f RD |
2402 | int x=-1, int y=-1, bool control=False, bool shift=False, |
2403 | bool alt=False, bool meta=False) -> GridSizeEvent | |
2404 | """ | |
d14a1e28 RD |
2405 | newobj = _grid.new_GridSizeEvent(*args, **kwargs) |
2406 | self.this = newobj.this | |
9d6da64a | 2407 | self.thisown = 1 |
d14a1e28 | 2408 | del newobj.thisown |
e811c8ce | 2409 | def GetRowOrCol(*args, **kwargs): |
a95a7133 | 2410 | """GetRowOrCol(self) -> int""" |
e811c8ce RD |
2411 | return _grid.GridSizeEvent_GetRowOrCol(*args, **kwargs) |
2412 | ||
2413 | def GetPosition(*args, **kwargs): | |
a95a7133 | 2414 | """GetPosition(self) -> Point""" |
e811c8ce RD |
2415 | return _grid.GridSizeEvent_GetPosition(*args, **kwargs) |
2416 | ||
2417 | def ControlDown(*args, **kwargs): | |
a95a7133 | 2418 | """ControlDown(self) -> bool""" |
e811c8ce RD |
2419 | return _grid.GridSizeEvent_ControlDown(*args, **kwargs) |
2420 | ||
2421 | def MetaDown(*args, **kwargs): | |
a95a7133 | 2422 | """MetaDown(self) -> bool""" |
e811c8ce RD |
2423 | return _grid.GridSizeEvent_MetaDown(*args, **kwargs) |
2424 | ||
2425 | def ShiftDown(*args, **kwargs): | |
a95a7133 | 2426 | """ShiftDown(self) -> bool""" |
e811c8ce RD |
2427 | return _grid.GridSizeEvent_ShiftDown(*args, **kwargs) |
2428 | ||
2429 | def AltDown(*args, **kwargs): | |
a95a7133 | 2430 | """AltDown(self) -> bool""" |
e811c8ce RD |
2431 | return _grid.GridSizeEvent_AltDown(*args, **kwargs) |
2432 | ||
9d6da64a | 2433 | |
d14a1e28 RD |
2434 | class GridSizeEventPtr(GridSizeEvent): |
2435 | def __init__(self, this): | |
2436 | self.this = this | |
2437 | if not hasattr(self,"thisown"): self.thisown = 0 | |
2438 | self.__class__ = GridSizeEvent | |
2439 | _grid.GridSizeEvent_swigregister(GridSizeEventPtr) | |
9d6da64a | 2440 | |
54f9ee45 | 2441 | class GridRangeSelectEvent(_core.NotifyEvent): |
093d3ff1 | 2442 | """Proxy of C++ GridRangeSelectEvent class""" |
e811c8ce RD |
2443 | def __repr__(self): |
2444 | return "<%s.%s; proxy of C++ wxGridRangeSelectEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 2445 | def __init__(self, *args, **kwargs): |
0df68c9f | 2446 | """ |
a95a7133 | 2447 | __init__(self, int id, wxEventType type, Grid obj, GridCellCoords topLeft, |
0df68c9f RD |
2448 | GridCellCoords bottomRight, bool sel=True, |
2449 | bool control=False, bool shift=False, | |
2450 | bool alt=False, bool meta=False) -> GridRangeSelectEvent | |
2451 | """ | |
d14a1e28 RD |
2452 | newobj = _grid.new_GridRangeSelectEvent(*args, **kwargs) |
2453 | self.this = newobj.this | |
2454 | self.thisown = 1 | |
2455 | del newobj.thisown | |
e811c8ce | 2456 | def GetTopLeftCoords(*args, **kwargs): |
a95a7133 | 2457 | """GetTopLeftCoords(self) -> GridCellCoords""" |
e811c8ce RD |
2458 | return _grid.GridRangeSelectEvent_GetTopLeftCoords(*args, **kwargs) |
2459 | ||
2460 | def GetBottomRightCoords(*args, **kwargs): | |
a95a7133 | 2461 | """GetBottomRightCoords(self) -> GridCellCoords""" |
e811c8ce RD |
2462 | return _grid.GridRangeSelectEvent_GetBottomRightCoords(*args, **kwargs) |
2463 | ||
2464 | def GetTopRow(*args, **kwargs): | |
a95a7133 | 2465 | """GetTopRow(self) -> int""" |
e811c8ce RD |
2466 | return _grid.GridRangeSelectEvent_GetTopRow(*args, **kwargs) |
2467 | ||
2468 | def GetBottomRow(*args, **kwargs): | |
a95a7133 | 2469 | """GetBottomRow(self) -> int""" |
e811c8ce RD |
2470 | return _grid.GridRangeSelectEvent_GetBottomRow(*args, **kwargs) |
2471 | ||
2472 | def GetLeftCol(*args, **kwargs): | |
a95a7133 | 2473 | """GetLeftCol(self) -> int""" |
e811c8ce RD |
2474 | return _grid.GridRangeSelectEvent_GetLeftCol(*args, **kwargs) |
2475 | ||
2476 | def GetRightCol(*args, **kwargs): | |
a95a7133 | 2477 | """GetRightCol(self) -> int""" |
e811c8ce RD |
2478 | return _grid.GridRangeSelectEvent_GetRightCol(*args, **kwargs) |
2479 | ||
2480 | def Selecting(*args, **kwargs): | |
a95a7133 | 2481 | """Selecting(self) -> bool""" |
e811c8ce RD |
2482 | return _grid.GridRangeSelectEvent_Selecting(*args, **kwargs) |
2483 | ||
2484 | def ControlDown(*args, **kwargs): | |
a95a7133 | 2485 | """ControlDown(self) -> bool""" |
e811c8ce RD |
2486 | return _grid.GridRangeSelectEvent_ControlDown(*args, **kwargs) |
2487 | ||
2488 | def MetaDown(*args, **kwargs): | |
a95a7133 | 2489 | """MetaDown(self) -> bool""" |
e811c8ce RD |
2490 | return _grid.GridRangeSelectEvent_MetaDown(*args, **kwargs) |
2491 | ||
2492 | def ShiftDown(*args, **kwargs): | |
a95a7133 | 2493 | """ShiftDown(self) -> bool""" |
e811c8ce RD |
2494 | return _grid.GridRangeSelectEvent_ShiftDown(*args, **kwargs) |
2495 | ||
2496 | def AltDown(*args, **kwargs): | |
a95a7133 | 2497 | """AltDown(self) -> bool""" |
e811c8ce RD |
2498 | return _grid.GridRangeSelectEvent_AltDown(*args, **kwargs) |
2499 | ||
9d6da64a | 2500 | |
d14a1e28 RD |
2501 | class GridRangeSelectEventPtr(GridRangeSelectEvent): |
2502 | def __init__(self, this): | |
2503 | self.this = this | |
2504 | if not hasattr(self,"thisown"): self.thisown = 0 | |
2505 | self.__class__ = GridRangeSelectEvent | |
2506 | _grid.GridRangeSelectEvent_swigregister(GridRangeSelectEventPtr) | |
9d6da64a | 2507 | |
54f9ee45 | 2508 | class GridEditorCreatedEvent(_core.CommandEvent): |
093d3ff1 | 2509 | """Proxy of C++ GridEditorCreatedEvent class""" |
e811c8ce RD |
2510 | def __repr__(self): |
2511 | return "<%s.%s; proxy of C++ wxGridEditorCreatedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
d14a1e28 | 2512 | def __init__(self, *args, **kwargs): |
0df68c9f | 2513 | """ |
a95a7133 | 2514 | __init__(self, int id, wxEventType type, Object obj, int row, int col, |
0df68c9f RD |
2515 | Control ctrl) -> GridEditorCreatedEvent |
2516 | """ | |
d14a1e28 RD |
2517 | newobj = _grid.new_GridEditorCreatedEvent(*args, **kwargs) |
2518 | self.this = newobj.this | |
2519 | self.thisown = 1 | |
2520 | del newobj.thisown | |
e811c8ce | 2521 | def GetRow(*args, **kwargs): |
a95a7133 | 2522 | """GetRow(self) -> int""" |
e811c8ce RD |
2523 | return _grid.GridEditorCreatedEvent_GetRow(*args, **kwargs) |
2524 | ||
2525 | def GetCol(*args, **kwargs): | |
a95a7133 | 2526 | """GetCol(self) -> int""" |
e811c8ce RD |
2527 | return _grid.GridEditorCreatedEvent_GetCol(*args, **kwargs) |
2528 | ||
2529 | def GetControl(*args, **kwargs): | |
a95a7133 | 2530 | """GetControl(self) -> Control""" |
e811c8ce RD |
2531 | return _grid.GridEditorCreatedEvent_GetControl(*args, **kwargs) |
2532 | ||
2533 | def SetRow(*args, **kwargs): | |
a95a7133 | 2534 | """SetRow(self, int row)""" |
e811c8ce RD |
2535 | return _grid.GridEditorCreatedEvent_SetRow(*args, **kwargs) |
2536 | ||
2537 | def SetCol(*args, **kwargs): | |
a95a7133 | 2538 | """SetCol(self, int col)""" |
e811c8ce RD |
2539 | return _grid.GridEditorCreatedEvent_SetCol(*args, **kwargs) |
2540 | ||
2541 | def SetControl(*args, **kwargs): | |
a95a7133 | 2542 | """SetControl(self, Control ctrl)""" |
e811c8ce RD |
2543 | return _grid.GridEditorCreatedEvent_SetControl(*args, **kwargs) |
2544 | ||
d14a1e28 RD |
2545 | |
2546 | class GridEditorCreatedEventPtr(GridEditorCreatedEvent): | |
2547 | def __init__(self, this): | |
2548 | self.this = this | |
2549 | if not hasattr(self,"thisown"): self.thisown = 0 | |
2550 | self.__class__ = GridEditorCreatedEvent | |
2551 | _grid.GridEditorCreatedEvent_swigregister(GridEditorCreatedEventPtr) | |
2552 | ||
2553 | wxEVT_GRID_CELL_LEFT_CLICK = _grid.wxEVT_GRID_CELL_LEFT_CLICK | |
2554 | wxEVT_GRID_CELL_RIGHT_CLICK = _grid.wxEVT_GRID_CELL_RIGHT_CLICK | |
2555 | wxEVT_GRID_CELL_LEFT_DCLICK = _grid.wxEVT_GRID_CELL_LEFT_DCLICK | |
2556 | wxEVT_GRID_CELL_RIGHT_DCLICK = _grid.wxEVT_GRID_CELL_RIGHT_DCLICK | |
2557 | wxEVT_GRID_LABEL_LEFT_CLICK = _grid.wxEVT_GRID_LABEL_LEFT_CLICK | |
2558 | wxEVT_GRID_LABEL_RIGHT_CLICK = _grid.wxEVT_GRID_LABEL_RIGHT_CLICK | |
2559 | wxEVT_GRID_LABEL_LEFT_DCLICK = _grid.wxEVT_GRID_LABEL_LEFT_DCLICK | |
2560 | wxEVT_GRID_LABEL_RIGHT_DCLICK = _grid.wxEVT_GRID_LABEL_RIGHT_DCLICK | |
2561 | wxEVT_GRID_ROW_SIZE = _grid.wxEVT_GRID_ROW_SIZE | |
2562 | wxEVT_GRID_COL_SIZE = _grid.wxEVT_GRID_COL_SIZE | |
2563 | wxEVT_GRID_RANGE_SELECT = _grid.wxEVT_GRID_RANGE_SELECT | |
2564 | wxEVT_GRID_CELL_CHANGE = _grid.wxEVT_GRID_CELL_CHANGE | |
2565 | wxEVT_GRID_SELECT_CELL = _grid.wxEVT_GRID_SELECT_CELL | |
2566 | wxEVT_GRID_EDITOR_SHOWN = _grid.wxEVT_GRID_EDITOR_SHOWN | |
2567 | wxEVT_GRID_EDITOR_HIDDEN = _grid.wxEVT_GRID_EDITOR_HIDDEN | |
2568 | wxEVT_GRID_EDITOR_CREATED = _grid.wxEVT_GRID_EDITOR_CREATED | |
4cf4100f | 2569 | wxEVT_GRID_CELL_BEGIN_DRAG = _grid.wxEVT_GRID_CELL_BEGIN_DRAG |
d14a1e28 RD |
2570 | EVT_GRID_CELL_LEFT_CLICK = wx.PyEventBinder( wxEVT_GRID_CELL_LEFT_CLICK ) |
2571 | EVT_GRID_CELL_RIGHT_CLICK = wx.PyEventBinder( wxEVT_GRID_CELL_RIGHT_CLICK ) | |
2572 | EVT_GRID_CELL_LEFT_DCLICK = wx.PyEventBinder( wxEVT_GRID_CELL_LEFT_DCLICK ) | |
2573 | EVT_GRID_CELL_RIGHT_DCLICK = wx.PyEventBinder( wxEVT_GRID_CELL_RIGHT_DCLICK ) | |
2574 | EVT_GRID_LABEL_LEFT_CLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_LEFT_CLICK ) | |
2575 | EVT_GRID_LABEL_RIGHT_CLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_RIGHT_CLICK ) | |
2576 | EVT_GRID_LABEL_LEFT_DCLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_LEFT_DCLICK ) | |
2577 | EVT_GRID_LABEL_RIGHT_DCLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_RIGHT_DCLICK ) | |
2578 | EVT_GRID_ROW_SIZE = wx.PyEventBinder( wxEVT_GRID_ROW_SIZE ) | |
2579 | EVT_GRID_COL_SIZE = wx.PyEventBinder( wxEVT_GRID_COL_SIZE ) | |
2580 | EVT_GRID_RANGE_SELECT = wx.PyEventBinder( wxEVT_GRID_RANGE_SELECT ) | |
2581 | EVT_GRID_CELL_CHANGE = wx.PyEventBinder( wxEVT_GRID_CELL_CHANGE ) | |
2582 | EVT_GRID_SELECT_CELL = wx.PyEventBinder( wxEVT_GRID_SELECT_CELL ) | |
2583 | EVT_GRID_EDITOR_SHOWN = wx.PyEventBinder( wxEVT_GRID_EDITOR_SHOWN ) | |
2584 | EVT_GRID_EDITOR_HIDDEN = wx.PyEventBinder( wxEVT_GRID_EDITOR_HIDDEN ) | |
2585 | EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED ) | |
4cf4100f | 2586 | EVT_GRID_CELL_BEGIN_DRAG = wx.PyEventBinder( wxEVT_GRID_CELL_BEGIN_DRAG ) |
f6bcfd97 BP |
2587 | |
2588 | ||
6923d0a9 RD |
2589 | # The same as above but with the ability to specify an identifier |
2590 | EVT_GRID_CMD_CELL_LEFT_CLICK = wx.PyEventBinder( wxEVT_GRID_CELL_LEFT_CLICK, 1 ) | |
2591 | EVT_GRID_CMD_CELL_RIGHT_CLICK = wx.PyEventBinder( wxEVT_GRID_CELL_RIGHT_CLICK, 1 ) | |
2592 | EVT_GRID_CMD_CELL_LEFT_DCLICK = wx.PyEventBinder( wxEVT_GRID_CELL_LEFT_DCLICK, 1 ) | |
2593 | EVT_GRID_CMD_CELL_RIGHT_DCLICK = wx.PyEventBinder( wxEVT_GRID_CELL_RIGHT_DCLICK, 1 ) | |
2594 | EVT_GRID_CMD_LABEL_LEFT_CLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_LEFT_CLICK, 1 ) | |
2595 | EVT_GRID_CMD_LABEL_RIGHT_CLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_RIGHT_CLICK, 1 ) | |
2596 | EVT_GRID_CMD_LABEL_LEFT_DCLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_LEFT_DCLICK, 1 ) | |
2597 | EVT_GRID_CMD_LABEL_RIGHT_DCLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_RIGHT_DCLICK, 1 ) | |
2598 | EVT_GRID_CMD_ROW_SIZE = wx.PyEventBinder( wxEVT_GRID_ROW_SIZE, 1 ) | |
2599 | EVT_GRID_CMD_COL_SIZE = wx.PyEventBinder( wxEVT_GRID_COL_SIZE, 1 ) | |
2600 | EVT_GRID_CMD_RANGE_SELECT = wx.PyEventBinder( wxEVT_GRID_RANGE_SELECT, 1 ) | |
2601 | EVT_GRID_CMD_CELL_CHANGE = wx.PyEventBinder( wxEVT_GRID_CELL_CHANGE, 1 ) | |
2602 | EVT_GRID_CMD_SELECT_CELL = wx.PyEventBinder( wxEVT_GRID_SELECT_CELL, 1 ) | |
2603 | EVT_GRID_CMD_EDITOR_SHOWN = wx.PyEventBinder( wxEVT_GRID_EDITOR_SHOWN, 1 ) | |
2604 | EVT_GRID_CMD_EDITOR_HIDDEN = wx.PyEventBinder( wxEVT_GRID_EDITOR_HIDDEN, 1 ) | |
2605 | EVT_GRID_CMD_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED, 1 ) | |
4cf4100f RD |
2606 | EVT_GRID_CMD_CELL_BEGIN_DRAG = wx.PyEventBinder( wxEVT_GRID_CELL_BEGIN_DRAG, 1 ) |
2607 | ||
6923d0a9 RD |
2608 | |
2609 | ||
32fe5131 | 2610 |