]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/grid.py
SWIG Runtime update
[wxWidgets.git] / wxPython / src / msw / grid.py
1 # This file was created automatically by SWIG.
2 # Don't modify this file, modify the SWIG interface instead.
3
4 import _grid
5
6 import windows
7 import core
8 wx = core
9 GRID_VALUE_STRING = _grid.GRID_VALUE_STRING
10 GRID_VALUE_BOOL = _grid.GRID_VALUE_BOOL
11 GRID_VALUE_NUMBER = _grid.GRID_VALUE_NUMBER
12 GRID_VALUE_FLOAT = _grid.GRID_VALUE_FLOAT
13 GRID_VALUE_CHOICE = _grid.GRID_VALUE_CHOICE
14 GRID_VALUE_TEXT = _grid.GRID_VALUE_TEXT
15 GRID_VALUE_LONG = _grid.GRID_VALUE_LONG
16 GRID_VALUE_CHOICEINT = _grid.GRID_VALUE_CHOICEINT
17 GRID_VALUE_DATETIME = _grid.GRID_VALUE_DATETIME
18 class GridCellRenderer(object):
19 def _setOORInfo(*args, **kwargs): return _grid.GridCellRenderer__setOORInfo(*args, **kwargs)
20 def SetParameters(*args, **kwargs): return _grid.GridCellRenderer_SetParameters(*args, **kwargs)
21 def IncRef(*args, **kwargs): return _grid.GridCellRenderer_IncRef(*args, **kwargs)
22 def DecRef(*args, **kwargs): return _grid.GridCellRenderer_DecRef(*args, **kwargs)
23 def Draw(*args, **kwargs): return _grid.GridCellRenderer_Draw(*args, **kwargs)
24 def GetBestSize(*args, **kwargs): return _grid.GridCellRenderer_GetBestSize(*args, **kwargs)
25 def Clone(*args, **kwargs): return _grid.GridCellRenderer_Clone(*args, **kwargs)
26 def __init__(self): raise RuntimeError, "No constructor defined"
27 def __repr__(self):
28 return "<%s.%s; proxy of C++ wxGridCellRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
29
30 class GridCellRendererPtr(GridCellRenderer):
31 def __init__(self, this):
32 self.this = this
33 if not hasattr(self,"thisown"): self.thisown = 0
34 self.__class__ = GridCellRenderer
35 _grid.GridCellRenderer_swigregister(GridCellRendererPtr)
36 cvar = _grid.cvar
37 GridNoCellCoords = cvar.GridNoCellCoords
38 GridNoCellRect = cvar.GridNoCellRect
39
40 class PyGridCellRenderer(GridCellRenderer):
41 def __init__(self, *args, **kwargs):
42 newobj = _grid.new_PyGridCellRenderer(*args, **kwargs)
43 self.this = newobj.this
44 self.thisown = 1
45 del newobj.thisown
46 self._setCallbackInfo(self, PyGridCellRenderer);self._setOORInfo(self)
47 def _setCallbackInfo(*args, **kwargs): return _grid.PyGridCellRenderer__setCallbackInfo(*args, **kwargs)
48 def base_SetParameters(*args, **kwargs): return _grid.PyGridCellRenderer_base_SetParameters(*args, **kwargs)
49 def __repr__(self):
50 return "<%s.%s; proxy of C++ wxPyGridCellRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
51
52 class PyGridCellRendererPtr(PyGridCellRenderer):
53 def __init__(self, this):
54 self.this = this
55 if not hasattr(self,"thisown"): self.thisown = 0
56 self.__class__ = PyGridCellRenderer
57 _grid.PyGridCellRenderer_swigregister(PyGridCellRendererPtr)
58
59 class GridCellStringRenderer(GridCellRenderer):
60 def __init__(self, *args, **kwargs):
61 newobj = _grid.new_GridCellStringRenderer(*args, **kwargs)
62 self.this = newobj.this
63 self.thisown = 1
64 del newobj.thisown
65 self._setOORInfo(self)
66 def __repr__(self):
67 return "<%s.%s; proxy of C++ wxGridCellStringRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
68
69 class GridCellStringRendererPtr(GridCellStringRenderer):
70 def __init__(self, this):
71 self.this = this
72 if not hasattr(self,"thisown"): self.thisown = 0
73 self.__class__ = GridCellStringRenderer
74 _grid.GridCellStringRenderer_swigregister(GridCellStringRendererPtr)
75
76 class GridCellNumberRenderer(GridCellStringRenderer):
77 def __init__(self, *args, **kwargs):
78 newobj = _grid.new_GridCellNumberRenderer(*args, **kwargs)
79 self.this = newobj.this
80 self.thisown = 1
81 del newobj.thisown
82 self._setOORInfo(self)
83 def __repr__(self):
84 return "<%s.%s; proxy of C++ wxGridCellNumberRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
85
86 class GridCellNumberRendererPtr(GridCellNumberRenderer):
87 def __init__(self, this):
88 self.this = this
89 if not hasattr(self,"thisown"): self.thisown = 0
90 self.__class__ = GridCellNumberRenderer
91 _grid.GridCellNumberRenderer_swigregister(GridCellNumberRendererPtr)
92
93 class GridCellFloatRenderer(GridCellStringRenderer):
94 def __init__(self, *args, **kwargs):
95 newobj = _grid.new_GridCellFloatRenderer(*args, **kwargs)
96 self.this = newobj.this
97 self.thisown = 1
98 del newobj.thisown
99 self._setOORInfo(self)
100 def GetWidth(*args, **kwargs): return _grid.GridCellFloatRenderer_GetWidth(*args, **kwargs)
101 def SetWidth(*args, **kwargs): return _grid.GridCellFloatRenderer_SetWidth(*args, **kwargs)
102 def GetPrecision(*args, **kwargs): return _grid.GridCellFloatRenderer_GetPrecision(*args, **kwargs)
103 def SetPrecision(*args, **kwargs): return _grid.GridCellFloatRenderer_SetPrecision(*args, **kwargs)
104 def __repr__(self):
105 return "<%s.%s; proxy of C++ wxGridCellFloatRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
106
107 class GridCellFloatRendererPtr(GridCellFloatRenderer):
108 def __init__(self, this):
109 self.this = this
110 if not hasattr(self,"thisown"): self.thisown = 0
111 self.__class__ = GridCellFloatRenderer
112 _grid.GridCellFloatRenderer_swigregister(GridCellFloatRendererPtr)
113
114 class GridCellBoolRenderer(GridCellRenderer):
115 def __init__(self, *args, **kwargs):
116 newobj = _grid.new_GridCellBoolRenderer(*args, **kwargs)
117 self.this = newobj.this
118 self.thisown = 1
119 del newobj.thisown
120 self._setOORInfo(self)
121 def __repr__(self):
122 return "<%s.%s; proxy of C++ wxGridCellBoolRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
123
124 class GridCellBoolRendererPtr(GridCellBoolRenderer):
125 def __init__(self, this):
126 self.this = this
127 if not hasattr(self,"thisown"): self.thisown = 0
128 self.__class__ = GridCellBoolRenderer
129 _grid.GridCellBoolRenderer_swigregister(GridCellBoolRendererPtr)
130
131 class GridCellDateTimeRenderer(GridCellStringRenderer):
132 def __init__(self, *args, **kwargs):
133 newobj = _grid.new_GridCellDateTimeRenderer(*args, **kwargs)
134 self.this = newobj.this
135 self.thisown = 1
136 del newobj.thisown
137 self._setOORInfo(self)
138 def __repr__(self):
139 return "<%s.%s; proxy of C++ wxGridCellDateTimeRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
140
141 class GridCellDateTimeRendererPtr(GridCellDateTimeRenderer):
142 def __init__(self, this):
143 self.this = this
144 if not hasattr(self,"thisown"): self.thisown = 0
145 self.__class__ = GridCellDateTimeRenderer
146 _grid.GridCellDateTimeRenderer_swigregister(GridCellDateTimeRendererPtr)
147
148 class GridCellEnumRenderer(GridCellStringRenderer):
149 def __init__(self, *args, **kwargs):
150 newobj = _grid.new_GridCellEnumRenderer(*args, **kwargs)
151 self.this = newobj.this
152 self.thisown = 1
153 del newobj.thisown
154 self._setOORInfo(self)
155 def __repr__(self):
156 return "<%s.%s; proxy of C++ wxGridCellEnumRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
157
158 class GridCellEnumRendererPtr(GridCellEnumRenderer):
159 def __init__(self, this):
160 self.this = this
161 if not hasattr(self,"thisown"): self.thisown = 0
162 self.__class__ = GridCellEnumRenderer
163 _grid.GridCellEnumRenderer_swigregister(GridCellEnumRendererPtr)
164
165 class GridCellAutoWrapStringRenderer(GridCellStringRenderer):
166 def __init__(self, *args, **kwargs):
167 newobj = _grid.new_GridCellAutoWrapStringRenderer(*args, **kwargs)
168 self.this = newobj.this
169 self.thisown = 1
170 del newobj.thisown
171 self._setOORInfo(self)
172 def __repr__(self):
173 return "<%s.%s; proxy of C++ wxGridCellAutoWrapStringRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
174
175 class GridCellAutoWrapStringRendererPtr(GridCellAutoWrapStringRenderer):
176 def __init__(self, this):
177 self.this = this
178 if not hasattr(self,"thisown"): self.thisown = 0
179 self.__class__ = GridCellAutoWrapStringRenderer
180 _grid.GridCellAutoWrapStringRenderer_swigregister(GridCellAutoWrapStringRendererPtr)
181
182 class GridCellEditor(object):
183 def _setOORInfo(*args, **kwargs): return _grid.GridCellEditor__setOORInfo(*args, **kwargs)
184 def IsCreated(*args, **kwargs): return _grid.GridCellEditor_IsCreated(*args, **kwargs)
185 def GetControl(*args, **kwargs): return _grid.GridCellEditor_GetControl(*args, **kwargs)
186 def SetControl(*args, **kwargs): return _grid.GridCellEditor_SetControl(*args, **kwargs)
187 def GetCellAttr(*args, **kwargs): return _grid.GridCellEditor_GetCellAttr(*args, **kwargs)
188 def SetCellAttr(*args, **kwargs): return _grid.GridCellEditor_SetCellAttr(*args, **kwargs)
189 def SetParameters(*args, **kwargs): return _grid.GridCellEditor_SetParameters(*args, **kwargs)
190 def IncRef(*args, **kwargs): return _grid.GridCellEditor_IncRef(*args, **kwargs)
191 def DecRef(*args, **kwargs): return _grid.GridCellEditor_DecRef(*args, **kwargs)
192 def Create(*args, **kwargs): return _grid.GridCellEditor_Create(*args, **kwargs)
193 def BeginEdit(*args, **kwargs): return _grid.GridCellEditor_BeginEdit(*args, **kwargs)
194 def EndEdit(*args, **kwargs): return _grid.GridCellEditor_EndEdit(*args, **kwargs)
195 def Reset(*args, **kwargs): return _grid.GridCellEditor_Reset(*args, **kwargs)
196 def Clone(*args, **kwargs): return _grid.GridCellEditor_Clone(*args, **kwargs)
197 def SetSize(*args, **kwargs): return _grid.GridCellEditor_SetSize(*args, **kwargs)
198 def Show(*args, **kwargs): return _grid.GridCellEditor_Show(*args, **kwargs)
199 def PaintBackground(*args, **kwargs): return _grid.GridCellEditor_PaintBackground(*args, **kwargs)
200 def IsAcceptedKey(*args, **kwargs): return _grid.GridCellEditor_IsAcceptedKey(*args, **kwargs)
201 def StartingKey(*args, **kwargs): return _grid.GridCellEditor_StartingKey(*args, **kwargs)
202 def StartingClick(*args, **kwargs): return _grid.GridCellEditor_StartingClick(*args, **kwargs)
203 def HandleReturn(*args, **kwargs): return _grid.GridCellEditor_HandleReturn(*args, **kwargs)
204 def Destroy(*args, **kwargs): return _grid.GridCellEditor_Destroy(*args, **kwargs)
205 def __init__(self): raise RuntimeError, "No constructor defined"
206 def __repr__(self):
207 return "<%s.%s; proxy of C++ wxGridCellEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
208
209 class GridCellEditorPtr(GridCellEditor):
210 def __init__(self, this):
211 self.this = this
212 if not hasattr(self,"thisown"): self.thisown = 0
213 self.__class__ = GridCellEditor
214 _grid.GridCellEditor_swigregister(GridCellEditorPtr)
215
216 class PyGridCellEditor(GridCellEditor):
217 def __init__(self, *args, **kwargs):
218 newobj = _grid.new_PyGridCellEditor(*args, **kwargs)
219 self.this = newobj.this
220 self.thisown = 1
221 del newobj.thisown
222 self._setCallbackInfo(self, PyGridCellEditor);self._setOORInfo(self)
223 def _setCallbackInfo(*args, **kwargs): return _grid.PyGridCellEditor__setCallbackInfo(*args, **kwargs)
224 def base_SetSize(*args, **kwargs): return _grid.PyGridCellEditor_base_SetSize(*args, **kwargs)
225 def base_Show(*args, **kwargs): return _grid.PyGridCellEditor_base_Show(*args, **kwargs)
226 def base_PaintBackground(*args, **kwargs): return _grid.PyGridCellEditor_base_PaintBackground(*args, **kwargs)
227 def base_IsAcceptedKey(*args, **kwargs): return _grid.PyGridCellEditor_base_IsAcceptedKey(*args, **kwargs)
228 def base_StartingKey(*args, **kwargs): return _grid.PyGridCellEditor_base_StartingKey(*args, **kwargs)
229 def base_StartingClick(*args, **kwargs): return _grid.PyGridCellEditor_base_StartingClick(*args, **kwargs)
230 def base_HandleReturn(*args, **kwargs): return _grid.PyGridCellEditor_base_HandleReturn(*args, **kwargs)
231 def base_Destroy(*args, **kwargs): return _grid.PyGridCellEditor_base_Destroy(*args, **kwargs)
232 def base_SetParameters(*args, **kwargs): return _grid.PyGridCellEditor_base_SetParameters(*args, **kwargs)
233 def __repr__(self):
234 return "<%s.%s; proxy of C++ wxPyGridCellEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
235
236 class PyGridCellEditorPtr(PyGridCellEditor):
237 def __init__(self, this):
238 self.this = this
239 if not hasattr(self,"thisown"): self.thisown = 0
240 self.__class__ = PyGridCellEditor
241 _grid.PyGridCellEditor_swigregister(PyGridCellEditorPtr)
242
243 class GridCellTextEditor(GridCellEditor):
244 def __init__(self, *args, **kwargs):
245 newobj = _grid.new_GridCellTextEditor(*args, **kwargs)
246 self.this = newobj.this
247 self.thisown = 1
248 del newobj.thisown
249 self._setOORInfo(self)
250 def GetValue(*args, **kwargs): return _grid.GridCellTextEditor_GetValue(*args, **kwargs)
251 def __repr__(self):
252 return "<%s.%s; proxy of C++ wxGridCellTextEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
253
254 class GridCellTextEditorPtr(GridCellTextEditor):
255 def __init__(self, this):
256 self.this = this
257 if not hasattr(self,"thisown"): self.thisown = 0
258 self.__class__ = GridCellTextEditor
259 _grid.GridCellTextEditor_swigregister(GridCellTextEditorPtr)
260
261 class GridCellNumberEditor(GridCellTextEditor):
262 def __init__(self, *args, **kwargs):
263 newobj = _grid.new_GridCellNumberEditor(*args, **kwargs)
264 self.this = newobj.this
265 self.thisown = 1
266 del newobj.thisown
267 self._setOORInfo(self)
268 def GetValue(*args, **kwargs): return _grid.GridCellNumberEditor_GetValue(*args, **kwargs)
269 def __repr__(self):
270 return "<%s.%s; proxy of C++ wxGridCellNumberEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
271
272 class GridCellNumberEditorPtr(GridCellNumberEditor):
273 def __init__(self, this):
274 self.this = this
275 if not hasattr(self,"thisown"): self.thisown = 0
276 self.__class__ = GridCellNumberEditor
277 _grid.GridCellNumberEditor_swigregister(GridCellNumberEditorPtr)
278
279 class GridCellFloatEditor(GridCellTextEditor):
280 def __init__(self, *args, **kwargs):
281 newobj = _grid.new_GridCellFloatEditor(*args, **kwargs)
282 self.this = newobj.this
283 self.thisown = 1
284 del newobj.thisown
285 self._setOORInfo(self)
286 def GetValue(*args, **kwargs): return _grid.GridCellFloatEditor_GetValue(*args, **kwargs)
287 def __repr__(self):
288 return "<%s.%s; proxy of C++ wxGridCellFloatEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
289
290 class GridCellFloatEditorPtr(GridCellFloatEditor):
291 def __init__(self, this):
292 self.this = this
293 if not hasattr(self,"thisown"): self.thisown = 0
294 self.__class__ = GridCellFloatEditor
295 _grid.GridCellFloatEditor_swigregister(GridCellFloatEditorPtr)
296
297 class GridCellBoolEditor(GridCellEditor):
298 def __init__(self, *args, **kwargs):
299 newobj = _grid.new_GridCellBoolEditor(*args, **kwargs)
300 self.this = newobj.this
301 self.thisown = 1
302 del newobj.thisown
303 self._setOORInfo(self)
304 def GetValue(*args, **kwargs): return _grid.GridCellBoolEditor_GetValue(*args, **kwargs)
305 def __repr__(self):
306 return "<%s.%s; proxy of C++ wxGridCellBoolEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
307
308 class GridCellBoolEditorPtr(GridCellBoolEditor):
309 def __init__(self, this):
310 self.this = this
311 if not hasattr(self,"thisown"): self.thisown = 0
312 self.__class__ = GridCellBoolEditor
313 _grid.GridCellBoolEditor_swigregister(GridCellBoolEditorPtr)
314
315 class GridCellChoiceEditor(GridCellEditor):
316 def __init__(self, *args, **kwargs):
317 newobj = _grid.new_GridCellChoiceEditor(*args, **kwargs)
318 self.this = newobj.this
319 self.thisown = 1
320 del newobj.thisown
321 self._setOORInfo(self)
322 def GetValue(*args, **kwargs): return _grid.GridCellChoiceEditor_GetValue(*args, **kwargs)
323 def __repr__(self):
324 return "<%s.%s; proxy of C++ wxGridCellChoiceEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
325
326 class GridCellChoiceEditorPtr(GridCellChoiceEditor):
327 def __init__(self, this):
328 self.this = this
329 if not hasattr(self,"thisown"): self.thisown = 0
330 self.__class__ = GridCellChoiceEditor
331 _grid.GridCellChoiceEditor_swigregister(GridCellChoiceEditorPtr)
332
333 class GridCellEnumEditor(GridCellChoiceEditor):
334 def __init__(self, *args, **kwargs):
335 newobj = _grid.new_GridCellEnumEditor(*args, **kwargs)
336 self.this = newobj.this
337 self.thisown = 1
338 del newobj.thisown
339 self._setOORInfo(self)
340 def GetValue(*args, **kwargs): return _grid.GridCellEnumEditor_GetValue(*args, **kwargs)
341 def __repr__(self):
342 return "<%s.%s; proxy of C++ wxGridCellEnumEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
343
344 class GridCellEnumEditorPtr(GridCellEnumEditor):
345 def __init__(self, this):
346 self.this = this
347 if not hasattr(self,"thisown"): self.thisown = 0
348 self.__class__ = GridCellEnumEditor
349 _grid.GridCellEnumEditor_swigregister(GridCellEnumEditorPtr)
350
351 class GridCellAutoWrapStringEditor(GridCellTextEditor):
352 def __init__(self, *args, **kwargs):
353 newobj = _grid.new_GridCellAutoWrapStringEditor(*args, **kwargs)
354 self.this = newobj.this
355 self.thisown = 1
356 del newobj.thisown
357 self._setOORInfo(self)
358 def GetValue(*args, **kwargs): return _grid.GridCellAutoWrapStringEditor_GetValue(*args, **kwargs)
359 def __repr__(self):
360 return "<%s.%s; proxy of C++ wxGridCellAutoWrapStringEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
361
362 class GridCellAutoWrapStringEditorPtr(GridCellAutoWrapStringEditor):
363 def __init__(self, this):
364 self.this = this
365 if not hasattr(self,"thisown"): self.thisown = 0
366 self.__class__ = GridCellAutoWrapStringEditor
367 _grid.GridCellAutoWrapStringEditor_swigregister(GridCellAutoWrapStringEditorPtr)
368
369 class GridCellAttr(object):
370 Any = _grid.GridCellAttr_Any
371 Default = _grid.GridCellAttr_Default
372 Cell = _grid.GridCellAttr_Cell
373 Row = _grid.GridCellAttr_Row
374 Col = _grid.GridCellAttr_Col
375 Merged = _grid.GridCellAttr_Merged
376 def _setOORInfo(*args, **kwargs): return _grid.GridCellAttr__setOORInfo(*args, **kwargs)
377 def __init__(self, *args, **kwargs):
378 newobj = _grid.new_GridCellAttr(*args, **kwargs)
379 self.this = newobj.this
380 self.thisown = 1
381 del newobj.thisown
382 self._setOORInfo(self)
383 def Clone(*args, **kwargs): return _grid.GridCellAttr_Clone(*args, **kwargs)
384 def MergeWith(*args, **kwargs): return _grid.GridCellAttr_MergeWith(*args, **kwargs)
385 def IncRef(*args, **kwargs): return _grid.GridCellAttr_IncRef(*args, **kwargs)
386 def DecRef(*args, **kwargs): return _grid.GridCellAttr_DecRef(*args, **kwargs)
387 def SetTextColour(*args, **kwargs): return _grid.GridCellAttr_SetTextColour(*args, **kwargs)
388 def SetBackgroundColour(*args, **kwargs): return _grid.GridCellAttr_SetBackgroundColour(*args, **kwargs)
389 def SetFont(*args, **kwargs): return _grid.GridCellAttr_SetFont(*args, **kwargs)
390 def SetAlignment(*args, **kwargs): return _grid.GridCellAttr_SetAlignment(*args, **kwargs)
391 def SetSize(*args, **kwargs): return _grid.GridCellAttr_SetSize(*args, **kwargs)
392 def SetOverflow(*args, **kwargs): return _grid.GridCellAttr_SetOverflow(*args, **kwargs)
393 def SetReadOnly(*args, **kwargs): return _grid.GridCellAttr_SetReadOnly(*args, **kwargs)
394 def SetRenderer(*args, **kwargs): return _grid.GridCellAttr_SetRenderer(*args, **kwargs)
395 def SetEditor(*args, **kwargs): return _grid.GridCellAttr_SetEditor(*args, **kwargs)
396 def SetKind(*args, **kwargs): return _grid.GridCellAttr_SetKind(*args, **kwargs)
397 def HasTextColour(*args, **kwargs): return _grid.GridCellAttr_HasTextColour(*args, **kwargs)
398 def HasBackgroundColour(*args, **kwargs): return _grid.GridCellAttr_HasBackgroundColour(*args, **kwargs)
399 def HasFont(*args, **kwargs): return _grid.GridCellAttr_HasFont(*args, **kwargs)
400 def HasAlignment(*args, **kwargs): return _grid.GridCellAttr_HasAlignment(*args, **kwargs)
401 def HasRenderer(*args, **kwargs): return _grid.GridCellAttr_HasRenderer(*args, **kwargs)
402 def HasEditor(*args, **kwargs): return _grid.GridCellAttr_HasEditor(*args, **kwargs)
403 def HasReadWriteMode(*args, **kwargs): return _grid.GridCellAttr_HasReadWriteMode(*args, **kwargs)
404 def HasOverflowMode(*args, **kwargs): return _grid.GridCellAttr_HasOverflowMode(*args, **kwargs)
405 def GetTextColour(*args, **kwargs): return _grid.GridCellAttr_GetTextColour(*args, **kwargs)
406 def GetBackgroundColour(*args, **kwargs): return _grid.GridCellAttr_GetBackgroundColour(*args, **kwargs)
407 def GetFont(*args, **kwargs): return _grid.GridCellAttr_GetFont(*args, **kwargs)
408 def GetAlignment(*args, **kwargs): return _grid.GridCellAttr_GetAlignment(*args, **kwargs)
409 def GetSize(*args, **kwargs): return _grid.GridCellAttr_GetSize(*args, **kwargs)
410 def GetOverflow(*args, **kwargs): return _grid.GridCellAttr_GetOverflow(*args, **kwargs)
411 def GetRenderer(*args, **kwargs): return _grid.GridCellAttr_GetRenderer(*args, **kwargs)
412 def GetEditor(*args, **kwargs): return _grid.GridCellAttr_GetEditor(*args, **kwargs)
413 def IsReadOnly(*args, **kwargs): return _grid.GridCellAttr_IsReadOnly(*args, **kwargs)
414 def SetDefAttr(*args, **kwargs): return _grid.GridCellAttr_SetDefAttr(*args, **kwargs)
415 def __repr__(self):
416 return "<%s.%s; proxy of C++ wxGridCellAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
417
418 class GridCellAttrPtr(GridCellAttr):
419 def __init__(self, this):
420 self.this = this
421 if not hasattr(self,"thisown"): self.thisown = 0
422 self.__class__ = GridCellAttr
423 _grid.GridCellAttr_swigregister(GridCellAttrPtr)
424
425 class GridCellAttrProvider(object):
426 def __init__(self, *args, **kwargs):
427 newobj = _grid.new_GridCellAttrProvider(*args, **kwargs)
428 self.this = newobj.this
429 self.thisown = 1
430 del newobj.thisown
431 self._setOORInfo(self)
432 def _setOORInfo(*args, **kwargs): return _grid.GridCellAttrProvider__setOORInfo(*args, **kwargs)
433 def GetAttr(*args, **kwargs): return _grid.GridCellAttrProvider_GetAttr(*args, **kwargs)
434 def SetAttr(*args, **kwargs): return _grid.GridCellAttrProvider_SetAttr(*args, **kwargs)
435 def SetRowAttr(*args, **kwargs): return _grid.GridCellAttrProvider_SetRowAttr(*args, **kwargs)
436 def SetColAttr(*args, **kwargs): return _grid.GridCellAttrProvider_SetColAttr(*args, **kwargs)
437 def UpdateAttrRows(*args, **kwargs): return _grid.GridCellAttrProvider_UpdateAttrRows(*args, **kwargs)
438 def UpdateAttrCols(*args, **kwargs): return _grid.GridCellAttrProvider_UpdateAttrCols(*args, **kwargs)
439 def __repr__(self):
440 return "<%s.%s; proxy of C++ wxGridCellAttrProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
441
442 class GridCellAttrProviderPtr(GridCellAttrProvider):
443 def __init__(self, this):
444 self.this = this
445 if not hasattr(self,"thisown"): self.thisown = 0
446 self.__class__ = GridCellAttrProvider
447 _grid.GridCellAttrProvider_swigregister(GridCellAttrProviderPtr)
448
449 class PyGridCellAttrProvider(GridCellAttrProvider):
450 def __init__(self, *args, **kwargs):
451 newobj = _grid.new_PyGridCellAttrProvider(*args, **kwargs)
452 self.this = newobj.this
453 self.thisown = 1
454 del newobj.thisown
455 self._setCallbackInfo(self, PyGridCellAttrProvider)
456 def _setCallbackInfo(*args, **kwargs): return _grid.PyGridCellAttrProvider__setCallbackInfo(*args, **kwargs)
457 def base_GetAttr(*args, **kwargs): return _grid.PyGridCellAttrProvider_base_GetAttr(*args, **kwargs)
458 def base_SetAttr(*args, **kwargs): return _grid.PyGridCellAttrProvider_base_SetAttr(*args, **kwargs)
459 def base_SetRowAttr(*args, **kwargs): return _grid.PyGridCellAttrProvider_base_SetRowAttr(*args, **kwargs)
460 def base_SetColAttr(*args, **kwargs): return _grid.PyGridCellAttrProvider_base_SetColAttr(*args, **kwargs)
461 def __repr__(self):
462 return "<%s.%s; proxy of C++ wxPyGridCellAttrProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
463
464 class PyGridCellAttrProviderPtr(PyGridCellAttrProvider):
465 def __init__(self, this):
466 self.this = this
467 if not hasattr(self,"thisown"): self.thisown = 0
468 self.__class__ = PyGridCellAttrProvider
469 _grid.PyGridCellAttrProvider_swigregister(PyGridCellAttrProviderPtr)
470
471 class GridTableBase(core.Object):
472 def _setOORInfo(*args, **kwargs): return _grid.GridTableBase__setOORInfo(*args, **kwargs)
473 def SetAttrProvider(*args, **kwargs): return _grid.GridTableBase_SetAttrProvider(*args, **kwargs)
474 def GetAttrProvider(*args, **kwargs): return _grid.GridTableBase_GetAttrProvider(*args, **kwargs)
475 def SetView(*args, **kwargs): return _grid.GridTableBase_SetView(*args, **kwargs)
476 def GetView(*args, **kwargs): return _grid.GridTableBase_GetView(*args, **kwargs)
477 def GetNumberRows(*args, **kwargs): return _grid.GridTableBase_GetNumberRows(*args, **kwargs)
478 def GetNumberCols(*args, **kwargs): return _grid.GridTableBase_GetNumberCols(*args, **kwargs)
479 def IsEmptyCell(*args, **kwargs): return _grid.GridTableBase_IsEmptyCell(*args, **kwargs)
480 def GetValue(*args, **kwargs): return _grid.GridTableBase_GetValue(*args, **kwargs)
481 def SetValue(*args, **kwargs): return _grid.GridTableBase_SetValue(*args, **kwargs)
482 def GetTypeName(*args, **kwargs): return _grid.GridTableBase_GetTypeName(*args, **kwargs)
483 def CanGetValueAs(*args, **kwargs): return _grid.GridTableBase_CanGetValueAs(*args, **kwargs)
484 def CanSetValueAs(*args, **kwargs): return _grid.GridTableBase_CanSetValueAs(*args, **kwargs)
485 def GetValueAsLong(*args, **kwargs): return _grid.GridTableBase_GetValueAsLong(*args, **kwargs)
486 def GetValueAsDouble(*args, **kwargs): return _grid.GridTableBase_GetValueAsDouble(*args, **kwargs)
487 def GetValueAsBool(*args, **kwargs): return _grid.GridTableBase_GetValueAsBool(*args, **kwargs)
488 def SetValueAsLong(*args, **kwargs): return _grid.GridTableBase_SetValueAsLong(*args, **kwargs)
489 def SetValueAsDouble(*args, **kwargs): return _grid.GridTableBase_SetValueAsDouble(*args, **kwargs)
490 def SetValueAsBool(*args, **kwargs): return _grid.GridTableBase_SetValueAsBool(*args, **kwargs)
491 def Clear(*args, **kwargs): return _grid.GridTableBase_Clear(*args, **kwargs)
492 def InsertRows(*args, **kwargs): return _grid.GridTableBase_InsertRows(*args, **kwargs)
493 def AppendRows(*args, **kwargs): return _grid.GridTableBase_AppendRows(*args, **kwargs)
494 def DeleteRows(*args, **kwargs): return _grid.GridTableBase_DeleteRows(*args, **kwargs)
495 def InsertCols(*args, **kwargs): return _grid.GridTableBase_InsertCols(*args, **kwargs)
496 def AppendCols(*args, **kwargs): return _grid.GridTableBase_AppendCols(*args, **kwargs)
497 def DeleteCols(*args, **kwargs): return _grid.GridTableBase_DeleteCols(*args, **kwargs)
498 def GetRowLabelValue(*args, **kwargs): return _grid.GridTableBase_GetRowLabelValue(*args, **kwargs)
499 def GetColLabelValue(*args, **kwargs): return _grid.GridTableBase_GetColLabelValue(*args, **kwargs)
500 def SetRowLabelValue(*args, **kwargs): return _grid.GridTableBase_SetRowLabelValue(*args, **kwargs)
501 def SetColLabelValue(*args, **kwargs): return _grid.GridTableBase_SetColLabelValue(*args, **kwargs)
502 def CanHaveAttributes(*args, **kwargs): return _grid.GridTableBase_CanHaveAttributes(*args, **kwargs)
503 def GetAttr(*args, **kwargs): return _grid.GridTableBase_GetAttr(*args, **kwargs)
504 def SetAttr(*args, **kwargs): return _grid.GridTableBase_SetAttr(*args, **kwargs)
505 def SetRowAttr(*args, **kwargs): return _grid.GridTableBase_SetRowAttr(*args, **kwargs)
506 def SetColAttr(*args, **kwargs): return _grid.GridTableBase_SetColAttr(*args, **kwargs)
507 def __init__(self): raise RuntimeError, "No constructor defined"
508 def __repr__(self):
509 return "<%s.%s; proxy of C++ wxGridTableBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
510
511 class GridTableBasePtr(GridTableBase):
512 def __init__(self, this):
513 self.this = this
514 if not hasattr(self,"thisown"): self.thisown = 0
515 self.__class__ = GridTableBase
516 _grid.GridTableBase_swigregister(GridTableBasePtr)
517
518 class PyGridTableBase(GridTableBase):
519 def __init__(self, *args, **kwargs):
520 newobj = _grid.new_PyGridTableBase(*args, **kwargs)
521 self.this = newobj.this
522 self.thisown = 1
523 del newobj.thisown
524 self._setCallbackInfo(self, PyGridTableBase);self._setOORInfo(self)
525 def _setCallbackInfo(*args, **kwargs): return _grid.PyGridTableBase__setCallbackInfo(*args, **kwargs)
526 def Destroy(*args, **kwargs): return _grid.PyGridTableBase_Destroy(*args, **kwargs)
527 def base_GetTypeName(*args, **kwargs): return _grid.PyGridTableBase_base_GetTypeName(*args, **kwargs)
528 def base_CanGetValueAs(*args, **kwargs): return _grid.PyGridTableBase_base_CanGetValueAs(*args, **kwargs)
529 def base_CanSetValueAs(*args, **kwargs): return _grid.PyGridTableBase_base_CanSetValueAs(*args, **kwargs)
530 def base_Clear(*args, **kwargs): return _grid.PyGridTableBase_base_Clear(*args, **kwargs)
531 def base_InsertRows(*args, **kwargs): return _grid.PyGridTableBase_base_InsertRows(*args, **kwargs)
532 def base_AppendRows(*args, **kwargs): return _grid.PyGridTableBase_base_AppendRows(*args, **kwargs)
533 def base_DeleteRows(*args, **kwargs): return _grid.PyGridTableBase_base_DeleteRows(*args, **kwargs)
534 def base_InsertCols(*args, **kwargs): return _grid.PyGridTableBase_base_InsertCols(*args, **kwargs)
535 def base_AppendCols(*args, **kwargs): return _grid.PyGridTableBase_base_AppendCols(*args, **kwargs)
536 def base_DeleteCols(*args, **kwargs): return _grid.PyGridTableBase_base_DeleteCols(*args, **kwargs)
537 def base_GetRowLabelValue(*args, **kwargs): return _grid.PyGridTableBase_base_GetRowLabelValue(*args, **kwargs)
538 def base_GetColLabelValue(*args, **kwargs): return _grid.PyGridTableBase_base_GetColLabelValue(*args, **kwargs)
539 def base_SetRowLabelValue(*args, **kwargs): return _grid.PyGridTableBase_base_SetRowLabelValue(*args, **kwargs)
540 def base_SetColLabelValue(*args, **kwargs): return _grid.PyGridTableBase_base_SetColLabelValue(*args, **kwargs)
541 def base_CanHaveAttributes(*args, **kwargs): return _grid.PyGridTableBase_base_CanHaveAttributes(*args, **kwargs)
542 def base_GetAttr(*args, **kwargs): return _grid.PyGridTableBase_base_GetAttr(*args, **kwargs)
543 def base_SetAttr(*args, **kwargs): return _grid.PyGridTableBase_base_SetAttr(*args, **kwargs)
544 def base_SetRowAttr(*args, **kwargs): return _grid.PyGridTableBase_base_SetRowAttr(*args, **kwargs)
545 def base_SetColAttr(*args, **kwargs): return _grid.PyGridTableBase_base_SetColAttr(*args, **kwargs)
546 def __repr__(self):
547 return "<%s.%s; proxy of C++ wxPyGridTableBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
548
549 class PyGridTableBasePtr(PyGridTableBase):
550 def __init__(self, this):
551 self.this = this
552 if not hasattr(self,"thisown"): self.thisown = 0
553 self.__class__ = PyGridTableBase
554 _grid.PyGridTableBase_swigregister(PyGridTableBasePtr)
555
556 class GridStringTable(GridTableBase):
557 def __init__(self, *args, **kwargs):
558 newobj = _grid.new_GridStringTable(*args, **kwargs)
559 self.this = newobj.this
560 self.thisown = 1
561 del newobj.thisown
562 self._setOORInfo(self)
563 def __repr__(self):
564 return "<%s.%s; proxy of C++ wxGridStringTable instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
565
566 class GridStringTablePtr(GridStringTable):
567 def __init__(self, this):
568 self.this = this
569 if not hasattr(self,"thisown"): self.thisown = 0
570 self.__class__ = GridStringTable
571 _grid.GridStringTable_swigregister(GridStringTablePtr)
572
573 GRIDTABLE_REQUEST_VIEW_GET_VALUES = _grid.GRIDTABLE_REQUEST_VIEW_GET_VALUES
574 GRIDTABLE_REQUEST_VIEW_SEND_VALUES = _grid.GRIDTABLE_REQUEST_VIEW_SEND_VALUES
575 GRIDTABLE_NOTIFY_ROWS_INSERTED = _grid.GRIDTABLE_NOTIFY_ROWS_INSERTED
576 GRIDTABLE_NOTIFY_ROWS_APPENDED = _grid.GRIDTABLE_NOTIFY_ROWS_APPENDED
577 GRIDTABLE_NOTIFY_ROWS_DELETED = _grid.GRIDTABLE_NOTIFY_ROWS_DELETED
578 GRIDTABLE_NOTIFY_COLS_INSERTED = _grid.GRIDTABLE_NOTIFY_COLS_INSERTED
579 GRIDTABLE_NOTIFY_COLS_APPENDED = _grid.GRIDTABLE_NOTIFY_COLS_APPENDED
580 GRIDTABLE_NOTIFY_COLS_DELETED = _grid.GRIDTABLE_NOTIFY_COLS_DELETED
581 class GridTableMessage(object):
582 def __init__(self, *args, **kwargs):
583 newobj = _grid.new_GridTableMessage(*args, **kwargs)
584 self.this = newobj.this
585 self.thisown = 1
586 del newobj.thisown
587 def __del__(self, destroy=_grid.delete_GridTableMessage):
588 try:
589 if self.thisown: destroy(self)
590 except: pass
591 def SetTableObject(*args, **kwargs): return _grid.GridTableMessage_SetTableObject(*args, **kwargs)
592 def GetTableObject(*args, **kwargs): return _grid.GridTableMessage_GetTableObject(*args, **kwargs)
593 def SetId(*args, **kwargs): return _grid.GridTableMessage_SetId(*args, **kwargs)
594 def GetId(*args, **kwargs): return _grid.GridTableMessage_GetId(*args, **kwargs)
595 def SetCommandInt(*args, **kwargs): return _grid.GridTableMessage_SetCommandInt(*args, **kwargs)
596 def GetCommandInt(*args, **kwargs): return _grid.GridTableMessage_GetCommandInt(*args, **kwargs)
597 def SetCommandInt2(*args, **kwargs): return _grid.GridTableMessage_SetCommandInt2(*args, **kwargs)
598 def GetCommandInt2(*args, **kwargs): return _grid.GridTableMessage_GetCommandInt2(*args, **kwargs)
599 def __repr__(self):
600 return "<%s.%s; proxy of C++ wxGridTableMessage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
601
602 class GridTableMessagePtr(GridTableMessage):
603 def __init__(self, this):
604 self.this = this
605 if not hasattr(self,"thisown"): self.thisown = 0
606 self.__class__ = GridTableMessage
607 _grid.GridTableMessage_swigregister(GridTableMessagePtr)
608
609 class GridCellCoords(object):
610 def __init__(self, *args, **kwargs):
611 newobj = _grid.new_GridCellCoords(*args, **kwargs)
612 self.this = newobj.this
613 self.thisown = 1
614 del newobj.thisown
615 def __del__(self, destroy=_grid.delete_GridCellCoords):
616 try:
617 if self.thisown: destroy(self)
618 except: pass
619 def GetRow(*args, **kwargs): return _grid.GridCellCoords_GetRow(*args, **kwargs)
620 def SetRow(*args, **kwargs): return _grid.GridCellCoords_SetRow(*args, **kwargs)
621 def GetCol(*args, **kwargs): return _grid.GridCellCoords_GetCol(*args, **kwargs)
622 def SetCol(*args, **kwargs): return _grid.GridCellCoords_SetCol(*args, **kwargs)
623 def Set(*args, **kwargs): return _grid.GridCellCoords_Set(*args, **kwargs)
624 def __eq__(*args, **kwargs): return _grid.GridCellCoords___eq__(*args, **kwargs)
625 def __ne__(*args, **kwargs): return _grid.GridCellCoords___ne__(*args, **kwargs)
626 def asTuple(*args, **kwargs): return _grid.GridCellCoords_asTuple(*args, **kwargs)
627 def __str__(self): return str(self.asTuple())
628 def __repr__(self): return 'wxGridCellCoords'+str(self.asTuple())
629 def __len__(self): return len(self.asTuple())
630 def __getitem__(self, index): return self.asTuple()[index]
631 def __setitem__(self, index, val):
632 if index == 0: self.SetRow(val)
633 elif index == 1: self.SetCol(val)
634 else: raise IndexError
635
636
637 class GridCellCoordsPtr(GridCellCoords):
638 def __init__(self, this):
639 self.this = this
640 if not hasattr(self,"thisown"): self.thisown = 0
641 self.__class__ = GridCellCoords
642 _grid.GridCellCoords_swigregister(GridCellCoordsPtr)
643
644 class Grid(windows.ScrolledWindow):
645 def __init__(self, *args, **kwargs):
646 newobj = _grid.new_Grid(*args, **kwargs)
647 self.this = newobj.this
648 self.thisown = 1
649 del newobj.thisown
650 self._setOORInfo(self)
651 wxGridSelectCells = _grid.Grid_wxGridSelectCells
652 wxGridSelectRows = _grid.Grid_wxGridSelectRows
653 wxGridSelectColumns = _grid.Grid_wxGridSelectColumns
654 def CreateGrid(*args, **kwargs): return _grid.Grid_CreateGrid(*args, **kwargs)
655 def SetSelectionMode(*args, **kwargs): return _grid.Grid_SetSelectionMode(*args, **kwargs)
656 def GetSelectionMode(*args, **kwargs): return _grid.Grid_GetSelectionMode(*args, **kwargs)
657 def GetNumberRows(*args, **kwargs): return _grid.Grid_GetNumberRows(*args, **kwargs)
658 def GetNumberCols(*args, **kwargs): return _grid.Grid_GetNumberCols(*args, **kwargs)
659 def ProcessTableMessage(*args, **kwargs): return _grid.Grid_ProcessTableMessage(*args, **kwargs)
660 def GetTable(*args, **kwargs): return _grid.Grid_GetTable(*args, **kwargs)
661 def SetTable(*args, **kwargs): return _grid.Grid_SetTable(*args, **kwargs)
662 def ClearGrid(*args, **kwargs): return _grid.Grid_ClearGrid(*args, **kwargs)
663 def InsertRows(*args, **kwargs): return _grid.Grid_InsertRows(*args, **kwargs)
664 def AppendRows(*args, **kwargs): return _grid.Grid_AppendRows(*args, **kwargs)
665 def DeleteRows(*args, **kwargs): return _grid.Grid_DeleteRows(*args, **kwargs)
666 def InsertCols(*args, **kwargs): return _grid.Grid_InsertCols(*args, **kwargs)
667 def AppendCols(*args, **kwargs): return _grid.Grid_AppendCols(*args, **kwargs)
668 def DeleteCols(*args, **kwargs): return _grid.Grid_DeleteCols(*args, **kwargs)
669 def DrawCellHighlight(*args, **kwargs): return _grid.Grid_DrawCellHighlight(*args, **kwargs)
670 def DrawTextRectangle(*args, **kwargs): return _grid.Grid_DrawTextRectangle(*args, **kwargs)
671 def GetTextBoxSize(*args, **kwargs): return _grid.Grid_GetTextBoxSize(*args, **kwargs)
672 def BeginBatch(*args, **kwargs): return _grid.Grid_BeginBatch(*args, **kwargs)
673 def EndBatch(*args, **kwargs): return _grid.Grid_EndBatch(*args, **kwargs)
674 def GetBatchCount(*args, **kwargs): return _grid.Grid_GetBatchCount(*args, **kwargs)
675 def ForceRefresh(*args, **kwargs): return _grid.Grid_ForceRefresh(*args, **kwargs)
676 def Refresh(*args, **kwargs): return _grid.Grid_Refresh(*args, **kwargs)
677 def IsEditable(*args, **kwargs): return _grid.Grid_IsEditable(*args, **kwargs)
678 def EnableEditing(*args, **kwargs): return _grid.Grid_EnableEditing(*args, **kwargs)
679 def EnableCellEditControl(*args, **kwargs): return _grid.Grid_EnableCellEditControl(*args, **kwargs)
680 def DisableCellEditControl(*args, **kwargs): return _grid.Grid_DisableCellEditControl(*args, **kwargs)
681 def CanEnableCellControl(*args, **kwargs): return _grid.Grid_CanEnableCellControl(*args, **kwargs)
682 def IsCellEditControlEnabled(*args, **kwargs): return _grid.Grid_IsCellEditControlEnabled(*args, **kwargs)
683 def IsCellEditControlShown(*args, **kwargs): return _grid.Grid_IsCellEditControlShown(*args, **kwargs)
684 def IsCurrentCellReadOnly(*args, **kwargs): return _grid.Grid_IsCurrentCellReadOnly(*args, **kwargs)
685 def ShowCellEditControl(*args, **kwargs): return _grid.Grid_ShowCellEditControl(*args, **kwargs)
686 def HideCellEditControl(*args, **kwargs): return _grid.Grid_HideCellEditControl(*args, **kwargs)
687 def SaveEditControlValue(*args, **kwargs): return _grid.Grid_SaveEditControlValue(*args, **kwargs)
688 def XYToCell(*args, **kwargs): return _grid.Grid_XYToCell(*args, **kwargs)
689 def YToRow(*args, **kwargs): return _grid.Grid_YToRow(*args, **kwargs)
690 def XToCol(*args, **kwargs): return _grid.Grid_XToCol(*args, **kwargs)
691 def YToEdgeOfRow(*args, **kwargs): return _grid.Grid_YToEdgeOfRow(*args, **kwargs)
692 def XToEdgeOfCol(*args, **kwargs): return _grid.Grid_XToEdgeOfCol(*args, **kwargs)
693 def CellToRect(*args, **kwargs): return _grid.Grid_CellToRect(*args, **kwargs)
694 def GetGridCursorRow(*args, **kwargs): return _grid.Grid_GetGridCursorRow(*args, **kwargs)
695 def GetGridCursorCol(*args, **kwargs): return _grid.Grid_GetGridCursorCol(*args, **kwargs)
696 def IsVisible(*args, **kwargs): return _grid.Grid_IsVisible(*args, **kwargs)
697 def MakeCellVisible(*args, **kwargs): return _grid.Grid_MakeCellVisible(*args, **kwargs)
698 def SetGridCursor(*args, **kwargs): return _grid.Grid_SetGridCursor(*args, **kwargs)
699 def MoveCursorUp(*args, **kwargs): return _grid.Grid_MoveCursorUp(*args, **kwargs)
700 def MoveCursorDown(*args, **kwargs): return _grid.Grid_MoveCursorDown(*args, **kwargs)
701 def MoveCursorLeft(*args, **kwargs): return _grid.Grid_MoveCursorLeft(*args, **kwargs)
702 def MoveCursorRight(*args, **kwargs): return _grid.Grid_MoveCursorRight(*args, **kwargs)
703 def MovePageDown(*args, **kwargs): return _grid.Grid_MovePageDown(*args, **kwargs)
704 def MovePageUp(*args, **kwargs): return _grid.Grid_MovePageUp(*args, **kwargs)
705 def MoveCursorUpBlock(*args, **kwargs): return _grid.Grid_MoveCursorUpBlock(*args, **kwargs)
706 def MoveCursorDownBlock(*args, **kwargs): return _grid.Grid_MoveCursorDownBlock(*args, **kwargs)
707 def MoveCursorLeftBlock(*args, **kwargs): return _grid.Grid_MoveCursorLeftBlock(*args, **kwargs)
708 def MoveCursorRightBlock(*args, **kwargs): return _grid.Grid_MoveCursorRightBlock(*args, **kwargs)
709 def GetDefaultRowLabelSize(*args, **kwargs): return _grid.Grid_GetDefaultRowLabelSize(*args, **kwargs)
710 def GetRowLabelSize(*args, **kwargs): return _grid.Grid_GetRowLabelSize(*args, **kwargs)
711 def GetDefaultColLabelSize(*args, **kwargs): return _grid.Grid_GetDefaultColLabelSize(*args, **kwargs)
712 def GetColLabelSize(*args, **kwargs): return _grid.Grid_GetColLabelSize(*args, **kwargs)
713 def GetLabelBackgroundColour(*args, **kwargs): return _grid.Grid_GetLabelBackgroundColour(*args, **kwargs)
714 def GetLabelTextColour(*args, **kwargs): return _grid.Grid_GetLabelTextColour(*args, **kwargs)
715 def GetLabelFont(*args, **kwargs): return _grid.Grid_GetLabelFont(*args, **kwargs)
716 def GetRowLabelAlignment(*args, **kwargs): return _grid.Grid_GetRowLabelAlignment(*args, **kwargs)
717 def GetColLabelAlignment(*args, **kwargs): return _grid.Grid_GetColLabelAlignment(*args, **kwargs)
718 def GetColLabelTextOrientation(*args, **kwargs): return _grid.Grid_GetColLabelTextOrientation(*args, **kwargs)
719 def GetRowLabelValue(*args, **kwargs): return _grid.Grid_GetRowLabelValue(*args, **kwargs)
720 def GetColLabelValue(*args, **kwargs): return _grid.Grid_GetColLabelValue(*args, **kwargs)
721 def GetGridLineColour(*args, **kwargs): return _grid.Grid_GetGridLineColour(*args, **kwargs)
722 def GetCellHighlightColour(*args, **kwargs): return _grid.Grid_GetCellHighlightColour(*args, **kwargs)
723 def GetCellHighlightPenWidth(*args, **kwargs): return _grid.Grid_GetCellHighlightPenWidth(*args, **kwargs)
724 def GetCellHighlightROPenWidth(*args, **kwargs): return _grid.Grid_GetCellHighlightROPenWidth(*args, **kwargs)
725 def SetRowLabelSize(*args, **kwargs): return _grid.Grid_SetRowLabelSize(*args, **kwargs)
726 def SetColLabelSize(*args, **kwargs): return _grid.Grid_SetColLabelSize(*args, **kwargs)
727 def SetLabelBackgroundColour(*args, **kwargs): return _grid.Grid_SetLabelBackgroundColour(*args, **kwargs)
728 def SetLabelTextColour(*args, **kwargs): return _grid.Grid_SetLabelTextColour(*args, **kwargs)
729 def SetLabelFont(*args, **kwargs): return _grid.Grid_SetLabelFont(*args, **kwargs)
730 def SetRowLabelAlignment(*args, **kwargs): return _grid.Grid_SetRowLabelAlignment(*args, **kwargs)
731 def SetColLabelAlignment(*args, **kwargs): return _grid.Grid_SetColLabelAlignment(*args, **kwargs)
732 def SetColLabelTextOrientation(*args, **kwargs): return _grid.Grid_SetColLabelTextOrientation(*args, **kwargs)
733 def SetRowLabelValue(*args, **kwargs): return _grid.Grid_SetRowLabelValue(*args, **kwargs)
734 def SetColLabelValue(*args, **kwargs): return _grid.Grid_SetColLabelValue(*args, **kwargs)
735 def SetGridLineColour(*args, **kwargs): return _grid.Grid_SetGridLineColour(*args, **kwargs)
736 def SetCellHighlightColour(*args, **kwargs): return _grid.Grid_SetCellHighlightColour(*args, **kwargs)
737 def SetCellHighlightPenWidth(*args, **kwargs): return _grid.Grid_SetCellHighlightPenWidth(*args, **kwargs)
738 def SetCellHighlightROPenWidth(*args, **kwargs): return _grid.Grid_SetCellHighlightROPenWidth(*args, **kwargs)
739 def EnableDragRowSize(*args, **kwargs): return _grid.Grid_EnableDragRowSize(*args, **kwargs)
740 def DisableDragRowSize(*args, **kwargs): return _grid.Grid_DisableDragRowSize(*args, **kwargs)
741 def CanDragRowSize(*args, **kwargs): return _grid.Grid_CanDragRowSize(*args, **kwargs)
742 def EnableDragColSize(*args, **kwargs): return _grid.Grid_EnableDragColSize(*args, **kwargs)
743 def DisableDragColSize(*args, **kwargs): return _grid.Grid_DisableDragColSize(*args, **kwargs)
744 def CanDragColSize(*args, **kwargs): return _grid.Grid_CanDragColSize(*args, **kwargs)
745 def EnableDragGridSize(*args, **kwargs): return _grid.Grid_EnableDragGridSize(*args, **kwargs)
746 def DisableDragGridSize(*args, **kwargs): return _grid.Grid_DisableDragGridSize(*args, **kwargs)
747 def CanDragGridSize(*args, **kwargs): return _grid.Grid_CanDragGridSize(*args, **kwargs)
748 def SetAttr(*args, **kwargs): return _grid.Grid_SetAttr(*args, **kwargs)
749 def SetRowAttr(*args, **kwargs): return _grid.Grid_SetRowAttr(*args, **kwargs)
750 def SetColAttr(*args, **kwargs): return _grid.Grid_SetColAttr(*args, **kwargs)
751 def SetColFormatBool(*args, **kwargs): return _grid.Grid_SetColFormatBool(*args, **kwargs)
752 def SetColFormatNumber(*args, **kwargs): return _grid.Grid_SetColFormatNumber(*args, **kwargs)
753 def SetColFormatFloat(*args, **kwargs): return _grid.Grid_SetColFormatFloat(*args, **kwargs)
754 def SetColFormatCustom(*args, **kwargs): return _grid.Grid_SetColFormatCustom(*args, **kwargs)
755 def EnableGridLines(*args, **kwargs): return _grid.Grid_EnableGridLines(*args, **kwargs)
756 def GridLinesEnabled(*args, **kwargs): return _grid.Grid_GridLinesEnabled(*args, **kwargs)
757 def GetDefaultRowSize(*args, **kwargs): return _grid.Grid_GetDefaultRowSize(*args, **kwargs)
758 def GetRowSize(*args, **kwargs): return _grid.Grid_GetRowSize(*args, **kwargs)
759 def GetDefaultColSize(*args, **kwargs): return _grid.Grid_GetDefaultColSize(*args, **kwargs)
760 def GetColSize(*args, **kwargs): return _grid.Grid_GetColSize(*args, **kwargs)
761 def GetDefaultCellBackgroundColour(*args, **kwargs): return _grid.Grid_GetDefaultCellBackgroundColour(*args, **kwargs)
762 def GetCellBackgroundColour(*args, **kwargs): return _grid.Grid_GetCellBackgroundColour(*args, **kwargs)
763 def GetDefaultCellTextColour(*args, **kwargs): return _grid.Grid_GetDefaultCellTextColour(*args, **kwargs)
764 def GetCellTextColour(*args, **kwargs): return _grid.Grid_GetCellTextColour(*args, **kwargs)
765 def GetDefaultCellFont(*args, **kwargs): return _grid.Grid_GetDefaultCellFont(*args, **kwargs)
766 def GetCellFont(*args, **kwargs): return _grid.Grid_GetCellFont(*args, **kwargs)
767 def GetDefaultCellAlignment(*args, **kwargs): return _grid.Grid_GetDefaultCellAlignment(*args, **kwargs)
768 def GetCellAlignment(*args, **kwargs): return _grid.Grid_GetCellAlignment(*args, **kwargs)
769 def GetDefaultCellOverflow(*args, **kwargs): return _grid.Grid_GetDefaultCellOverflow(*args, **kwargs)
770 def GetCellOverflow(*args, **kwargs): return _grid.Grid_GetCellOverflow(*args, **kwargs)
771 def GetCellSize(*args, **kwargs): return _grid.Grid_GetCellSize(*args, **kwargs)
772 def SetDefaultRowSize(*args, **kwargs): return _grid.Grid_SetDefaultRowSize(*args, **kwargs)
773 def SetRowSize(*args, **kwargs): return _grid.Grid_SetRowSize(*args, **kwargs)
774 def SetDefaultColSize(*args, **kwargs): return _grid.Grid_SetDefaultColSize(*args, **kwargs)
775 def SetColSize(*args, **kwargs): return _grid.Grid_SetColSize(*args, **kwargs)
776 def AutoSizeColumn(*args, **kwargs): return _grid.Grid_AutoSizeColumn(*args, **kwargs)
777 def AutoSizeRow(*args, **kwargs): return _grid.Grid_AutoSizeRow(*args, **kwargs)
778 def AutoSizeColumns(*args, **kwargs): return _grid.Grid_AutoSizeColumns(*args, **kwargs)
779 def AutoSizeRows(*args, **kwargs): return _grid.Grid_AutoSizeRows(*args, **kwargs)
780 def AutoSize(*args, **kwargs): return _grid.Grid_AutoSize(*args, **kwargs)
781 def AutoSizeRowLabelSize(*args, **kwargs): return _grid.Grid_AutoSizeRowLabelSize(*args, **kwargs)
782 def AutoSizeColLabelSize(*args, **kwargs): return _grid.Grid_AutoSizeColLabelSize(*args, **kwargs)
783 def SetColMinimalWidth(*args, **kwargs): return _grid.Grid_SetColMinimalWidth(*args, **kwargs)
784 def SetRowMinimalHeight(*args, **kwargs): return _grid.Grid_SetRowMinimalHeight(*args, **kwargs)
785 def SetColMinimalAcceptableWidth(*args, **kwargs): return _grid.Grid_SetColMinimalAcceptableWidth(*args, **kwargs)
786 def SetRowMinimalAcceptableHeight(*args, **kwargs): return _grid.Grid_SetRowMinimalAcceptableHeight(*args, **kwargs)
787 def GetColMinimalAcceptableWidth(*args, **kwargs): return _grid.Grid_GetColMinimalAcceptableWidth(*args, **kwargs)
788 def GetRowMinimalAcceptableHeight(*args, **kwargs): return _grid.Grid_GetRowMinimalAcceptableHeight(*args, **kwargs)
789 def SetDefaultCellBackgroundColour(*args, **kwargs): return _grid.Grid_SetDefaultCellBackgroundColour(*args, **kwargs)
790 def SetCellBackgroundColour(*args, **kwargs): return _grid.Grid_SetCellBackgroundColour(*args, **kwargs)
791 def SetDefaultCellTextColour(*args, **kwargs): return _grid.Grid_SetDefaultCellTextColour(*args, **kwargs)
792 def SetCellTextColour(*args, **kwargs): return _grid.Grid_SetCellTextColour(*args, **kwargs)
793 def SetDefaultCellFont(*args, **kwargs): return _grid.Grid_SetDefaultCellFont(*args, **kwargs)
794 def SetCellFont(*args, **kwargs): return _grid.Grid_SetCellFont(*args, **kwargs)
795 def SetDefaultCellAlignment(*args, **kwargs): return _grid.Grid_SetDefaultCellAlignment(*args, **kwargs)
796 def SetCellAlignment(*args, **kwargs): return _grid.Grid_SetCellAlignment(*args, **kwargs)
797 def SetDefaultCellOverflow(*args, **kwargs): return _grid.Grid_SetDefaultCellOverflow(*args, **kwargs)
798 def SetCellOverflow(*args, **kwargs): return _grid.Grid_SetCellOverflow(*args, **kwargs)
799 def SetCellSize(*args, **kwargs): return _grid.Grid_SetCellSize(*args, **kwargs)
800 def SetDefaultRenderer(*args, **kwargs): return _grid.Grid_SetDefaultRenderer(*args, **kwargs)
801 def SetCellRenderer(*args, **kwargs): return _grid.Grid_SetCellRenderer(*args, **kwargs)
802 def GetDefaultRenderer(*args, **kwargs): return _grid.Grid_GetDefaultRenderer(*args, **kwargs)
803 def GetCellRenderer(*args, **kwargs): return _grid.Grid_GetCellRenderer(*args, **kwargs)
804 def SetDefaultEditor(*args, **kwargs): return _grid.Grid_SetDefaultEditor(*args, **kwargs)
805 def SetCellEditor(*args, **kwargs): return _grid.Grid_SetCellEditor(*args, **kwargs)
806 def GetDefaultEditor(*args, **kwargs): return _grid.Grid_GetDefaultEditor(*args, **kwargs)
807 def GetCellEditor(*args, **kwargs): return _grid.Grid_GetCellEditor(*args, **kwargs)
808 def GetCellValue(*args, **kwargs): return _grid.Grid_GetCellValue(*args, **kwargs)
809 def SetCellValue(*args, **kwargs): return _grid.Grid_SetCellValue(*args, **kwargs)
810 def IsReadOnly(*args, **kwargs): return _grid.Grid_IsReadOnly(*args, **kwargs)
811 def SetReadOnly(*args, **kwargs): return _grid.Grid_SetReadOnly(*args, **kwargs)
812 def SelectRow(*args, **kwargs): return _grid.Grid_SelectRow(*args, **kwargs)
813 def SelectCol(*args, **kwargs): return _grid.Grid_SelectCol(*args, **kwargs)
814 def SelectBlock(*args, **kwargs): return _grid.Grid_SelectBlock(*args, **kwargs)
815 def SelectAll(*args, **kwargs): return _grid.Grid_SelectAll(*args, **kwargs)
816 def IsSelection(*args, **kwargs): return _grid.Grid_IsSelection(*args, **kwargs)
817 def ClearSelection(*args, **kwargs): return _grid.Grid_ClearSelection(*args, **kwargs)
818 def IsInSelection(*args, **kwargs): return _grid.Grid_IsInSelection(*args, **kwargs)
819 def GetSelectedCells(*args, **kwargs): return _grid.Grid_GetSelectedCells(*args, **kwargs)
820 def GetSelectionBlockTopLeft(*args, **kwargs): return _grid.Grid_GetSelectionBlockTopLeft(*args, **kwargs)
821 def GetSelectionBlockBottomRight(*args, **kwargs): return _grid.Grid_GetSelectionBlockBottomRight(*args, **kwargs)
822 def GetSelectedRows(*args, **kwargs): return _grid.Grid_GetSelectedRows(*args, **kwargs)
823 def GetSelectedCols(*args, **kwargs): return _grid.Grid_GetSelectedCols(*args, **kwargs)
824 def DeselectRow(*args, **kwargs): return _grid.Grid_DeselectRow(*args, **kwargs)
825 def DeselectCol(*args, **kwargs): return _grid.Grid_DeselectCol(*args, **kwargs)
826 def DeselectCell(*args, **kwargs): return _grid.Grid_DeselectCell(*args, **kwargs)
827 def BlockToDeviceRect(*args, **kwargs): return _grid.Grid_BlockToDeviceRect(*args, **kwargs)
828 def GetSelectionBackground(*args, **kwargs): return _grid.Grid_GetSelectionBackground(*args, **kwargs)
829 def GetSelectionForeground(*args, **kwargs): return _grid.Grid_GetSelectionForeground(*args, **kwargs)
830 def SetSelectionBackground(*args, **kwargs): return _grid.Grid_SetSelectionBackground(*args, **kwargs)
831 def SetSelectionForeground(*args, **kwargs): return _grid.Grid_SetSelectionForeground(*args, **kwargs)
832 def RegisterDataType(*args, **kwargs): return _grid.Grid_RegisterDataType(*args, **kwargs)
833 def GetDefaultEditorForCell(*args, **kwargs): return _grid.Grid_GetDefaultEditorForCell(*args, **kwargs)
834 def GetDefaultRendererForCell(*args, **kwargs): return _grid.Grid_GetDefaultRendererForCell(*args, **kwargs)
835 def GetDefaultEditorForType(*args, **kwargs): return _grid.Grid_GetDefaultEditorForType(*args, **kwargs)
836 def GetDefaultRendererForType(*args, **kwargs): return _grid.Grid_GetDefaultRendererForType(*args, **kwargs)
837 def SetMargins(*args, **kwargs): return _grid.Grid_SetMargins(*args, **kwargs)
838 def GetGridWindow(*args, **kwargs): return _grid.Grid_GetGridWindow(*args, **kwargs)
839 def GetGridRowLabelWindow(*args, **kwargs): return _grid.Grid_GetGridRowLabelWindow(*args, **kwargs)
840 def GetGridColLabelWindow(*args, **kwargs): return _grid.Grid_GetGridColLabelWindow(*args, **kwargs)
841 def GetGridCornerLabelWindow(*args, **kwargs): return _grid.Grid_GetGridCornerLabelWindow(*args, **kwargs)
842 def __repr__(self):
843 return "<%s.%s; proxy of C++ wxGrid instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
844
845 class GridPtr(Grid):
846 def __init__(self, this):
847 self.this = this
848 if not hasattr(self,"thisown"): self.thisown = 0
849 self.__class__ = Grid
850 _grid.Grid_swigregister(GridPtr)
851
852 class GridEvent(core.NotifyEvent):
853 def __init__(self, *args, **kwargs):
854 newobj = _grid.new_GridEvent(*args, **kwargs)
855 self.this = newobj.this
856 self.thisown = 1
857 del newobj.thisown
858 def GetRow(*args, **kwargs): return _grid.GridEvent_GetRow(*args, **kwargs)
859 def GetCol(*args, **kwargs): return _grid.GridEvent_GetCol(*args, **kwargs)
860 def GetPosition(*args, **kwargs): return _grid.GridEvent_GetPosition(*args, **kwargs)
861 def Selecting(*args, **kwargs): return _grid.GridEvent_Selecting(*args, **kwargs)
862 def ControlDown(*args, **kwargs): return _grid.GridEvent_ControlDown(*args, **kwargs)
863 def MetaDown(*args, **kwargs): return _grid.GridEvent_MetaDown(*args, **kwargs)
864 def ShiftDown(*args, **kwargs): return _grid.GridEvent_ShiftDown(*args, **kwargs)
865 def AltDown(*args, **kwargs): return _grid.GridEvent_AltDown(*args, **kwargs)
866 def __repr__(self):
867 return "<%s.%s; proxy of C++ wxGridEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
868
869 class GridEventPtr(GridEvent):
870 def __init__(self, this):
871 self.this = this
872 if not hasattr(self,"thisown"): self.thisown = 0
873 self.__class__ = GridEvent
874 _grid.GridEvent_swigregister(GridEventPtr)
875
876 class GridSizeEvent(core.NotifyEvent):
877 def __init__(self, *args, **kwargs):
878 newobj = _grid.new_GridSizeEvent(*args, **kwargs)
879 self.this = newobj.this
880 self.thisown = 1
881 del newobj.thisown
882 def GetRowOrCol(*args, **kwargs): return _grid.GridSizeEvent_GetRowOrCol(*args, **kwargs)
883 def GetPosition(*args, **kwargs): return _grid.GridSizeEvent_GetPosition(*args, **kwargs)
884 def ControlDown(*args, **kwargs): return _grid.GridSizeEvent_ControlDown(*args, **kwargs)
885 def MetaDown(*args, **kwargs): return _grid.GridSizeEvent_MetaDown(*args, **kwargs)
886 def ShiftDown(*args, **kwargs): return _grid.GridSizeEvent_ShiftDown(*args, **kwargs)
887 def AltDown(*args, **kwargs): return _grid.GridSizeEvent_AltDown(*args, **kwargs)
888 def __repr__(self):
889 return "<%s.%s; proxy of C++ wxGridSizeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
890
891 class GridSizeEventPtr(GridSizeEvent):
892 def __init__(self, this):
893 self.this = this
894 if not hasattr(self,"thisown"): self.thisown = 0
895 self.__class__ = GridSizeEvent
896 _grid.GridSizeEvent_swigregister(GridSizeEventPtr)
897
898 class GridRangeSelectEvent(core.NotifyEvent):
899 def __init__(self, *args, **kwargs):
900 newobj = _grid.new_GridRangeSelectEvent(*args, **kwargs)
901 self.this = newobj.this
902 self.thisown = 1
903 del newobj.thisown
904 def GetTopLeftCoords(*args, **kwargs): return _grid.GridRangeSelectEvent_GetTopLeftCoords(*args, **kwargs)
905 def GetBottomRightCoords(*args, **kwargs): return _grid.GridRangeSelectEvent_GetBottomRightCoords(*args, **kwargs)
906 def GetTopRow(*args, **kwargs): return _grid.GridRangeSelectEvent_GetTopRow(*args, **kwargs)
907 def GetBottomRow(*args, **kwargs): return _grid.GridRangeSelectEvent_GetBottomRow(*args, **kwargs)
908 def GetLeftCol(*args, **kwargs): return _grid.GridRangeSelectEvent_GetLeftCol(*args, **kwargs)
909 def GetRightCol(*args, **kwargs): return _grid.GridRangeSelectEvent_GetRightCol(*args, **kwargs)
910 def Selecting(*args, **kwargs): return _grid.GridRangeSelectEvent_Selecting(*args, **kwargs)
911 def ControlDown(*args, **kwargs): return _grid.GridRangeSelectEvent_ControlDown(*args, **kwargs)
912 def MetaDown(*args, **kwargs): return _grid.GridRangeSelectEvent_MetaDown(*args, **kwargs)
913 def ShiftDown(*args, **kwargs): return _grid.GridRangeSelectEvent_ShiftDown(*args, **kwargs)
914 def AltDown(*args, **kwargs): return _grid.GridRangeSelectEvent_AltDown(*args, **kwargs)
915 def __repr__(self):
916 return "<%s.%s; proxy of C++ wxGridRangeSelectEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
917
918 class GridRangeSelectEventPtr(GridRangeSelectEvent):
919 def __init__(self, this):
920 self.this = this
921 if not hasattr(self,"thisown"): self.thisown = 0
922 self.__class__ = GridRangeSelectEvent
923 _grid.GridRangeSelectEvent_swigregister(GridRangeSelectEventPtr)
924
925 class GridEditorCreatedEvent(core.CommandEvent):
926 def __init__(self, *args, **kwargs):
927 newobj = _grid.new_GridEditorCreatedEvent(*args, **kwargs)
928 self.this = newobj.this
929 self.thisown = 1
930 del newobj.thisown
931 def GetRow(*args, **kwargs): return _grid.GridEditorCreatedEvent_GetRow(*args, **kwargs)
932 def GetCol(*args, **kwargs): return _grid.GridEditorCreatedEvent_GetCol(*args, **kwargs)
933 def GetControl(*args, **kwargs): return _grid.GridEditorCreatedEvent_GetControl(*args, **kwargs)
934 def SetRow(*args, **kwargs): return _grid.GridEditorCreatedEvent_SetRow(*args, **kwargs)
935 def SetCol(*args, **kwargs): return _grid.GridEditorCreatedEvent_SetCol(*args, **kwargs)
936 def SetControl(*args, **kwargs): return _grid.GridEditorCreatedEvent_SetControl(*args, **kwargs)
937 def __repr__(self):
938 return "<%s.%s; proxy of C++ wxGridEditorCreatedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
939
940 class GridEditorCreatedEventPtr(GridEditorCreatedEvent):
941 def __init__(self, this):
942 self.this = this
943 if not hasattr(self,"thisown"): self.thisown = 0
944 self.__class__ = GridEditorCreatedEvent
945 _grid.GridEditorCreatedEvent_swigregister(GridEditorCreatedEventPtr)
946
947 wxEVT_GRID_CELL_LEFT_CLICK = _grid.wxEVT_GRID_CELL_LEFT_CLICK
948 wxEVT_GRID_CELL_RIGHT_CLICK = _grid.wxEVT_GRID_CELL_RIGHT_CLICK
949 wxEVT_GRID_CELL_LEFT_DCLICK = _grid.wxEVT_GRID_CELL_LEFT_DCLICK
950 wxEVT_GRID_CELL_RIGHT_DCLICK = _grid.wxEVT_GRID_CELL_RIGHT_DCLICK
951 wxEVT_GRID_LABEL_LEFT_CLICK = _grid.wxEVT_GRID_LABEL_LEFT_CLICK
952 wxEVT_GRID_LABEL_RIGHT_CLICK = _grid.wxEVT_GRID_LABEL_RIGHT_CLICK
953 wxEVT_GRID_LABEL_LEFT_DCLICK = _grid.wxEVT_GRID_LABEL_LEFT_DCLICK
954 wxEVT_GRID_LABEL_RIGHT_DCLICK = _grid.wxEVT_GRID_LABEL_RIGHT_DCLICK
955 wxEVT_GRID_ROW_SIZE = _grid.wxEVT_GRID_ROW_SIZE
956 wxEVT_GRID_COL_SIZE = _grid.wxEVT_GRID_COL_SIZE
957 wxEVT_GRID_RANGE_SELECT = _grid.wxEVT_GRID_RANGE_SELECT
958 wxEVT_GRID_CELL_CHANGE = _grid.wxEVT_GRID_CELL_CHANGE
959 wxEVT_GRID_SELECT_CELL = _grid.wxEVT_GRID_SELECT_CELL
960 wxEVT_GRID_EDITOR_SHOWN = _grid.wxEVT_GRID_EDITOR_SHOWN
961 wxEVT_GRID_EDITOR_HIDDEN = _grid.wxEVT_GRID_EDITOR_HIDDEN
962 wxEVT_GRID_EDITOR_CREATED = _grid.wxEVT_GRID_EDITOR_CREATED
963 EVT_GRID_CELL_LEFT_CLICK = wx.PyEventBinder( wxEVT_GRID_CELL_LEFT_CLICK )
964 EVT_GRID_CELL_RIGHT_CLICK = wx.PyEventBinder( wxEVT_GRID_CELL_RIGHT_CLICK )
965 EVT_GRID_CELL_LEFT_DCLICK = wx.PyEventBinder( wxEVT_GRID_CELL_LEFT_DCLICK )
966 EVT_GRID_CELL_RIGHT_DCLICK = wx.PyEventBinder( wxEVT_GRID_CELL_RIGHT_DCLICK )
967 EVT_GRID_LABEL_LEFT_CLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_LEFT_CLICK )
968 EVT_GRID_LABEL_RIGHT_CLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_RIGHT_CLICK )
969 EVT_GRID_LABEL_LEFT_DCLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_LEFT_DCLICK )
970 EVT_GRID_LABEL_RIGHT_DCLICK = wx.PyEventBinder( wxEVT_GRID_LABEL_RIGHT_DCLICK )
971 EVT_GRID_ROW_SIZE = wx.PyEventBinder( wxEVT_GRID_ROW_SIZE )
972 EVT_GRID_COL_SIZE = wx.PyEventBinder( wxEVT_GRID_COL_SIZE )
973 EVT_GRID_RANGE_SELECT = wx.PyEventBinder( wxEVT_GRID_RANGE_SELECT )
974 EVT_GRID_CELL_CHANGE = wx.PyEventBinder( wxEVT_GRID_CELL_CHANGE )
975 EVT_GRID_SELECT_CELL = wx.PyEventBinder( wxEVT_GRID_SELECT_CELL )
976 EVT_GRID_EDITOR_SHOWN = wx.PyEventBinder( wxEVT_GRID_EDITOR_SHOWN )
977 EVT_GRID_EDITOR_HIDDEN = wx.PyEventBinder( wxEVT_GRID_EDITOR_HIDDEN )
978 EVT_GRID_EDITOR_CREATED = wx.PyEventBinder( wxEVT_GRID_EDITOR_CREATED )
979
980