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