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