]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/grid.py
Minimal changes needed to build/run wxPython on the 2.5 branch after
[wxWidgets.git] / wxPython / src / gtk / grid.py
1 # This file was created automatically by SWIG.
2 import gridc
3
4 from misc import *
5
6 from gdi import *
7
8 from fonts import *
9
10 from windows import *
11
12 from clip_dnd import *
13
14 from controls import *
15
16 from events import *
17 import wx
18
19 def EVT_GRID_CELL_LEFT_CLICK(win, fn):
20 win.Connect(-1, -1, wxEVT_GRID_CELL_LEFT_CLICK, fn)
21
22 def EVT_GRID_CELL_RIGHT_CLICK(win, fn):
23 win.Connect(-1, -1, wxEVT_GRID_CELL_RIGHT_CLICK, fn)
24
25 def EVT_GRID_CELL_LEFT_DCLICK(win, fn):
26 win.Connect(-1, -1, wxEVT_GRID_CELL_LEFT_DCLICK, fn)
27
28 def EVT_GRID_CELL_RIGHT_DCLICK(win, fn):
29 win.Connect(-1, -1, wxEVT_GRID_CELL_RIGHT_DCLICK, fn)
30
31 def EVT_GRID_LABEL_LEFT_CLICK(win, fn):
32 win.Connect(-1, -1, wxEVT_GRID_LABEL_LEFT_CLICK, fn)
33
34 def EVT_GRID_LABEL_RIGHT_CLICK(win, fn):
35 win.Connect(-1, -1, wxEVT_GRID_LABEL_RIGHT_CLICK, fn)
36
37 def EVT_GRID_LABEL_LEFT_DCLICK(win, fn):
38 win.Connect(-1, -1, wxEVT_GRID_LABEL_LEFT_DCLICK, fn)
39
40 def EVT_GRID_LABEL_RIGHT_DCLICK(win, fn):
41 win.Connect(-1, -1, wxEVT_GRID_LABEL_RIGHT_DCLICK, fn)
42
43 def EVT_GRID_ROW_SIZE(win, fn):
44 win.Connect(-1, -1, wxEVT_GRID_ROW_SIZE, fn)
45
46 def EVT_GRID_COL_SIZE(win, fn):
47 win.Connect(-1, -1, wxEVT_GRID_COL_SIZE, fn)
48
49 def EVT_GRID_RANGE_SELECT(win, fn):
50 win.Connect(-1, -1, wxEVT_GRID_RANGE_SELECT, fn)
51
52 def EVT_GRID_CELL_CHANGE(win, fn):
53 win.Connect(-1, -1, wxEVT_GRID_CELL_CHANGE, fn)
54
55 def EVT_GRID_SELECT_CELL(win, fn):
56 win.Connect(-1, -1, wxEVT_GRID_SELECT_CELL, fn)
57
58 def EVT_GRID_EDITOR_SHOWN(win, fn):
59 win.Connect(-1, -1, wxEVT_GRID_EDITOR_SHOWN, fn)
60
61 def EVT_GRID_EDITOR_HIDDEN(win, fn):
62 win.Connect(-1, -1, wxEVT_GRID_EDITOR_HIDDEN, fn)
63
64 def EVT_GRID_EDITOR_CREATED(win, fn):
65 win.Connect(-1, -1, wxEVT_GRID_EDITOR_CREATED, fn)
66
67
68 class wxGridCellRendererPtr :
69 def __init__(self,this):
70 self.this = this
71 self.thisown = 0
72 def _setOORInfo(self, *_args, **_kwargs):
73 val = gridc.wxGridCellRenderer__setOORInfo(self, *_args, **_kwargs)
74 return val
75 def SetParameters(self, *_args, **_kwargs):
76 val = gridc.wxGridCellRenderer_SetParameters(self, *_args, **_kwargs)
77 return val
78 def IncRef(self, *_args, **_kwargs):
79 val = gridc.wxGridCellRenderer_IncRef(self, *_args, **_kwargs)
80 return val
81 def DecRef(self, *_args, **_kwargs):
82 val = gridc.wxGridCellRenderer_DecRef(self, *_args, **_kwargs)
83 return val
84 def Draw(self, *_args, **_kwargs):
85 val = gridc.wxGridCellRenderer_Draw(self, *_args, **_kwargs)
86 return val
87 def GetBestSize(self, *_args, **_kwargs):
88 val = gridc.wxGridCellRenderer_GetBestSize(self, *_args, **_kwargs)
89 if val: val = wxSizePtr(val) ; val.thisown = 1
90 return val
91 def Clone(self, *_args, **_kwargs):
92 val = gridc.wxGridCellRenderer_Clone(self, *_args, **_kwargs)
93 return val
94 def __repr__(self):
95 return "<%s.%s instance; proxy of C++ wxGridCellRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
96 class wxGridCellRenderer(wxGridCellRendererPtr):
97 def __init__(self,this):
98 self.this = this
99
100
101
102
103 class wxPyGridCellRendererPtr(wxGridCellRendererPtr):
104 def __init__(self,this):
105 self.this = this
106 self.thisown = 0
107 def _setCallbackInfo(self, *_args, **_kwargs):
108 val = gridc.wxPyGridCellRenderer__setCallbackInfo(self, *_args, **_kwargs)
109 return val
110 def base_SetParameters(self, *_args, **_kwargs):
111 val = gridc.wxPyGridCellRenderer_base_SetParameters(self, *_args, **_kwargs)
112 return val
113 def __repr__(self):
114 return "<%s.%s instance; proxy of C++ wxPyGridCellRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
115 class wxPyGridCellRenderer(wxPyGridCellRendererPtr):
116 def __init__(self,*_args,**_kwargs):
117 self.this = gridc.new_wxPyGridCellRenderer(*_args,**_kwargs)
118 self.thisown = 1
119 self._setCallbackInfo(self, wxPyGridCellRenderer)
120 self._setOORInfo(self)
121
122
123
124
125 class wxGridCellStringRendererPtr(wxGridCellRendererPtr):
126 def __init__(self,this):
127 self.this = this
128 self.thisown = 0
129 def __repr__(self):
130 return "<%s.%s instance; proxy of C++ wxGridCellStringRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
131 class wxGridCellStringRenderer(wxGridCellStringRendererPtr):
132 def __init__(self,*_args,**_kwargs):
133 self.this = gridc.new_wxGridCellStringRenderer(*_args,**_kwargs)
134 self.thisown = 1
135 self._setOORInfo(self)
136
137
138
139
140 class wxGridCellNumberRendererPtr(wxGridCellStringRendererPtr):
141 def __init__(self,this):
142 self.this = this
143 self.thisown = 0
144 def __repr__(self):
145 return "<%s.%s instance; proxy of C++ wxGridCellNumberRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
146 class wxGridCellNumberRenderer(wxGridCellNumberRendererPtr):
147 def __init__(self,*_args,**_kwargs):
148 self.this = gridc.new_wxGridCellNumberRenderer(*_args,**_kwargs)
149 self.thisown = 1
150 self._setOORInfo(self)
151
152
153
154
155 class wxGridCellFloatRendererPtr(wxGridCellStringRendererPtr):
156 def __init__(self,this):
157 self.this = this
158 self.thisown = 0
159 def GetWidth(self, *_args, **_kwargs):
160 val = gridc.wxGridCellFloatRenderer_GetWidth(self, *_args, **_kwargs)
161 return val
162 def SetWidth(self, *_args, **_kwargs):
163 val = gridc.wxGridCellFloatRenderer_SetWidth(self, *_args, **_kwargs)
164 return val
165 def GetPrecision(self, *_args, **_kwargs):
166 val = gridc.wxGridCellFloatRenderer_GetPrecision(self, *_args, **_kwargs)
167 return val
168 def SetPrecision(self, *_args, **_kwargs):
169 val = gridc.wxGridCellFloatRenderer_SetPrecision(self, *_args, **_kwargs)
170 return val
171 def __repr__(self):
172 return "<%s.%s instance; proxy of C++ wxGridCellFloatRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
173 class wxGridCellFloatRenderer(wxGridCellFloatRendererPtr):
174 def __init__(self,*_args,**_kwargs):
175 self.this = gridc.new_wxGridCellFloatRenderer(*_args,**_kwargs)
176 self.thisown = 1
177 self._setOORInfo(self)
178
179
180
181
182 class wxGridCellBoolRendererPtr(wxGridCellRendererPtr):
183 def __init__(self,this):
184 self.this = this
185 self.thisown = 0
186 def __repr__(self):
187 return "<%s.%s instance; proxy of C++ wxGridCellBoolRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
188 class wxGridCellBoolRenderer(wxGridCellBoolRendererPtr):
189 def __init__(self,*_args,**_kwargs):
190 self.this = gridc.new_wxGridCellBoolRenderer(*_args,**_kwargs)
191 self.thisown = 1
192 self._setOORInfo(self)
193
194
195
196
197 class wxGridCellDateTimeRendererPtr(wxGridCellStringRendererPtr):
198 def __init__(self,this):
199 self.this = this
200 self.thisown = 0
201 def __repr__(self):
202 return "<%s.%s instance; proxy of C++ wxGridCellDateTimeRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
203 class wxGridCellDateTimeRenderer(wxGridCellDateTimeRendererPtr):
204 def __init__(self,*_args,**_kwargs):
205 self.this = gridc.new_wxGridCellDateTimeRenderer(*_args,**_kwargs)
206 self.thisown = 1
207 self._setOORInfo(self)
208
209
210
211
212 class wxGridCellEnumRendererPtr(wxGridCellStringRendererPtr):
213 def __init__(self,this):
214 self.this = this
215 self.thisown = 0
216 def __repr__(self):
217 return "<%s.%s instance; proxy of C++ wxGridCellEnumRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
218 class wxGridCellEnumRenderer(wxGridCellEnumRendererPtr):
219 def __init__(self,*_args,**_kwargs):
220 self.this = gridc.new_wxGridCellEnumRenderer(*_args,**_kwargs)
221 self.thisown = 1
222 self._setOORInfo(self)
223
224
225
226
227 class wxGridCellAutoWrapStringRendererPtr(wxGridCellStringRendererPtr):
228 def __init__(self,this):
229 self.this = this
230 self.thisown = 0
231 def __repr__(self):
232 return "<%s.%s instance; proxy of C++ wxGridCellAutoWrapStringRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
233 class wxGridCellAutoWrapStringRenderer(wxGridCellAutoWrapStringRendererPtr):
234 def __init__(self,*_args,**_kwargs):
235 self.this = gridc.new_wxGridCellAutoWrapStringRenderer(*_args,**_kwargs)
236 self.thisown = 1
237 self._setOORInfo(self)
238
239
240
241
242 class wxGridCellEditorPtr :
243 def __init__(self,this):
244 self.this = this
245 self.thisown = 0
246 def _setOORInfo(self, *_args, **_kwargs):
247 val = gridc.wxGridCellEditor__setOORInfo(self, *_args, **_kwargs)
248 return val
249 def IsCreated(self, *_args, **_kwargs):
250 val = gridc.wxGridCellEditor_IsCreated(self, *_args, **_kwargs)
251 return val
252 def GetControl(self, *_args, **_kwargs):
253 val = gridc.wxGridCellEditor_GetControl(self, *_args, **_kwargs)
254 return val
255 def SetControl(self, *_args, **_kwargs):
256 val = gridc.wxGridCellEditor_SetControl(self, *_args, **_kwargs)
257 return val
258 def GetCellAttr(self, *_args, **_kwargs):
259 val = gridc.wxGridCellEditor_GetCellAttr(self, *_args, **_kwargs)
260 return val
261 def SetCellAttr(self, *_args, **_kwargs):
262 val = gridc.wxGridCellEditor_SetCellAttr(self, *_args, **_kwargs)
263 return val
264 def SetParameters(self, *_args, **_kwargs):
265 val = gridc.wxGridCellEditor_SetParameters(self, *_args, **_kwargs)
266 return val
267 def IncRef(self, *_args, **_kwargs):
268 val = gridc.wxGridCellEditor_IncRef(self, *_args, **_kwargs)
269 return val
270 def DecRef(self, *_args, **_kwargs):
271 val = gridc.wxGridCellEditor_DecRef(self, *_args, **_kwargs)
272 return val
273 def Create(self, *_args, **_kwargs):
274 val = gridc.wxGridCellEditor_Create(self, *_args, **_kwargs)
275 return val
276 def BeginEdit(self, *_args, **_kwargs):
277 val = gridc.wxGridCellEditor_BeginEdit(self, *_args, **_kwargs)
278 return val
279 def EndEdit(self, *_args, **_kwargs):
280 val = gridc.wxGridCellEditor_EndEdit(self, *_args, **_kwargs)
281 return val
282 def Reset(self, *_args, **_kwargs):
283 val = gridc.wxGridCellEditor_Reset(self, *_args, **_kwargs)
284 return val
285 def Clone(self, *_args, **_kwargs):
286 val = gridc.wxGridCellEditor_Clone(self, *_args, **_kwargs)
287 return val
288 def SetSize(self, *_args, **_kwargs):
289 val = gridc.wxGridCellEditor_SetSize(self, *_args, **_kwargs)
290 return val
291 def Show(self, *_args, **_kwargs):
292 val = gridc.wxGridCellEditor_Show(self, *_args, **_kwargs)
293 return val
294 def PaintBackground(self, *_args, **_kwargs):
295 val = gridc.wxGridCellEditor_PaintBackground(self, *_args, **_kwargs)
296 return val
297 def IsAcceptedKey(self, *_args, **_kwargs):
298 val = gridc.wxGridCellEditor_IsAcceptedKey(self, *_args, **_kwargs)
299 return val
300 def StartingKey(self, *_args, **_kwargs):
301 val = gridc.wxGridCellEditor_StartingKey(self, *_args, **_kwargs)
302 return val
303 def StartingClick(self, *_args, **_kwargs):
304 val = gridc.wxGridCellEditor_StartingClick(self, *_args, **_kwargs)
305 return val
306 def HandleReturn(self, *_args, **_kwargs):
307 val = gridc.wxGridCellEditor_HandleReturn(self, *_args, **_kwargs)
308 return val
309 def Destroy(self, *_args, **_kwargs):
310 val = gridc.wxGridCellEditor_Destroy(self, *_args, **_kwargs)
311 return val
312 def __repr__(self):
313 return "<%s.%s instance; proxy of C++ wxGridCellEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
314 class wxGridCellEditor(wxGridCellEditorPtr):
315 def __init__(self,this):
316 self.this = this
317
318
319
320
321 class wxPyGridCellEditorPtr(wxGridCellEditorPtr):
322 def __init__(self,this):
323 self.this = this
324 self.thisown = 0
325 def _setCallbackInfo(self, *_args, **_kwargs):
326 val = gridc.wxPyGridCellEditor__setCallbackInfo(self, *_args, **_kwargs)
327 return val
328 def base_SetSize(self, *_args, **_kwargs):
329 val = gridc.wxPyGridCellEditor_base_SetSize(self, *_args, **_kwargs)
330 return val
331 def base_Show(self, *_args, **_kwargs):
332 val = gridc.wxPyGridCellEditor_base_Show(self, *_args, **_kwargs)
333 return val
334 def base_PaintBackground(self, *_args, **_kwargs):
335 val = gridc.wxPyGridCellEditor_base_PaintBackground(self, *_args, **_kwargs)
336 return val
337 def base_IsAcceptedKey(self, *_args, **_kwargs):
338 val = gridc.wxPyGridCellEditor_base_IsAcceptedKey(self, *_args, **_kwargs)
339 return val
340 def base_StartingKey(self, *_args, **_kwargs):
341 val = gridc.wxPyGridCellEditor_base_StartingKey(self, *_args, **_kwargs)
342 return val
343 def base_StartingClick(self, *_args, **_kwargs):
344 val = gridc.wxPyGridCellEditor_base_StartingClick(self, *_args, **_kwargs)
345 return val
346 def base_HandleReturn(self, *_args, **_kwargs):
347 val = gridc.wxPyGridCellEditor_base_HandleReturn(self, *_args, **_kwargs)
348 return val
349 def base_Destroy(self, *_args, **_kwargs):
350 val = gridc.wxPyGridCellEditor_base_Destroy(self, *_args, **_kwargs)
351 return val
352 def base_SetParameters(self, *_args, **_kwargs):
353 val = gridc.wxPyGridCellEditor_base_SetParameters(self, *_args, **_kwargs)
354 return val
355 def __repr__(self):
356 return "<%s.%s instance; proxy of C++ wxPyGridCellEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
357 class wxPyGridCellEditor(wxPyGridCellEditorPtr):
358 def __init__(self,*_args,**_kwargs):
359 self.this = gridc.new_wxPyGridCellEditor(*_args,**_kwargs)
360 self.thisown = 1
361 self._setCallbackInfo(self, wxPyGridCellEditor)
362 self._setOORInfo(self)
363
364
365
366
367 class wxGridCellTextEditorPtr(wxGridCellEditorPtr):
368 def __init__(self,this):
369 self.this = this
370 self.thisown = 0
371 def GetValue(self, *_args, **_kwargs):
372 val = gridc.wxGridCellTextEditor_GetValue(self, *_args, **_kwargs)
373 return val
374 def __repr__(self):
375 return "<%s.%s instance; proxy of C++ wxGridCellTextEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
376 class wxGridCellTextEditor(wxGridCellTextEditorPtr):
377 def __init__(self,*_args,**_kwargs):
378 self.this = gridc.new_wxGridCellTextEditor(*_args,**_kwargs)
379 self.thisown = 1
380 self._setOORInfo(self)
381
382
383
384
385 class wxGridCellNumberEditorPtr(wxGridCellTextEditorPtr):
386 def __init__(self,this):
387 self.this = this
388 self.thisown = 0
389 def GetValue(self, *_args, **_kwargs):
390 val = gridc.wxGridCellNumberEditor_GetValue(self, *_args, **_kwargs)
391 return val
392 def __repr__(self):
393 return "<%s.%s instance; proxy of C++ wxGridCellNumberEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
394 class wxGridCellNumberEditor(wxGridCellNumberEditorPtr):
395 def __init__(self,*_args,**_kwargs):
396 self.this = gridc.new_wxGridCellNumberEditor(*_args,**_kwargs)
397 self.thisown = 1
398 self._setOORInfo(self)
399
400
401
402
403 class wxGridCellFloatEditorPtr(wxGridCellTextEditorPtr):
404 def __init__(self,this):
405 self.this = this
406 self.thisown = 0
407 def GetValue(self, *_args, **_kwargs):
408 val = gridc.wxGridCellFloatEditor_GetValue(self, *_args, **_kwargs)
409 return val
410 def __repr__(self):
411 return "<%s.%s instance; proxy of C++ wxGridCellFloatEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
412 class wxGridCellFloatEditor(wxGridCellFloatEditorPtr):
413 def __init__(self,*_args,**_kwargs):
414 self.this = gridc.new_wxGridCellFloatEditor(*_args,**_kwargs)
415 self.thisown = 1
416 self._setOORInfo(self)
417
418
419
420
421 class wxGridCellBoolEditorPtr(wxGridCellEditorPtr):
422 def __init__(self,this):
423 self.this = this
424 self.thisown = 0
425 def GetValue(self, *_args, **_kwargs):
426 val = gridc.wxGridCellBoolEditor_GetValue(self, *_args, **_kwargs)
427 return val
428 def __repr__(self):
429 return "<%s.%s instance; proxy of C++ wxGridCellBoolEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
430 class wxGridCellBoolEditor(wxGridCellBoolEditorPtr):
431 def __init__(self,*_args,**_kwargs):
432 self.this = gridc.new_wxGridCellBoolEditor(*_args,**_kwargs)
433 self.thisown = 1
434 self._setOORInfo(self)
435
436
437
438
439 class wxGridCellChoiceEditorPtr(wxGridCellEditorPtr):
440 def __init__(self,this):
441 self.this = this
442 self.thisown = 0
443 def GetValue(self, *_args, **_kwargs):
444 val = gridc.wxGridCellChoiceEditor_GetValue(self, *_args, **_kwargs)
445 return val
446 def __repr__(self):
447 return "<%s.%s instance; proxy of C++ wxGridCellChoiceEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
448 class wxGridCellChoiceEditor(wxGridCellChoiceEditorPtr):
449 def __init__(self,*_args,**_kwargs):
450 self.this = gridc.new_wxGridCellChoiceEditor(*_args,**_kwargs)
451 self.thisown = 1
452 self._setOORInfo(self)
453
454
455
456
457 class wxGridCellEnumEditorPtr(wxGridCellChoiceEditorPtr):
458 def __init__(self,this):
459 self.this = this
460 self.thisown = 0
461 def GetValue(self, *_args, **_kwargs):
462 val = gridc.wxGridCellEnumEditor_GetValue(self, *_args, **_kwargs)
463 return val
464 def __repr__(self):
465 return "<%s.%s instance; proxy of C++ wxGridCellEnumEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
466 class wxGridCellEnumEditor(wxGridCellEnumEditorPtr):
467 def __init__(self,*_args,**_kwargs):
468 self.this = gridc.new_wxGridCellEnumEditor(*_args,**_kwargs)
469 self.thisown = 1
470 self._setOORInfo(self)
471
472
473
474
475 class wxGridCellAutoWrapStringEditorPtr(wxGridCellTextEditorPtr):
476 def __init__(self,this):
477 self.this = this
478 self.thisown = 0
479 def GetValue(self, *_args, **_kwargs):
480 val = gridc.wxGridCellAutoWrapStringEditor_GetValue(self, *_args, **_kwargs)
481 return val
482 def __repr__(self):
483 return "<%s.%s instance; proxy of C++ wxGridCellAutoWrapStringEditor instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
484 class wxGridCellAutoWrapStringEditor(wxGridCellAutoWrapStringEditorPtr):
485 def __init__(self,*_args,**_kwargs):
486 self.this = gridc.new_wxGridCellAutoWrapStringEditor(*_args,**_kwargs)
487 self.thisown = 1
488 self._setOORInfo(self)
489
490
491
492
493 class wxGridCellAttrPtr :
494 Any = gridc.wxGridCellAttr_Any
495 Default = gridc.wxGridCellAttr_Default
496 Cell = gridc.wxGridCellAttr_Cell
497 Row = gridc.wxGridCellAttr_Row
498 Col = gridc.wxGridCellAttr_Col
499 Merged = gridc.wxGridCellAttr_Merged
500 def __init__(self,this):
501 self.this = this
502 self.thisown = 0
503 def _setOORInfo(self, *_args, **_kwargs):
504 val = gridc.wxGridCellAttr__setOORInfo(self, *_args, **_kwargs)
505 return val
506 def Clone(self, *_args, **_kwargs):
507 val = gridc.wxGridCellAttr_Clone(self, *_args, **_kwargs)
508 return val
509 def MergeWith(self, *_args, **_kwargs):
510 val = gridc.wxGridCellAttr_MergeWith(self, *_args, **_kwargs)
511 return val
512 def IncRef(self, *_args, **_kwargs):
513 val = gridc.wxGridCellAttr_IncRef(self, *_args, **_kwargs)
514 return val
515 def DecRef(self, *_args, **_kwargs):
516 val = gridc.wxGridCellAttr_DecRef(self, *_args, **_kwargs)
517 return val
518 def SetTextColour(self, *_args, **_kwargs):
519 val = gridc.wxGridCellAttr_SetTextColour(self, *_args, **_kwargs)
520 return val
521 def SetBackgroundColour(self, *_args, **_kwargs):
522 val = gridc.wxGridCellAttr_SetBackgroundColour(self, *_args, **_kwargs)
523 return val
524 def SetFont(self, *_args, **_kwargs):
525 val = gridc.wxGridCellAttr_SetFont(self, *_args, **_kwargs)
526 return val
527 def SetAlignment(self, *_args, **_kwargs):
528 val = gridc.wxGridCellAttr_SetAlignment(self, *_args, **_kwargs)
529 return val
530 def SetSize(self, *_args, **_kwargs):
531 val = gridc.wxGridCellAttr_SetSize(self, *_args, **_kwargs)
532 return val
533 def SetOverflow(self, *_args, **_kwargs):
534 val = gridc.wxGridCellAttr_SetOverflow(self, *_args, **_kwargs)
535 return val
536 def SetReadOnly(self, *_args, **_kwargs):
537 val = gridc.wxGridCellAttr_SetReadOnly(self, *_args, **_kwargs)
538 return val
539 def SetRenderer(self, *_args, **_kwargs):
540 val = gridc.wxGridCellAttr_SetRenderer(self, *_args, **_kwargs)
541 return val
542 def SetEditor(self, *_args, **_kwargs):
543 val = gridc.wxGridCellAttr_SetEditor(self, *_args, **_kwargs)
544 return val
545 def SetKind(self, *_args, **_kwargs):
546 val = gridc.wxGridCellAttr_SetKind(self, *_args, **_kwargs)
547 return val
548 def HasTextColour(self, *_args, **_kwargs):
549 val = gridc.wxGridCellAttr_HasTextColour(self, *_args, **_kwargs)
550 return val
551 def HasBackgroundColour(self, *_args, **_kwargs):
552 val = gridc.wxGridCellAttr_HasBackgroundColour(self, *_args, **_kwargs)
553 return val
554 def HasFont(self, *_args, **_kwargs):
555 val = gridc.wxGridCellAttr_HasFont(self, *_args, **_kwargs)
556 return val
557 def HasAlignment(self, *_args, **_kwargs):
558 val = gridc.wxGridCellAttr_HasAlignment(self, *_args, **_kwargs)
559 return val
560 def HasRenderer(self, *_args, **_kwargs):
561 val = gridc.wxGridCellAttr_HasRenderer(self, *_args, **_kwargs)
562 return val
563 def HasEditor(self, *_args, **_kwargs):
564 val = gridc.wxGridCellAttr_HasEditor(self, *_args, **_kwargs)
565 return val
566 def HasReadWriteMode(self, *_args, **_kwargs):
567 val = gridc.wxGridCellAttr_HasReadWriteMode(self, *_args, **_kwargs)
568 return val
569 def GetTextColour(self, *_args, **_kwargs):
570 val = gridc.wxGridCellAttr_GetTextColour(self, *_args, **_kwargs)
571 if val: val = wxColourPtr(val) ; val.thisown = 1
572 return val
573 def GetBackgroundColour(self, *_args, **_kwargs):
574 val = gridc.wxGridCellAttr_GetBackgroundColour(self, *_args, **_kwargs)
575 if val: val = wxColourPtr(val) ; val.thisown = 1
576 return val
577 def GetFont(self, *_args, **_kwargs):
578 val = gridc.wxGridCellAttr_GetFont(self, *_args, **_kwargs)
579 if val: val = wxFontPtr(val) ; val.thisown = 1
580 return val
581 def GetAlignment(self, *_args, **_kwargs):
582 val = gridc.wxGridCellAttr_GetAlignment(self, *_args, **_kwargs)
583 return val
584 def GetSize(self, *_args, **_kwargs):
585 val = gridc.wxGridCellAttr_GetSize(self, *_args, **_kwargs)
586 return val
587 def GetOverflow(self, *_args, **_kwargs):
588 val = gridc.wxGridCellAttr_GetOverflow(self, *_args, **_kwargs)
589 return val
590 def GetRenderer(self, *_args, **_kwargs):
591 val = gridc.wxGridCellAttr_GetRenderer(self, *_args, **_kwargs)
592 return val
593 def GetEditor(self, *_args, **_kwargs):
594 val = gridc.wxGridCellAttr_GetEditor(self, *_args, **_kwargs)
595 return val
596 def IsReadOnly(self, *_args, **_kwargs):
597 val = gridc.wxGridCellAttr_IsReadOnly(self, *_args, **_kwargs)
598 return val
599 def SetDefAttr(self, *_args, **_kwargs):
600 val = gridc.wxGridCellAttr_SetDefAttr(self, *_args, **_kwargs)
601 return val
602 def __repr__(self):
603 return "<%s.%s instance; proxy of C++ wxGridCellAttr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
604 class wxGridCellAttr(wxGridCellAttrPtr):
605 def __init__(self,*_args,**_kwargs):
606 self.this = gridc.new_wxGridCellAttr(*_args,**_kwargs)
607 self.thisown = 1
608 self._setOORInfo(self)
609
610
611
612
613 class wxGridCellAttrProviderPtr :
614 def __init__(self,this):
615 self.this = this
616 self.thisown = 0
617 def _setOORInfo(self, *_args, **_kwargs):
618 val = gridc.wxGridCellAttrProvider__setOORInfo(self, *_args, **_kwargs)
619 return val
620 def GetAttr(self, *_args, **_kwargs):
621 val = gridc.wxGridCellAttrProvider_GetAttr(self, *_args, **_kwargs)
622 return val
623 def SetAttr(self, *_args, **_kwargs):
624 val = gridc.wxGridCellAttrProvider_SetAttr(self, *_args, **_kwargs)
625 return val
626 def SetRowAttr(self, *_args, **_kwargs):
627 val = gridc.wxGridCellAttrProvider_SetRowAttr(self, *_args, **_kwargs)
628 return val
629 def SetColAttr(self, *_args, **_kwargs):
630 val = gridc.wxGridCellAttrProvider_SetColAttr(self, *_args, **_kwargs)
631 return val
632 def UpdateAttrRows(self, *_args, **_kwargs):
633 val = gridc.wxGridCellAttrProvider_UpdateAttrRows(self, *_args, **_kwargs)
634 return val
635 def UpdateAttrCols(self, *_args, **_kwargs):
636 val = gridc.wxGridCellAttrProvider_UpdateAttrCols(self, *_args, **_kwargs)
637 return val
638 def __repr__(self):
639 return "<%s.%s instance; proxy of C++ wxGridCellAttrProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
640 class wxGridCellAttrProvider(wxGridCellAttrProviderPtr):
641 def __init__(self,*_args,**_kwargs):
642 self.this = gridc.new_wxGridCellAttrProvider(*_args,**_kwargs)
643 self.thisown = 1
644 self._setOORInfo(self)
645
646
647
648
649 class wxPyGridCellAttrProviderPtr(wxGridCellAttrProviderPtr):
650 def __init__(self,this):
651 self.this = this
652 self.thisown = 0
653 def _setCallbackInfo(self, *_args, **_kwargs):
654 val = gridc.wxPyGridCellAttrProvider__setCallbackInfo(self, *_args, **_kwargs)
655 return val
656 def base_GetAttr(self, *_args, **_kwargs):
657 val = gridc.wxPyGridCellAttrProvider_base_GetAttr(self, *_args, **_kwargs)
658 return val
659 def base_SetAttr(self, *_args, **_kwargs):
660 val = gridc.wxPyGridCellAttrProvider_base_SetAttr(self, *_args, **_kwargs)
661 return val
662 def base_SetRowAttr(self, *_args, **_kwargs):
663 val = gridc.wxPyGridCellAttrProvider_base_SetRowAttr(self, *_args, **_kwargs)
664 return val
665 def base_SetColAttr(self, *_args, **_kwargs):
666 val = gridc.wxPyGridCellAttrProvider_base_SetColAttr(self, *_args, **_kwargs)
667 return val
668 def __repr__(self):
669 return "<%s.%s instance; proxy of C++ wxPyGridCellAttrProvider instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
670 class wxPyGridCellAttrProvider(wxPyGridCellAttrProviderPtr):
671 def __init__(self,*_args,**_kwargs):
672 self.this = gridc.new_wxPyGridCellAttrProvider(*_args,**_kwargs)
673 self.thisown = 1
674 self._setCallbackInfo(self, wxPyGridCellAttrProvider)
675
676
677
678
679 class wxGridTableBasePtr(wxObjectPtr):
680 def __init__(self,this):
681 self.this = this
682 self.thisown = 0
683 def _setOORInfo(self, *_args, **_kwargs):
684 val = gridc.wxGridTableBase__setOORInfo(self, *_args, **_kwargs)
685 return val
686 def SetAttrProvider(self, *_args, **_kwargs):
687 val = gridc.wxGridTableBase_SetAttrProvider(self, *_args, **_kwargs)
688 return val
689 def GetAttrProvider(self, *_args, **_kwargs):
690 val = gridc.wxGridTableBase_GetAttrProvider(self, *_args, **_kwargs)
691 return val
692 def SetView(self, *_args, **_kwargs):
693 val = gridc.wxGridTableBase_SetView(self, *_args, **_kwargs)
694 return val
695 def GetView(self, *_args, **_kwargs):
696 val = gridc.wxGridTableBase_GetView(self, *_args, **_kwargs)
697 return val
698 def GetNumberRows(self, *_args, **_kwargs):
699 val = gridc.wxGridTableBase_GetNumberRows(self, *_args, **_kwargs)
700 return val
701 def GetNumberCols(self, *_args, **_kwargs):
702 val = gridc.wxGridTableBase_GetNumberCols(self, *_args, **_kwargs)
703 return val
704 def IsEmptyCell(self, *_args, **_kwargs):
705 val = gridc.wxGridTableBase_IsEmptyCell(self, *_args, **_kwargs)
706 return val
707 def GetValue(self, *_args, **_kwargs):
708 val = gridc.wxGridTableBase_GetValue(self, *_args, **_kwargs)
709 return val
710 def SetValue(self, *_args, **_kwargs):
711 val = gridc.wxGridTableBase_SetValue(self, *_args, **_kwargs)
712 return val
713 def GetTypeName(self, *_args, **_kwargs):
714 val = gridc.wxGridTableBase_GetTypeName(self, *_args, **_kwargs)
715 return val
716 def CanGetValueAs(self, *_args, **_kwargs):
717 val = gridc.wxGridTableBase_CanGetValueAs(self, *_args, **_kwargs)
718 return val
719 def CanSetValueAs(self, *_args, **_kwargs):
720 val = gridc.wxGridTableBase_CanSetValueAs(self, *_args, **_kwargs)
721 return val
722 def GetValueAsLong(self, *_args, **_kwargs):
723 val = gridc.wxGridTableBase_GetValueAsLong(self, *_args, **_kwargs)
724 return val
725 def GetValueAsDouble(self, *_args, **_kwargs):
726 val = gridc.wxGridTableBase_GetValueAsDouble(self, *_args, **_kwargs)
727 return val
728 def GetValueAsBool(self, *_args, **_kwargs):
729 val = gridc.wxGridTableBase_GetValueAsBool(self, *_args, **_kwargs)
730 return val
731 def SetValueAsLong(self, *_args, **_kwargs):
732 val = gridc.wxGridTableBase_SetValueAsLong(self, *_args, **_kwargs)
733 return val
734 def SetValueAsDouble(self, *_args, **_kwargs):
735 val = gridc.wxGridTableBase_SetValueAsDouble(self, *_args, **_kwargs)
736 return val
737 def SetValueAsBool(self, *_args, **_kwargs):
738 val = gridc.wxGridTableBase_SetValueAsBool(self, *_args, **_kwargs)
739 return val
740 def Clear(self, *_args, **_kwargs):
741 val = gridc.wxGridTableBase_Clear(self, *_args, **_kwargs)
742 return val
743 def InsertRows(self, *_args, **_kwargs):
744 val = gridc.wxGridTableBase_InsertRows(self, *_args, **_kwargs)
745 return val
746 def AppendRows(self, *_args, **_kwargs):
747 val = gridc.wxGridTableBase_AppendRows(self, *_args, **_kwargs)
748 return val
749 def DeleteRows(self, *_args, **_kwargs):
750 val = gridc.wxGridTableBase_DeleteRows(self, *_args, **_kwargs)
751 return val
752 def InsertCols(self, *_args, **_kwargs):
753 val = gridc.wxGridTableBase_InsertCols(self, *_args, **_kwargs)
754 return val
755 def AppendCols(self, *_args, **_kwargs):
756 val = gridc.wxGridTableBase_AppendCols(self, *_args, **_kwargs)
757 return val
758 def DeleteCols(self, *_args, **_kwargs):
759 val = gridc.wxGridTableBase_DeleteCols(self, *_args, **_kwargs)
760 return val
761 def GetRowLabelValue(self, *_args, **_kwargs):
762 val = gridc.wxGridTableBase_GetRowLabelValue(self, *_args, **_kwargs)
763 return val
764 def GetColLabelValue(self, *_args, **_kwargs):
765 val = gridc.wxGridTableBase_GetColLabelValue(self, *_args, **_kwargs)
766 return val
767 def SetRowLabelValue(self, *_args, **_kwargs):
768 val = gridc.wxGridTableBase_SetRowLabelValue(self, *_args, **_kwargs)
769 return val
770 def SetColLabelValue(self, *_args, **_kwargs):
771 val = gridc.wxGridTableBase_SetColLabelValue(self, *_args, **_kwargs)
772 return val
773 def CanHaveAttributes(self, *_args, **_kwargs):
774 val = gridc.wxGridTableBase_CanHaveAttributes(self, *_args, **_kwargs)
775 return val
776 def GetAttr(self, *_args, **_kwargs):
777 val = gridc.wxGridTableBase_GetAttr(self, *_args, **_kwargs)
778 return val
779 def SetAttr(self, *_args, **_kwargs):
780 val = gridc.wxGridTableBase_SetAttr(self, *_args, **_kwargs)
781 return val
782 def SetRowAttr(self, *_args, **_kwargs):
783 val = gridc.wxGridTableBase_SetRowAttr(self, *_args, **_kwargs)
784 return val
785 def SetColAttr(self, *_args, **_kwargs):
786 val = gridc.wxGridTableBase_SetColAttr(self, *_args, **_kwargs)
787 return val
788 def __repr__(self):
789 return "<%s.%s instance; proxy of C++ wxGridTableBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
790 class wxGridTableBase(wxGridTableBasePtr):
791 def __init__(self,this):
792 self.this = this
793
794
795
796
797 class wxPyGridTableBasePtr(wxGridTableBasePtr):
798 def __init__(self,this):
799 self.this = this
800 self.thisown = 0
801 def _setCallbackInfo(self, *_args, **_kwargs):
802 val = gridc.wxPyGridTableBase__setCallbackInfo(self, *_args, **_kwargs)
803 return val
804 def Destroy(self, *_args, **_kwargs):
805 val = gridc.wxPyGridTableBase_Destroy(self, *_args, **_kwargs)
806 return val
807 def base_GetTypeName(self, *_args, **_kwargs):
808 val = gridc.wxPyGridTableBase_base_GetTypeName(self, *_args, **_kwargs)
809 return val
810 def base_CanGetValueAs(self, *_args, **_kwargs):
811 val = gridc.wxPyGridTableBase_base_CanGetValueAs(self, *_args, **_kwargs)
812 return val
813 def base_CanSetValueAs(self, *_args, **_kwargs):
814 val = gridc.wxPyGridTableBase_base_CanSetValueAs(self, *_args, **_kwargs)
815 return val
816 def base_Clear(self, *_args, **_kwargs):
817 val = gridc.wxPyGridTableBase_base_Clear(self, *_args, **_kwargs)
818 return val
819 def base_InsertRows(self, *_args, **_kwargs):
820 val = gridc.wxPyGridTableBase_base_InsertRows(self, *_args, **_kwargs)
821 return val
822 def base_AppendRows(self, *_args, **_kwargs):
823 val = gridc.wxPyGridTableBase_base_AppendRows(self, *_args, **_kwargs)
824 return val
825 def base_DeleteRows(self, *_args, **_kwargs):
826 val = gridc.wxPyGridTableBase_base_DeleteRows(self, *_args, **_kwargs)
827 return val
828 def base_InsertCols(self, *_args, **_kwargs):
829 val = gridc.wxPyGridTableBase_base_InsertCols(self, *_args, **_kwargs)
830 return val
831 def base_AppendCols(self, *_args, **_kwargs):
832 val = gridc.wxPyGridTableBase_base_AppendCols(self, *_args, **_kwargs)
833 return val
834 def base_DeleteCols(self, *_args, **_kwargs):
835 val = gridc.wxPyGridTableBase_base_DeleteCols(self, *_args, **_kwargs)
836 return val
837 def base_GetRowLabelValue(self, *_args, **_kwargs):
838 val = gridc.wxPyGridTableBase_base_GetRowLabelValue(self, *_args, **_kwargs)
839 return val
840 def base_GetColLabelValue(self, *_args, **_kwargs):
841 val = gridc.wxPyGridTableBase_base_GetColLabelValue(self, *_args, **_kwargs)
842 return val
843 def base_SetRowLabelValue(self, *_args, **_kwargs):
844 val = gridc.wxPyGridTableBase_base_SetRowLabelValue(self, *_args, **_kwargs)
845 return val
846 def base_SetColLabelValue(self, *_args, **_kwargs):
847 val = gridc.wxPyGridTableBase_base_SetColLabelValue(self, *_args, **_kwargs)
848 return val
849 def base_CanHaveAttributes(self, *_args, **_kwargs):
850 val = gridc.wxPyGridTableBase_base_CanHaveAttributes(self, *_args, **_kwargs)
851 return val
852 def base_GetAttr(self, *_args, **_kwargs):
853 val = gridc.wxPyGridTableBase_base_GetAttr(self, *_args, **_kwargs)
854 return val
855 def base_SetAttr(self, *_args, **_kwargs):
856 val = gridc.wxPyGridTableBase_base_SetAttr(self, *_args, **_kwargs)
857 return val
858 def base_SetRowAttr(self, *_args, **_kwargs):
859 val = gridc.wxPyGridTableBase_base_SetRowAttr(self, *_args, **_kwargs)
860 return val
861 def base_SetColAttr(self, *_args, **_kwargs):
862 val = gridc.wxPyGridTableBase_base_SetColAttr(self, *_args, **_kwargs)
863 return val
864 def __repr__(self):
865 return "<%s.%s instance; proxy of C++ wxPyGridTableBase instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
866 class wxPyGridTableBase(wxPyGridTableBasePtr):
867 def __init__(self,*_args,**_kwargs):
868 self.this = gridc.new_wxPyGridTableBase(*_args,**_kwargs)
869 self.thisown = 1
870 self._setCallbackInfo(self, wxPyGridTableBase)
871 self._setOORInfo(self)
872
873
874
875
876 class wxGridStringTablePtr(wxGridTableBasePtr):
877 def __init__(self,this):
878 self.this = this
879 self.thisown = 0
880 def __repr__(self):
881 return "<%s.%s instance; proxy of C++ wxGridStringTable instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
882 class wxGridStringTable(wxGridStringTablePtr):
883 def __init__(self,*_args,**_kwargs):
884 self.this = gridc.new_wxGridStringTable(*_args,**_kwargs)
885 self.thisown = 1
886 self._setOORInfo(self)
887
888
889
890
891 class wxGridTableMessagePtr :
892 def __init__(self,this):
893 self.this = this
894 self.thisown = 0
895 def __del__(self, delfunc=gridc.delete_wxGridTableMessage):
896 if self.thisown == 1:
897 try:
898 delfunc(self)
899 except:
900 pass
901 def SetTableObject(self, *_args, **_kwargs):
902 val = gridc.wxGridTableMessage_SetTableObject(self, *_args, **_kwargs)
903 return val
904 def GetTableObject(self, *_args, **_kwargs):
905 val = gridc.wxGridTableMessage_GetTableObject(self, *_args, **_kwargs)
906 return val
907 def SetId(self, *_args, **_kwargs):
908 val = gridc.wxGridTableMessage_SetId(self, *_args, **_kwargs)
909 return val
910 def GetId(self, *_args, **_kwargs):
911 val = gridc.wxGridTableMessage_GetId(self, *_args, **_kwargs)
912 return val
913 def SetCommandInt(self, *_args, **_kwargs):
914 val = gridc.wxGridTableMessage_SetCommandInt(self, *_args, **_kwargs)
915 return val
916 def GetCommandInt(self, *_args, **_kwargs):
917 val = gridc.wxGridTableMessage_GetCommandInt(self, *_args, **_kwargs)
918 return val
919 def SetCommandInt2(self, *_args, **_kwargs):
920 val = gridc.wxGridTableMessage_SetCommandInt2(self, *_args, **_kwargs)
921 return val
922 def GetCommandInt2(self, *_args, **_kwargs):
923 val = gridc.wxGridTableMessage_GetCommandInt2(self, *_args, **_kwargs)
924 return val
925 def __repr__(self):
926 return "<%s.%s instance; proxy of C++ wxGridTableMessage instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
927 class wxGridTableMessage(wxGridTableMessagePtr):
928 def __init__(self,*_args,**_kwargs):
929 self.this = gridc.new_wxGridTableMessage(*_args,**_kwargs)
930 self.thisown = 1
931
932
933
934
935 class wxGridCellCoordsPtr :
936 def __init__(self,this):
937 self.this = this
938 self.thisown = 0
939 def __del__(self, delfunc=gridc.delete_wxGridCellCoords):
940 if self.thisown == 1:
941 try:
942 delfunc(self)
943 except:
944 pass
945 def GetRow(self, *_args, **_kwargs):
946 val = gridc.wxGridCellCoords_GetRow(self, *_args, **_kwargs)
947 return val
948 def SetRow(self, *_args, **_kwargs):
949 val = gridc.wxGridCellCoords_SetRow(self, *_args, **_kwargs)
950 return val
951 def GetCol(self, *_args, **_kwargs):
952 val = gridc.wxGridCellCoords_GetCol(self, *_args, **_kwargs)
953 return val
954 def SetCol(self, *_args, **_kwargs):
955 val = gridc.wxGridCellCoords_SetCol(self, *_args, **_kwargs)
956 return val
957 def Set(self, *_args, **_kwargs):
958 val = gridc.wxGridCellCoords_Set(self, *_args, **_kwargs)
959 return val
960 def asTuple(self, *_args, **_kwargs):
961 val = gridc.wxGridCellCoords_asTuple(self, *_args, **_kwargs)
962 return val
963 def __cmp__(self, *_args, **_kwargs):
964 val = gridc.wxGridCellCoords___cmp__(self, *_args, **_kwargs)
965 return val
966 def __repr__(self):
967 return "<%s.%s instance; proxy of C++ wxGridCellCoords instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
968
969 def __str__(self): return str(self.asTuple())
970 def __repr__(self): return 'wxGridCellCoords'+str(self.asTuple())
971 def __len__(self): return len(self.asTuple())
972 def __getitem__(self, index): return self.asTuple()[index]
973 def __setitem__(self, index, val):
974 if index == 0: self.SetRow(val)
975 elif index == 1: self.SetCol(val)
976 else: raise IndexError
977
978 class wxGridCellCoords(wxGridCellCoordsPtr):
979 def __init__(self,*_args,**_kwargs):
980 self.this = gridc.new_wxGridCellCoords(*_args,**_kwargs)
981 self.thisown = 1
982
983
984
985
986 class wxGridPtr(wxScrolledWindowPtr):
987 wxGridSelectCells = gridc.wxGrid_wxGridSelectCells
988 wxGridSelectRows = gridc.wxGrid_wxGridSelectRows
989 wxGridSelectColumns = gridc.wxGrid_wxGridSelectColumns
990 def __init__(self,this):
991 self.this = this
992 self.thisown = 0
993 def CreateGrid(self, *_args, **_kwargs):
994 val = gridc.wxGrid_CreateGrid(self, *_args, **_kwargs)
995 return val
996 def SetSelectionMode(self, *_args, **_kwargs):
997 val = gridc.wxGrid_SetSelectionMode(self, *_args, **_kwargs)
998 return val
999 def GetSelectionMode(self, *_args, **_kwargs):
1000 val = gridc.wxGrid_GetSelectionMode(self, *_args, **_kwargs)
1001 return val
1002 def GetNumberRows(self, *_args, **_kwargs):
1003 val = gridc.wxGrid_GetNumberRows(self, *_args, **_kwargs)
1004 return val
1005 def GetNumberCols(self, *_args, **_kwargs):
1006 val = gridc.wxGrid_GetNumberCols(self, *_args, **_kwargs)
1007 return val
1008 def ProcessTableMessage(self, *_args, **_kwargs):
1009 val = gridc.wxGrid_ProcessTableMessage(self, *_args, **_kwargs)
1010 return val
1011 def GetTable(self, *_args, **_kwargs):
1012 val = gridc.wxGrid_GetTable(self, *_args, **_kwargs)
1013 return val
1014 def SetTable(self, *_args, **_kwargs):
1015 val = gridc.wxGrid_SetTable(self, *_args, **_kwargs)
1016 return val
1017 def ClearGrid(self, *_args, **_kwargs):
1018 val = gridc.wxGrid_ClearGrid(self, *_args, **_kwargs)
1019 return val
1020 def InsertRows(self, *_args, **_kwargs):
1021 val = gridc.wxGrid_InsertRows(self, *_args, **_kwargs)
1022 return val
1023 def AppendRows(self, *_args, **_kwargs):
1024 val = gridc.wxGrid_AppendRows(self, *_args, **_kwargs)
1025 return val
1026 def DeleteRows(self, *_args, **_kwargs):
1027 val = gridc.wxGrid_DeleteRows(self, *_args, **_kwargs)
1028 return val
1029 def InsertCols(self, *_args, **_kwargs):
1030 val = gridc.wxGrid_InsertCols(self, *_args, **_kwargs)
1031 return val
1032 def AppendCols(self, *_args, **_kwargs):
1033 val = gridc.wxGrid_AppendCols(self, *_args, **_kwargs)
1034 return val
1035 def DeleteCols(self, *_args, **_kwargs):
1036 val = gridc.wxGrid_DeleteCols(self, *_args, **_kwargs)
1037 return val
1038 def DrawCellHighlight(self, *_args, **_kwargs):
1039 val = gridc.wxGrid_DrawCellHighlight(self, *_args, **_kwargs)
1040 return val
1041 def DrawTextRectangle(self, *_args, **_kwargs):
1042 val = gridc.wxGrid_DrawTextRectangle(self, *_args, **_kwargs)
1043 return val
1044 def GetTextBoxSize(self, *_args, **_kwargs):
1045 val = gridc.wxGrid_GetTextBoxSize(self, *_args, **_kwargs)
1046 return val
1047 def BeginBatch(self, *_args, **_kwargs):
1048 val = gridc.wxGrid_BeginBatch(self, *_args, **_kwargs)
1049 return val
1050 def EndBatch(self, *_args, **_kwargs):
1051 val = gridc.wxGrid_EndBatch(self, *_args, **_kwargs)
1052 return val
1053 def GetBatchCount(self, *_args, **_kwargs):
1054 val = gridc.wxGrid_GetBatchCount(self, *_args, **_kwargs)
1055 return val
1056 def ForceRefresh(self, *_args, **_kwargs):
1057 val = gridc.wxGrid_ForceRefresh(self, *_args, **_kwargs)
1058 return val
1059 def Refresh(self, *_args, **_kwargs):
1060 val = gridc.wxGrid_Refresh(self, *_args, **_kwargs)
1061 return val
1062 def IsEditable(self, *_args, **_kwargs):
1063 val = gridc.wxGrid_IsEditable(self, *_args, **_kwargs)
1064 return val
1065 def EnableEditing(self, *_args, **_kwargs):
1066 val = gridc.wxGrid_EnableEditing(self, *_args, **_kwargs)
1067 return val
1068 def EnableCellEditControl(self, *_args, **_kwargs):
1069 val = gridc.wxGrid_EnableCellEditControl(self, *_args, **_kwargs)
1070 return val
1071 def DisableCellEditControl(self, *_args, **_kwargs):
1072 val = gridc.wxGrid_DisableCellEditControl(self, *_args, **_kwargs)
1073 return val
1074 def CanEnableCellControl(self, *_args, **_kwargs):
1075 val = gridc.wxGrid_CanEnableCellControl(self, *_args, **_kwargs)
1076 return val
1077 def IsCellEditControlEnabled(self, *_args, **_kwargs):
1078 val = gridc.wxGrid_IsCellEditControlEnabled(self, *_args, **_kwargs)
1079 return val
1080 def IsCellEditControlShown(self, *_args, **_kwargs):
1081 val = gridc.wxGrid_IsCellEditControlShown(self, *_args, **_kwargs)
1082 return val
1083 def IsCurrentCellReadOnly(self, *_args, **_kwargs):
1084 val = gridc.wxGrid_IsCurrentCellReadOnly(self, *_args, **_kwargs)
1085 return val
1086 def ShowCellEditControl(self, *_args, **_kwargs):
1087 val = gridc.wxGrid_ShowCellEditControl(self, *_args, **_kwargs)
1088 return val
1089 def HideCellEditControl(self, *_args, **_kwargs):
1090 val = gridc.wxGrid_HideCellEditControl(self, *_args, **_kwargs)
1091 return val
1092 def SaveEditControlValue(self, *_args, **_kwargs):
1093 val = gridc.wxGrid_SaveEditControlValue(self, *_args, **_kwargs)
1094 return val
1095 def XYToCell(self, *_args, **_kwargs):
1096 val = gridc.wxGrid_XYToCell(self, *_args, **_kwargs)
1097 if val: val = wxGridCellCoordsPtr(val) ; val.thisown = 1
1098 return val
1099 def YToRow(self, *_args, **_kwargs):
1100 val = gridc.wxGrid_YToRow(self, *_args, **_kwargs)
1101 return val
1102 def XToCol(self, *_args, **_kwargs):
1103 val = gridc.wxGrid_XToCol(self, *_args, **_kwargs)
1104 return val
1105 def YToEdgeOfRow(self, *_args, **_kwargs):
1106 val = gridc.wxGrid_YToEdgeOfRow(self, *_args, **_kwargs)
1107 return val
1108 def XToEdgeOfCol(self, *_args, **_kwargs):
1109 val = gridc.wxGrid_XToEdgeOfCol(self, *_args, **_kwargs)
1110 return val
1111 def CellToRect(self, *_args, **_kwargs):
1112 val = gridc.wxGrid_CellToRect(self, *_args, **_kwargs)
1113 if val: val = wxRectPtr(val) ; val.thisown = 1
1114 return val
1115 def GetGridCursorRow(self, *_args, **_kwargs):
1116 val = gridc.wxGrid_GetGridCursorRow(self, *_args, **_kwargs)
1117 return val
1118 def GetGridCursorCol(self, *_args, **_kwargs):
1119 val = gridc.wxGrid_GetGridCursorCol(self, *_args, **_kwargs)
1120 return val
1121 def IsVisible(self, *_args, **_kwargs):
1122 val = gridc.wxGrid_IsVisible(self, *_args, **_kwargs)
1123 return val
1124 def MakeCellVisible(self, *_args, **_kwargs):
1125 val = gridc.wxGrid_MakeCellVisible(self, *_args, **_kwargs)
1126 return val
1127 def SetGridCursor(self, *_args, **_kwargs):
1128 val = gridc.wxGrid_SetGridCursor(self, *_args, **_kwargs)
1129 return val
1130 def MoveCursorUp(self, *_args, **_kwargs):
1131 val = gridc.wxGrid_MoveCursorUp(self, *_args, **_kwargs)
1132 return val
1133 def MoveCursorDown(self, *_args, **_kwargs):
1134 val = gridc.wxGrid_MoveCursorDown(self, *_args, **_kwargs)
1135 return val
1136 def MoveCursorLeft(self, *_args, **_kwargs):
1137 val = gridc.wxGrid_MoveCursorLeft(self, *_args, **_kwargs)
1138 return val
1139 def MoveCursorRight(self, *_args, **_kwargs):
1140 val = gridc.wxGrid_MoveCursorRight(self, *_args, **_kwargs)
1141 return val
1142 def MovePageDown(self, *_args, **_kwargs):
1143 val = gridc.wxGrid_MovePageDown(self, *_args, **_kwargs)
1144 return val
1145 def MovePageUp(self, *_args, **_kwargs):
1146 val = gridc.wxGrid_MovePageUp(self, *_args, **_kwargs)
1147 return val
1148 def MoveCursorUpBlock(self, *_args, **_kwargs):
1149 val = gridc.wxGrid_MoveCursorUpBlock(self, *_args, **_kwargs)
1150 return val
1151 def MoveCursorDownBlock(self, *_args, **_kwargs):
1152 val = gridc.wxGrid_MoveCursorDownBlock(self, *_args, **_kwargs)
1153 return val
1154 def MoveCursorLeftBlock(self, *_args, **_kwargs):
1155 val = gridc.wxGrid_MoveCursorLeftBlock(self, *_args, **_kwargs)
1156 return val
1157 def MoveCursorRightBlock(self, *_args, **_kwargs):
1158 val = gridc.wxGrid_MoveCursorRightBlock(self, *_args, **_kwargs)
1159 return val
1160 def GetDefaultRowLabelSize(self, *_args, **_kwargs):
1161 val = gridc.wxGrid_GetDefaultRowLabelSize(self, *_args, **_kwargs)
1162 return val
1163 def GetRowLabelSize(self, *_args, **_kwargs):
1164 val = gridc.wxGrid_GetRowLabelSize(self, *_args, **_kwargs)
1165 return val
1166 def GetDefaultColLabelSize(self, *_args, **_kwargs):
1167 val = gridc.wxGrid_GetDefaultColLabelSize(self, *_args, **_kwargs)
1168 return val
1169 def GetColLabelSize(self, *_args, **_kwargs):
1170 val = gridc.wxGrid_GetColLabelSize(self, *_args, **_kwargs)
1171 return val
1172 def GetLabelBackgroundColour(self, *_args, **_kwargs):
1173 val = gridc.wxGrid_GetLabelBackgroundColour(self, *_args, **_kwargs)
1174 if val: val = wxColourPtr(val) ; val.thisown = 1
1175 return val
1176 def GetLabelTextColour(self, *_args, **_kwargs):
1177 val = gridc.wxGrid_GetLabelTextColour(self, *_args, **_kwargs)
1178 if val: val = wxColourPtr(val) ; val.thisown = 1
1179 return val
1180 def GetLabelFont(self, *_args, **_kwargs):
1181 val = gridc.wxGrid_GetLabelFont(self, *_args, **_kwargs)
1182 if val: val = wxFontPtr(val) ; val.thisown = 1
1183 return val
1184 def GetRowLabelAlignment(self, *_args, **_kwargs):
1185 val = gridc.wxGrid_GetRowLabelAlignment(self, *_args, **_kwargs)
1186 return val
1187 def GetColLabelAlignment(self, *_args, **_kwargs):
1188 val = gridc.wxGrid_GetColLabelAlignment(self, *_args, **_kwargs)
1189 return val
1190 def GetColLabelTextOrientation(self, *_args, **_kwargs):
1191 val = gridc.wxGrid_GetColLabelTextOrientation(self, *_args, **_kwargs)
1192 return val
1193 def GetRowLabelValue(self, *_args, **_kwargs):
1194 val = gridc.wxGrid_GetRowLabelValue(self, *_args, **_kwargs)
1195 return val
1196 def GetColLabelValue(self, *_args, **_kwargs):
1197 val = gridc.wxGrid_GetColLabelValue(self, *_args, **_kwargs)
1198 return val
1199 def GetGridLineColour(self, *_args, **_kwargs):
1200 val = gridc.wxGrid_GetGridLineColour(self, *_args, **_kwargs)
1201 if val: val = wxColourPtr(val) ; val.thisown = 1
1202 return val
1203 def GetCellHighlightColour(self, *_args, **_kwargs):
1204 val = gridc.wxGrid_GetCellHighlightColour(self, *_args, **_kwargs)
1205 if val: val = wxColourPtr(val) ; val.thisown = 1
1206 return val
1207 def GetCellHighlightPenWidth(self, *_args, **_kwargs):
1208 val = gridc.wxGrid_GetCellHighlightPenWidth(self, *_args, **_kwargs)
1209 return val
1210 def GetCellHighlightROPenWidth(self, *_args, **_kwargs):
1211 val = gridc.wxGrid_GetCellHighlightROPenWidth(self, *_args, **_kwargs)
1212 return val
1213 def SetRowLabelSize(self, *_args, **_kwargs):
1214 val = gridc.wxGrid_SetRowLabelSize(self, *_args, **_kwargs)
1215 return val
1216 def SetColLabelSize(self, *_args, **_kwargs):
1217 val = gridc.wxGrid_SetColLabelSize(self, *_args, **_kwargs)
1218 return val
1219 def SetLabelBackgroundColour(self, *_args, **_kwargs):
1220 val = gridc.wxGrid_SetLabelBackgroundColour(self, *_args, **_kwargs)
1221 return val
1222 def SetLabelTextColour(self, *_args, **_kwargs):
1223 val = gridc.wxGrid_SetLabelTextColour(self, *_args, **_kwargs)
1224 return val
1225 def SetLabelFont(self, *_args, **_kwargs):
1226 val = gridc.wxGrid_SetLabelFont(self, *_args, **_kwargs)
1227 return val
1228 def SetRowLabelAlignment(self, *_args, **_kwargs):
1229 val = gridc.wxGrid_SetRowLabelAlignment(self, *_args, **_kwargs)
1230 return val
1231 def SetColLabelAlignment(self, *_args, **_kwargs):
1232 val = gridc.wxGrid_SetColLabelAlignment(self, *_args, **_kwargs)
1233 return val
1234 def SetColLabelTextOrientation(self, *_args, **_kwargs):
1235 val = gridc.wxGrid_SetColLabelTextOrientation(self, *_args, **_kwargs)
1236 return val
1237 def SetRowLabelValue(self, *_args, **_kwargs):
1238 val = gridc.wxGrid_SetRowLabelValue(self, *_args, **_kwargs)
1239 return val
1240 def SetColLabelValue(self, *_args, **_kwargs):
1241 val = gridc.wxGrid_SetColLabelValue(self, *_args, **_kwargs)
1242 return val
1243 def SetGridLineColour(self, *_args, **_kwargs):
1244 val = gridc.wxGrid_SetGridLineColour(self, *_args, **_kwargs)
1245 return val
1246 def SetCellHighlightColour(self, *_args, **_kwargs):
1247 val = gridc.wxGrid_SetCellHighlightColour(self, *_args, **_kwargs)
1248 return val
1249 def SetCellHighlightPenWidth(self, *_args, **_kwargs):
1250 val = gridc.wxGrid_SetCellHighlightPenWidth(self, *_args, **_kwargs)
1251 return val
1252 def SetCellHighlightROPenWidth(self, *_args, **_kwargs):
1253 val = gridc.wxGrid_SetCellHighlightROPenWidth(self, *_args, **_kwargs)
1254 return val
1255 def EnableDragRowSize(self, *_args, **_kwargs):
1256 val = gridc.wxGrid_EnableDragRowSize(self, *_args, **_kwargs)
1257 return val
1258 def DisableDragRowSize(self, *_args, **_kwargs):
1259 val = gridc.wxGrid_DisableDragRowSize(self, *_args, **_kwargs)
1260 return val
1261 def CanDragRowSize(self, *_args, **_kwargs):
1262 val = gridc.wxGrid_CanDragRowSize(self, *_args, **_kwargs)
1263 return val
1264 def EnableDragColSize(self, *_args, **_kwargs):
1265 val = gridc.wxGrid_EnableDragColSize(self, *_args, **_kwargs)
1266 return val
1267 def DisableDragColSize(self, *_args, **_kwargs):
1268 val = gridc.wxGrid_DisableDragColSize(self, *_args, **_kwargs)
1269 return val
1270 def CanDragColSize(self, *_args, **_kwargs):
1271 val = gridc.wxGrid_CanDragColSize(self, *_args, **_kwargs)
1272 return val
1273 def EnableDragGridSize(self, *_args, **_kwargs):
1274 val = gridc.wxGrid_EnableDragGridSize(self, *_args, **_kwargs)
1275 return val
1276 def DisableDragGridSize(self, *_args, **_kwargs):
1277 val = gridc.wxGrid_DisableDragGridSize(self, *_args, **_kwargs)
1278 return val
1279 def CanDragGridSize(self, *_args, **_kwargs):
1280 val = gridc.wxGrid_CanDragGridSize(self, *_args, **_kwargs)
1281 return val
1282 def SetAttr(self, *_args, **_kwargs):
1283 val = gridc.wxGrid_SetAttr(self, *_args, **_kwargs)
1284 return val
1285 def SetRowAttr(self, *_args, **_kwargs):
1286 val = gridc.wxGrid_SetRowAttr(self, *_args, **_kwargs)
1287 return val
1288 def SetColAttr(self, *_args, **_kwargs):
1289 val = gridc.wxGrid_SetColAttr(self, *_args, **_kwargs)
1290 return val
1291 def SetColFormatBool(self, *_args, **_kwargs):
1292 val = gridc.wxGrid_SetColFormatBool(self, *_args, **_kwargs)
1293 return val
1294 def SetColFormatNumber(self, *_args, **_kwargs):
1295 val = gridc.wxGrid_SetColFormatNumber(self, *_args, **_kwargs)
1296 return val
1297 def SetColFormatFloat(self, *_args, **_kwargs):
1298 val = gridc.wxGrid_SetColFormatFloat(self, *_args, **_kwargs)
1299 return val
1300 def SetColFormatCustom(self, *_args, **_kwargs):
1301 val = gridc.wxGrid_SetColFormatCustom(self, *_args, **_kwargs)
1302 return val
1303 def EnableGridLines(self, *_args, **_kwargs):
1304 val = gridc.wxGrid_EnableGridLines(self, *_args, **_kwargs)
1305 return val
1306 def GridLinesEnabled(self, *_args, **_kwargs):
1307 val = gridc.wxGrid_GridLinesEnabled(self, *_args, **_kwargs)
1308 return val
1309 def GetDefaultRowSize(self, *_args, **_kwargs):
1310 val = gridc.wxGrid_GetDefaultRowSize(self, *_args, **_kwargs)
1311 return val
1312 def GetRowSize(self, *_args, **_kwargs):
1313 val = gridc.wxGrid_GetRowSize(self, *_args, **_kwargs)
1314 return val
1315 def GetDefaultColSize(self, *_args, **_kwargs):
1316 val = gridc.wxGrid_GetDefaultColSize(self, *_args, **_kwargs)
1317 return val
1318 def GetColSize(self, *_args, **_kwargs):
1319 val = gridc.wxGrid_GetColSize(self, *_args, **_kwargs)
1320 return val
1321 def GetDefaultCellBackgroundColour(self, *_args, **_kwargs):
1322 val = gridc.wxGrid_GetDefaultCellBackgroundColour(self, *_args, **_kwargs)
1323 if val: val = wxColourPtr(val) ; val.thisown = 1
1324 return val
1325 def GetCellBackgroundColour(self, *_args, **_kwargs):
1326 val = gridc.wxGrid_GetCellBackgroundColour(self, *_args, **_kwargs)
1327 if val: val = wxColourPtr(val) ; val.thisown = 1
1328 return val
1329 def GetDefaultCellTextColour(self, *_args, **_kwargs):
1330 val = gridc.wxGrid_GetDefaultCellTextColour(self, *_args, **_kwargs)
1331 if val: val = wxColourPtr(val) ; val.thisown = 1
1332 return val
1333 def GetCellTextColour(self, *_args, **_kwargs):
1334 val = gridc.wxGrid_GetCellTextColour(self, *_args, **_kwargs)
1335 if val: val = wxColourPtr(val) ; val.thisown = 1
1336 return val
1337 def GetDefaultCellFont(self, *_args, **_kwargs):
1338 val = gridc.wxGrid_GetDefaultCellFont(self, *_args, **_kwargs)
1339 if val: val = wxFontPtr(val) ; val.thisown = 1
1340 return val
1341 def GetCellFont(self, *_args, **_kwargs):
1342 val = gridc.wxGrid_GetCellFont(self, *_args, **_kwargs)
1343 if val: val = wxFontPtr(val) ; val.thisown = 1
1344 return val
1345 def GetDefaultCellAlignment(self, *_args, **_kwargs):
1346 val = gridc.wxGrid_GetDefaultCellAlignment(self, *_args, **_kwargs)
1347 return val
1348 def GetCellAlignment(self, *_args, **_kwargs):
1349 val = gridc.wxGrid_GetCellAlignment(self, *_args, **_kwargs)
1350 return val
1351 def GetDefaultCellOverflow(self, *_args, **_kwargs):
1352 val = gridc.wxGrid_GetDefaultCellOverflow(self, *_args, **_kwargs)
1353 return val
1354 def GetCellOverflow(self, *_args, **_kwargs):
1355 val = gridc.wxGrid_GetCellOverflow(self, *_args, **_kwargs)
1356 return val
1357 def GetCellSize(self, *_args, **_kwargs):
1358 val = gridc.wxGrid_GetCellSize(self, *_args, **_kwargs)
1359 return val
1360 def SetDefaultRowSize(self, *_args, **_kwargs):
1361 val = gridc.wxGrid_SetDefaultRowSize(self, *_args, **_kwargs)
1362 return val
1363 def SetRowSize(self, *_args, **_kwargs):
1364 val = gridc.wxGrid_SetRowSize(self, *_args, **_kwargs)
1365 return val
1366 def SetDefaultColSize(self, *_args, **_kwargs):
1367 val = gridc.wxGrid_SetDefaultColSize(self, *_args, **_kwargs)
1368 return val
1369 def SetColSize(self, *_args, **_kwargs):
1370 val = gridc.wxGrid_SetColSize(self, *_args, **_kwargs)
1371 return val
1372 def AutoSizeColumn(self, *_args, **_kwargs):
1373 val = gridc.wxGrid_AutoSizeColumn(self, *_args, **_kwargs)
1374 return val
1375 def AutoSizeRow(self, *_args, **_kwargs):
1376 val = gridc.wxGrid_AutoSizeRow(self, *_args, **_kwargs)
1377 return val
1378 def AutoSizeColumns(self, *_args, **_kwargs):
1379 val = gridc.wxGrid_AutoSizeColumns(self, *_args, **_kwargs)
1380 return val
1381 def AutoSizeRows(self, *_args, **_kwargs):
1382 val = gridc.wxGrid_AutoSizeRows(self, *_args, **_kwargs)
1383 return val
1384 def AutoSize(self, *_args, **_kwargs):
1385 val = gridc.wxGrid_AutoSize(self, *_args, **_kwargs)
1386 return val
1387 def AutoSizeRowLabelSize(self, *_args, **_kwargs):
1388 val = gridc.wxGrid_AutoSizeRowLabelSize(self, *_args, **_kwargs)
1389 return val
1390 def AutoSizeColLabelSize(self, *_args, **_kwargs):
1391 val = gridc.wxGrid_AutoSizeColLabelSize(self, *_args, **_kwargs)
1392 return val
1393 def SetColMinimalWidth(self, *_args, **_kwargs):
1394 val = gridc.wxGrid_SetColMinimalWidth(self, *_args, **_kwargs)
1395 return val
1396 def SetRowMinimalHeight(self, *_args, **_kwargs):
1397 val = gridc.wxGrid_SetRowMinimalHeight(self, *_args, **_kwargs)
1398 return val
1399 def SetColMinimalAcceptableWidth(self, *_args, **_kwargs):
1400 val = gridc.wxGrid_SetColMinimalAcceptableWidth(self, *_args, **_kwargs)
1401 return val
1402 def SetRowMinimalAcceptableHeight(self, *_args, **_kwargs):
1403 val = gridc.wxGrid_SetRowMinimalAcceptableHeight(self, *_args, **_kwargs)
1404 return val
1405 def GetColMinimalAcceptableWidth(self, *_args, **_kwargs):
1406 val = gridc.wxGrid_GetColMinimalAcceptableWidth(self, *_args, **_kwargs)
1407 return val
1408 def GetRowMinimalAcceptableHeight(self, *_args, **_kwargs):
1409 val = gridc.wxGrid_GetRowMinimalAcceptableHeight(self, *_args, **_kwargs)
1410 return val
1411 def SetDefaultCellBackgroundColour(self, *_args, **_kwargs):
1412 val = gridc.wxGrid_SetDefaultCellBackgroundColour(self, *_args, **_kwargs)
1413 return val
1414 def SetCellBackgroundColour(self, *_args, **_kwargs):
1415 val = gridc.wxGrid_SetCellBackgroundColour(self, *_args, **_kwargs)
1416 return val
1417 def SetDefaultCellTextColour(self, *_args, **_kwargs):
1418 val = gridc.wxGrid_SetDefaultCellTextColour(self, *_args, **_kwargs)
1419 return val
1420 def SetCellTextColour(self, *_args, **_kwargs):
1421 val = gridc.wxGrid_SetCellTextColour(self, *_args, **_kwargs)
1422 return val
1423 def SetDefaultCellFont(self, *_args, **_kwargs):
1424 val = gridc.wxGrid_SetDefaultCellFont(self, *_args, **_kwargs)
1425 return val
1426 def SetCellFont(self, *_args, **_kwargs):
1427 val = gridc.wxGrid_SetCellFont(self, *_args, **_kwargs)
1428 return val
1429 def SetDefaultCellAlignment(self, *_args, **_kwargs):
1430 val = gridc.wxGrid_SetDefaultCellAlignment(self, *_args, **_kwargs)
1431 return val
1432 def SetCellAlignment(self, *_args, **_kwargs):
1433 val = gridc.wxGrid_SetCellAlignment(self, *_args, **_kwargs)
1434 return val
1435 def SetDefaultCellOverflow(self, *_args, **_kwargs):
1436 val = gridc.wxGrid_SetDefaultCellOverflow(self, *_args, **_kwargs)
1437 return val
1438 def SetCellOverflow(self, *_args, **_kwargs):
1439 val = gridc.wxGrid_SetCellOverflow(self, *_args, **_kwargs)
1440 return val
1441 def SetCellSize(self, *_args, **_kwargs):
1442 val = gridc.wxGrid_SetCellSize(self, *_args, **_kwargs)
1443 return val
1444 def SetDefaultRenderer(self, *_args, **_kwargs):
1445 val = gridc.wxGrid_SetDefaultRenderer(self, *_args, **_kwargs)
1446 return val
1447 def SetCellRenderer(self, *_args, **_kwargs):
1448 val = gridc.wxGrid_SetCellRenderer(self, *_args, **_kwargs)
1449 return val
1450 def GetDefaultRenderer(self, *_args, **_kwargs):
1451 val = gridc.wxGrid_GetDefaultRenderer(self, *_args, **_kwargs)
1452 return val
1453 def GetCellRenderer(self, *_args, **_kwargs):
1454 val = gridc.wxGrid_GetCellRenderer(self, *_args, **_kwargs)
1455 return val
1456 def SetDefaultEditor(self, *_args, **_kwargs):
1457 val = gridc.wxGrid_SetDefaultEditor(self, *_args, **_kwargs)
1458 return val
1459 def SetCellEditor(self, *_args, **_kwargs):
1460 val = gridc.wxGrid_SetCellEditor(self, *_args, **_kwargs)
1461 return val
1462 def GetDefaultEditor(self, *_args, **_kwargs):
1463 val = gridc.wxGrid_GetDefaultEditor(self, *_args, **_kwargs)
1464 return val
1465 def GetCellEditor(self, *_args, **_kwargs):
1466 val = gridc.wxGrid_GetCellEditor(self, *_args, **_kwargs)
1467 return val
1468 def GetCellValue(self, *_args, **_kwargs):
1469 val = gridc.wxGrid_GetCellValue(self, *_args, **_kwargs)
1470 return val
1471 def SetCellValue(self, *_args, **_kwargs):
1472 val = gridc.wxGrid_SetCellValue(self, *_args, **_kwargs)
1473 return val
1474 def IsReadOnly(self, *_args, **_kwargs):
1475 val = gridc.wxGrid_IsReadOnly(self, *_args, **_kwargs)
1476 return val
1477 def SetReadOnly(self, *_args, **_kwargs):
1478 val = gridc.wxGrid_SetReadOnly(self, *_args, **_kwargs)
1479 return val
1480 def SelectRow(self, *_args, **_kwargs):
1481 val = gridc.wxGrid_SelectRow(self, *_args, **_kwargs)
1482 return val
1483 def SelectCol(self, *_args, **_kwargs):
1484 val = gridc.wxGrid_SelectCol(self, *_args, **_kwargs)
1485 return val
1486 def SelectBlock(self, *_args, **_kwargs):
1487 val = gridc.wxGrid_SelectBlock(self, *_args, **_kwargs)
1488 return val
1489 def SelectAll(self, *_args, **_kwargs):
1490 val = gridc.wxGrid_SelectAll(self, *_args, **_kwargs)
1491 return val
1492 def IsSelection(self, *_args, **_kwargs):
1493 val = gridc.wxGrid_IsSelection(self, *_args, **_kwargs)
1494 return val
1495 def ClearSelection(self, *_args, **_kwargs):
1496 val = gridc.wxGrid_ClearSelection(self, *_args, **_kwargs)
1497 return val
1498 def IsInSelection(self, *_args, **_kwargs):
1499 val = gridc.wxGrid_IsInSelection(self, *_args, **_kwargs)
1500 return val
1501 def GetSelectedCells(self, *_args, **_kwargs):
1502 val = gridc.wxGrid_GetSelectedCells(self, *_args, **_kwargs)
1503 return val
1504 def GetSelectionBlockTopLeft(self, *_args, **_kwargs):
1505 val = gridc.wxGrid_GetSelectionBlockTopLeft(self, *_args, **_kwargs)
1506 return val
1507 def GetSelectionBlockBottomRight(self, *_args, **_kwargs):
1508 val = gridc.wxGrid_GetSelectionBlockBottomRight(self, *_args, **_kwargs)
1509 return val
1510 def GetSelectedRows(self, *_args, **_kwargs):
1511 val = gridc.wxGrid_GetSelectedRows(self, *_args, **_kwargs)
1512 return val
1513 def GetSelectedCols(self, *_args, **_kwargs):
1514 val = gridc.wxGrid_GetSelectedCols(self, *_args, **_kwargs)
1515 return val
1516 def DeselectRow(self, *_args, **_kwargs):
1517 val = gridc.wxGrid_DeselectRow(self, *_args, **_kwargs)
1518 return val
1519 def DeselectCol(self, *_args, **_kwargs):
1520 val = gridc.wxGrid_DeselectCol(self, *_args, **_kwargs)
1521 return val
1522 def DeselectCell(self, *_args, **_kwargs):
1523 val = gridc.wxGrid_DeselectCell(self, *_args, **_kwargs)
1524 return val
1525 def BlockToDeviceRect(self, *_args, **_kwargs):
1526 val = gridc.wxGrid_BlockToDeviceRect(self, *_args, **_kwargs)
1527 if val: val = wxRectPtr(val) ; val.thisown = 1
1528 return val
1529 def GetSelectionBackground(self, *_args, **_kwargs):
1530 val = gridc.wxGrid_GetSelectionBackground(self, *_args, **_kwargs)
1531 if val: val = wxColourPtr(val) ; val.thisown = 1
1532 return val
1533 def GetSelectionForeground(self, *_args, **_kwargs):
1534 val = gridc.wxGrid_GetSelectionForeground(self, *_args, **_kwargs)
1535 if val: val = wxColourPtr(val) ; val.thisown = 1
1536 return val
1537 def SetSelectionBackground(self, *_args, **_kwargs):
1538 val = gridc.wxGrid_SetSelectionBackground(self, *_args, **_kwargs)
1539 return val
1540 def SetSelectionForeground(self, *_args, **_kwargs):
1541 val = gridc.wxGrid_SetSelectionForeground(self, *_args, **_kwargs)
1542 return val
1543 def RegisterDataType(self, *_args, **_kwargs):
1544 val = gridc.wxGrid_RegisterDataType(self, *_args, **_kwargs)
1545 return val
1546 def GetDefaultEditorForCell(self, *_args, **_kwargs):
1547 val = gridc.wxGrid_GetDefaultEditorForCell(self, *_args, **_kwargs)
1548 return val
1549 def GetDefaultRendererForCell(self, *_args, **_kwargs):
1550 val = gridc.wxGrid_GetDefaultRendererForCell(self, *_args, **_kwargs)
1551 return val
1552 def GetDefaultEditorForType(self, *_args, **_kwargs):
1553 val = gridc.wxGrid_GetDefaultEditorForType(self, *_args, **_kwargs)
1554 return val
1555 def GetDefaultRendererForType(self, *_args, **_kwargs):
1556 val = gridc.wxGrid_GetDefaultRendererForType(self, *_args, **_kwargs)
1557 return val
1558 def SetMargins(self, *_args, **_kwargs):
1559 val = gridc.wxGrid_SetMargins(self, *_args, **_kwargs)
1560 return val
1561 def GetGridWindow(self, *_args, **_kwargs):
1562 val = gridc.wxGrid_GetGridWindow(self, *_args, **_kwargs)
1563 return val
1564 def GetGridRowLabelWindow(self, *_args, **_kwargs):
1565 val = gridc.wxGrid_GetGridRowLabelWindow(self, *_args, **_kwargs)
1566 return val
1567 def GetGridColLabelWindow(self, *_args, **_kwargs):
1568 val = gridc.wxGrid_GetGridColLabelWindow(self, *_args, **_kwargs)
1569 return val
1570 def GetGridCornerLabelWindow(self, *_args, **_kwargs):
1571 val = gridc.wxGrid_GetGridCornerLabelWindow(self, *_args, **_kwargs)
1572 return val
1573 def __repr__(self):
1574 return "<%s.%s instance; proxy of C++ wxGrid instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
1575 class wxGrid(wxGridPtr):
1576 def __init__(self,*_args,**_kwargs):
1577 self.this = gridc.new_wxGrid(*_args,**_kwargs)
1578 self.thisown = 1
1579 self._setOORInfo(self)
1580
1581
1582
1583
1584 class wxGridEventPtr(wxNotifyEventPtr):
1585 def __init__(self,this):
1586 self.this = this
1587 self.thisown = 0
1588 def GetRow(self, *_args, **_kwargs):
1589 val = gridc.wxGridEvent_GetRow(self, *_args, **_kwargs)
1590 return val
1591 def GetCol(self, *_args, **_kwargs):
1592 val = gridc.wxGridEvent_GetCol(self, *_args, **_kwargs)
1593 return val
1594 def GetPosition(self, *_args, **_kwargs):
1595 val = gridc.wxGridEvent_GetPosition(self, *_args, **_kwargs)
1596 if val: val = wxPointPtr(val) ; val.thisown = 1
1597 return val
1598 def Selecting(self, *_args, **_kwargs):
1599 val = gridc.wxGridEvent_Selecting(self, *_args, **_kwargs)
1600 return val
1601 def ControlDown(self, *_args, **_kwargs):
1602 val = gridc.wxGridEvent_ControlDown(self, *_args, **_kwargs)
1603 return val
1604 def MetaDown(self, *_args, **_kwargs):
1605 val = gridc.wxGridEvent_MetaDown(self, *_args, **_kwargs)
1606 return val
1607 def ShiftDown(self, *_args, **_kwargs):
1608 val = gridc.wxGridEvent_ShiftDown(self, *_args, **_kwargs)
1609 return val
1610 def AltDown(self, *_args, **_kwargs):
1611 val = gridc.wxGridEvent_AltDown(self, *_args, **_kwargs)
1612 return val
1613 def __repr__(self):
1614 return "<%s.%s instance; proxy of C++ wxGridEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
1615 class wxGridEvent(wxGridEventPtr):
1616 def __init__(self,*_args,**_kwargs):
1617 self.this = gridc.new_wxGridEvent(*_args,**_kwargs)
1618 self.thisown = 1
1619
1620
1621
1622
1623 class wxGridSizeEventPtr(wxNotifyEventPtr):
1624 def __init__(self,this):
1625 self.this = this
1626 self.thisown = 0
1627 def GetRowOrCol(self, *_args, **_kwargs):
1628 val = gridc.wxGridSizeEvent_GetRowOrCol(self, *_args, **_kwargs)
1629 return val
1630 def GetPosition(self, *_args, **_kwargs):
1631 val = gridc.wxGridSizeEvent_GetPosition(self, *_args, **_kwargs)
1632 if val: val = wxPointPtr(val) ; val.thisown = 1
1633 return val
1634 def ControlDown(self, *_args, **_kwargs):
1635 val = gridc.wxGridSizeEvent_ControlDown(self, *_args, **_kwargs)
1636 return val
1637 def MetaDown(self, *_args, **_kwargs):
1638 val = gridc.wxGridSizeEvent_MetaDown(self, *_args, **_kwargs)
1639 return val
1640 def ShiftDown(self, *_args, **_kwargs):
1641 val = gridc.wxGridSizeEvent_ShiftDown(self, *_args, **_kwargs)
1642 return val
1643 def AltDown(self, *_args, **_kwargs):
1644 val = gridc.wxGridSizeEvent_AltDown(self, *_args, **_kwargs)
1645 return val
1646 def __repr__(self):
1647 return "<%s.%s instance; proxy of C++ wxGridSizeEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
1648 class wxGridSizeEvent(wxGridSizeEventPtr):
1649 def __init__(self,*_args,**_kwargs):
1650 self.this = gridc.new_wxGridSizeEvent(*_args,**_kwargs)
1651 self.thisown = 1
1652
1653
1654
1655
1656 class wxGridRangeSelectEventPtr(wxNotifyEventPtr):
1657 def __init__(self,this):
1658 self.this = this
1659 self.thisown = 0
1660 def GetTopLeftCoords(self, *_args, **_kwargs):
1661 val = gridc.wxGridRangeSelectEvent_GetTopLeftCoords(self, *_args, **_kwargs)
1662 if val: val = wxGridCellCoordsPtr(val) ; val.thisown = 1
1663 return val
1664 def GetBottomRightCoords(self, *_args, **_kwargs):
1665 val = gridc.wxGridRangeSelectEvent_GetBottomRightCoords(self, *_args, **_kwargs)
1666 if val: val = wxGridCellCoordsPtr(val) ; val.thisown = 1
1667 return val
1668 def GetTopRow(self, *_args, **_kwargs):
1669 val = gridc.wxGridRangeSelectEvent_GetTopRow(self, *_args, **_kwargs)
1670 return val
1671 def GetBottomRow(self, *_args, **_kwargs):
1672 val = gridc.wxGridRangeSelectEvent_GetBottomRow(self, *_args, **_kwargs)
1673 return val
1674 def GetLeftCol(self, *_args, **_kwargs):
1675 val = gridc.wxGridRangeSelectEvent_GetLeftCol(self, *_args, **_kwargs)
1676 return val
1677 def GetRightCol(self, *_args, **_kwargs):
1678 val = gridc.wxGridRangeSelectEvent_GetRightCol(self, *_args, **_kwargs)
1679 return val
1680 def Selecting(self, *_args, **_kwargs):
1681 val = gridc.wxGridRangeSelectEvent_Selecting(self, *_args, **_kwargs)
1682 return val
1683 def ControlDown(self, *_args, **_kwargs):
1684 val = gridc.wxGridRangeSelectEvent_ControlDown(self, *_args, **_kwargs)
1685 return val
1686 def MetaDown(self, *_args, **_kwargs):
1687 val = gridc.wxGridRangeSelectEvent_MetaDown(self, *_args, **_kwargs)
1688 return val
1689 def ShiftDown(self, *_args, **_kwargs):
1690 val = gridc.wxGridRangeSelectEvent_ShiftDown(self, *_args, **_kwargs)
1691 return val
1692 def AltDown(self, *_args, **_kwargs):
1693 val = gridc.wxGridRangeSelectEvent_AltDown(self, *_args, **_kwargs)
1694 return val
1695 def __repr__(self):
1696 return "<%s.%s instance; proxy of C++ wxGridRangeSelectEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
1697 class wxGridRangeSelectEvent(wxGridRangeSelectEventPtr):
1698 def __init__(self,*_args,**_kwargs):
1699 self.this = gridc.new_wxGridRangeSelectEvent(*_args,**_kwargs)
1700 self.thisown = 1
1701
1702
1703
1704
1705 class wxGridEditorCreatedEventPtr(wxCommandEventPtr):
1706 def __init__(self,this):
1707 self.this = this
1708 self.thisown = 0
1709 def GetRow(self, *_args, **_kwargs):
1710 val = gridc.wxGridEditorCreatedEvent_GetRow(self, *_args, **_kwargs)
1711 return val
1712 def GetCol(self, *_args, **_kwargs):
1713 val = gridc.wxGridEditorCreatedEvent_GetCol(self, *_args, **_kwargs)
1714 return val
1715 def GetControl(self, *_args, **_kwargs):
1716 val = gridc.wxGridEditorCreatedEvent_GetControl(self, *_args, **_kwargs)
1717 return val
1718 def SetRow(self, *_args, **_kwargs):
1719 val = gridc.wxGridEditorCreatedEvent_SetRow(self, *_args, **_kwargs)
1720 return val
1721 def SetCol(self, *_args, **_kwargs):
1722 val = gridc.wxGridEditorCreatedEvent_SetCol(self, *_args, **_kwargs)
1723 return val
1724 def SetControl(self, *_args, **_kwargs):
1725 val = gridc.wxGridEditorCreatedEvent_SetControl(self, *_args, **_kwargs)
1726 return val
1727 def __repr__(self):
1728 return "<%s.%s instance; proxy of C++ wxGridEditorCreatedEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
1729 class wxGridEditorCreatedEvent(wxGridEditorCreatedEventPtr):
1730 def __init__(self,*_args,**_kwargs):
1731 self.this = gridc.new_wxGridEditorCreatedEvent(*_args,**_kwargs)
1732 self.thisown = 1
1733
1734
1735
1736
1737
1738
1739 #-------------- FUNCTION WRAPPERS ------------------
1740
1741
1742
1743 #-------------- VARIABLE WRAPPERS ------------------
1744
1745 wxGRID_VALUE_STRING = gridc.wxGRID_VALUE_STRING
1746 wxGRID_VALUE_BOOL = gridc.wxGRID_VALUE_BOOL
1747 wxGRID_VALUE_NUMBER = gridc.wxGRID_VALUE_NUMBER
1748 wxGRID_VALUE_FLOAT = gridc.wxGRID_VALUE_FLOAT
1749 wxGRID_VALUE_CHOICE = gridc.wxGRID_VALUE_CHOICE
1750 wxGRID_VALUE_TEXT = gridc.wxGRID_VALUE_TEXT
1751 wxGRID_VALUE_LONG = gridc.wxGRID_VALUE_LONG
1752 wxGRID_VALUE_CHOICEINT = gridc.wxGRID_VALUE_CHOICEINT
1753 wxGRID_VALUE_DATETIME = gridc.wxGRID_VALUE_DATETIME
1754 cvar = gridc.cvar
1755 wxGridNoCellCoords = wxGridCellCoordsPtr(gridc.cvar.wxGridNoCellCoords)
1756 wxGridNoCellRect = wxRectPtr(gridc.cvar.wxGridNoCellRect)
1757 wxGRIDTABLE_REQUEST_VIEW_GET_VALUES = gridc.wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
1758 wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES = gridc.wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
1759 wxGRIDTABLE_NOTIFY_ROWS_INSERTED = gridc.wxGRIDTABLE_NOTIFY_ROWS_INSERTED
1760 wxGRIDTABLE_NOTIFY_ROWS_APPENDED = gridc.wxGRIDTABLE_NOTIFY_ROWS_APPENDED
1761 wxGRIDTABLE_NOTIFY_ROWS_DELETED = gridc.wxGRIDTABLE_NOTIFY_ROWS_DELETED
1762 wxGRIDTABLE_NOTIFY_COLS_INSERTED = gridc.wxGRIDTABLE_NOTIFY_COLS_INSERTED
1763 wxGRIDTABLE_NOTIFY_COLS_APPENDED = gridc.wxGRIDTABLE_NOTIFY_COLS_APPENDED
1764 wxGRIDTABLE_NOTIFY_COLS_DELETED = gridc.wxGRIDTABLE_NOTIFY_COLS_DELETED
1765 wxEVT_GRID_CELL_LEFT_CLICK = gridc.wxEVT_GRID_CELL_LEFT_CLICK
1766 wxEVT_GRID_CELL_RIGHT_CLICK = gridc.wxEVT_GRID_CELL_RIGHT_CLICK
1767 wxEVT_GRID_CELL_LEFT_DCLICK = gridc.wxEVT_GRID_CELL_LEFT_DCLICK
1768 wxEVT_GRID_CELL_RIGHT_DCLICK = gridc.wxEVT_GRID_CELL_RIGHT_DCLICK
1769 wxEVT_GRID_LABEL_LEFT_CLICK = gridc.wxEVT_GRID_LABEL_LEFT_CLICK
1770 wxEVT_GRID_LABEL_RIGHT_CLICK = gridc.wxEVT_GRID_LABEL_RIGHT_CLICK
1771 wxEVT_GRID_LABEL_LEFT_DCLICK = gridc.wxEVT_GRID_LABEL_LEFT_DCLICK
1772 wxEVT_GRID_LABEL_RIGHT_DCLICK = gridc.wxEVT_GRID_LABEL_RIGHT_DCLICK
1773 wxEVT_GRID_ROW_SIZE = gridc.wxEVT_GRID_ROW_SIZE
1774 wxEVT_GRID_COL_SIZE = gridc.wxEVT_GRID_COL_SIZE
1775 wxEVT_GRID_RANGE_SELECT = gridc.wxEVT_GRID_RANGE_SELECT
1776 wxEVT_GRID_CELL_CHANGE = gridc.wxEVT_GRID_CELL_CHANGE
1777 wxEVT_GRID_SELECT_CELL = gridc.wxEVT_GRID_SELECT_CELL
1778 wxEVT_GRID_EDITOR_SHOWN = gridc.wxEVT_GRID_EDITOR_SHOWN
1779 wxEVT_GRID_EDITOR_HIDDEN = gridc.wxEVT_GRID_EDITOR_HIDDEN
1780 wxEVT_GRID_EDITOR_CREATED = gridc.wxEVT_GRID_EDITOR_CREATED
1781
1782
1783 #-------------- USER INCLUDE -----------------------
1784
1785
1786
1787 # Stuff these names into the wx namespace so wxPyConstructObject can find them
1788
1789 wx.wxGridEventPtr = wxGridEventPtr
1790 wx.wxGridSizeEventPtr = wxGridSizeEventPtr
1791 wx.wxGridRangeSelectEventPtr = wxGridRangeSelectEventPtr
1792 wx.wxGridEditorCreatedEventPtr = wxGridEditorCreatedEventPtr
1793 wx.wxGridCellRendererPtr = wxGridCellRendererPtr
1794 wx.wxPyGridCellRendererPtr = wxPyGridCellRendererPtr
1795 wx.wxGridCellEditorPtr = wxGridCellEditorPtr
1796 wx.wxPyGridCellEditorPtr = wxPyGridCellEditorPtr
1797 wx.wxGridCellAttrPtr = wxGridCellAttrPtr
1798 wx.wxGridCellAttrProviderPtr = wxGridCellAttrProviderPtr
1799 wx.wxPyGridCellAttrProviderPtr = wxPyGridCellAttrProviderPtr
1800 wx.wxGridTableBasePtr = wxGridTableBasePtr
1801 wx.wxPyGridTableBasePtr = wxPyGridTableBasePtr
1802 wx.wxGridTableMessagePtr = wxGridTableMessagePtr
1803 wx.wxGridCellCoordsPtr = wxGridCellCoordsPtr
1804 wx.wxGridPtr = wxGridPtr