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