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