1 # This file was created automatically by SWIG.
10 from clip_dnd
import *
12 from controls
import *
17 def EVT_GRID_CELL_LEFT_CLICK(win
, fn
):
18 win
.Connect(-1, -1, wxEVT_GRID_CELL_LEFT_CLICK
, fn
)
20 def EVT_GRID_CELL_RIGHT_CLICK(win
, fn
):
21 win
.Connect(-1, -1, wxEVT_GRID_CELL_RIGHT_CLICK
, fn
)
23 def EVT_GRID_CELL_LEFT_DCLICK(win
, fn
):
24 win
.Connect(-1, -1, wxEVT_GRID_CELL_LEFT_DCLICK
, fn
)
26 def EVT_GRID_CELL_RIGHT_DCLICK(win
, fn
):
27 win
.Connect(-1, -1, wxEVT_GRID_CELL_RIGHT_DCLICK
, fn
)
29 def EVT_GRID_LABEL_LEFT_CLICK(win
, fn
):
30 win
.Connect(-1, -1, wxEVT_GRID_LABEL_LEFT_CLICK
, fn
)
32 def EVT_GRID_LABEL_RIGHT_CLICK(win
, fn
):
33 win
.Connect(-1, -1, wxEVT_GRID_LABEL_RIGHT_CLICK
, fn
)
35 def EVT_GRID_LABEL_LEFT_DCLICK(win
, fn
):
36 win
.Connect(-1, -1, wxEVT_GRID_LABEL_LEFT_DCLICK
, fn
)
38 def EVT_GRID_LABEL_RIGHT_DCLICK(win
, fn
):
39 win
.Connect(-1, -1, wxEVT_GRID_LABEL_RIGHT_DCLICK
, fn
)
41 def EVT_GRID_ROW_SIZE(win
, fn
):
42 win
.Connect(-1, -1, wxEVT_GRID_ROW_SIZE
, fn
)
44 def EVT_GRID_COL_SIZE(win
, fn
):
45 win
.Connect(-1, -1, wxEVT_GRID_COL_SIZE
, fn
)
47 def EVT_GRID_RANGE_SELECT(win
, fn
):
48 win
.Connect(-1, -1, wxEVT_GRID_RANGE_SELECT
, fn
)
50 def EVT_GRID_CELL_CHANGE(win
, fn
):
51 win
.Connect(-1, -1, wxEVT_GRID_CELL_CHANGE
, fn
)
53 def EVT_GRID_SELECT_CELL(win
, fn
):
54 win
.Connect(-1, -1, wxEVT_GRID_SELECT_CELL
, fn
)
56 def EVT_GRID_EDITOR_SHOWN(win
, fn
):
57 win
.Connect(-1, -1, wxEVT_GRID_EDITOR_SHOWN
, fn
)
59 def EVT_GRID_EDITOR_HIDDEN(win
, fn
):
60 win
.Connect(-1, -1, wxEVT_GRID_EDITOR_HIDDEN
, fn
)
62 def EVT_GRID_EDITOR_CREATED(win
, fn
):
63 win
.Connect(-1, -1, wxEVT_GRID_EDITOR_CREATED
, fn
)
66 class wxGridCellRendererPtr
:
67 def __init__(self
,this
):
70 def SetParameters(self
, *_args
, **_kwargs
):
71 val
= apply(gridc
.wxGridCellRenderer_SetParameters
,(self
,) + _args
, _kwargs
)
73 def IncRef(self
, *_args
, **_kwargs
):
74 val
= apply(gridc
.wxGridCellRenderer_IncRef
,(self
,) + _args
, _kwargs
)
76 def DecRef(self
, *_args
, **_kwargs
):
77 val
= apply(gridc
.wxGridCellRenderer_DecRef
,(self
,) + _args
, _kwargs
)
79 def Draw(self
, *_args
, **_kwargs
):
80 val
= apply(gridc
.wxGridCellRenderer_Draw
,(self
,) + _args
, _kwargs
)
82 def GetBestSize(self
, *_args
, **_kwargs
):
83 val
= apply(gridc
.wxGridCellRenderer_GetBestSize
,(self
,) + _args
, _kwargs
)
84 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
86 def Clone(self
, *_args
, **_kwargs
):
87 val
= apply(gridc
.wxGridCellRenderer_Clone
,(self
,) + _args
, _kwargs
)
88 if val
: val
= wxGridCellRendererPtr(val
)
91 return "<C wxGridCellRenderer instance at %s>" % (self
.this
,)
92 class wxGridCellRenderer(wxGridCellRendererPtr
):
93 def __init__(self
,this
):
99 class wxPyGridCellRendererPtr(wxGridCellRendererPtr
):
100 def __init__(self
,this
):
103 def _setSelf(self
, *_args
, **_kwargs
):
104 val
= apply(gridc
.wxPyGridCellRenderer__setSelf
,(self
,) + _args
, _kwargs
)
106 def base_SetParameters(self
, *_args
, **_kwargs
):
107 val
= apply(gridc
.wxPyGridCellRenderer_base_SetParameters
,(self
,) + _args
, _kwargs
)
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
)
115 self
._setSelf
(self
, wxPyGridCellRenderer
)
120 class wxGridCellStringRendererPtr(wxGridCellRendererPtr
):
121 def __init__(self
,this
):
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
)
134 class wxGridCellNumberRendererPtr(wxGridCellStringRendererPtr
):
135 def __init__(self
,this
):
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
)
148 class wxGridCellFloatRendererPtr(wxGridCellStringRendererPtr
):
149 def __init__(self
,this
):
152 def GetWidth(self
, *_args
, **_kwargs
):
153 val
= apply(gridc
.wxGridCellFloatRenderer_GetWidth
,(self
,) + _args
, _kwargs
)
155 def SetWidth(self
, *_args
, **_kwargs
):
156 val
= apply(gridc
.wxGridCellFloatRenderer_SetWidth
,(self
,) + _args
, _kwargs
)
158 def GetPrecision(self
, *_args
, **_kwargs
):
159 val
= apply(gridc
.wxGridCellFloatRenderer_GetPrecision
,(self
,) + _args
, _kwargs
)
161 def SetPrecision(self
, *_args
, **_kwargs
):
162 val
= apply(gridc
.wxGridCellFloatRenderer_SetPrecision
,(self
,) + _args
, _kwargs
)
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
)
174 class wxGridCellBoolRendererPtr(wxGridCellRendererPtr
):
175 def __init__(self
,this
):
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
)
188 class wxGridCellEditorPtr
:
189 def __init__(self
,this
):
192 def IsCreated(self
, *_args
, **_kwargs
):
193 val
= apply(gridc
.wxGridCellEditor_IsCreated
,(self
,) + _args
, _kwargs
)
195 def GetControl(self
, *_args
, **_kwargs
):
196 val
= apply(gridc
.wxGridCellEditor_GetControl
,(self
,) + _args
, _kwargs
)
198 def SetControl(self
, *_args
, **_kwargs
):
199 val
= apply(gridc
.wxGridCellEditor_SetControl
,(self
,) + _args
, _kwargs
)
201 def SetParameters(self
, *_args
, **_kwargs
):
202 val
= apply(gridc
.wxGridCellEditor_SetParameters
,(self
,) + _args
, _kwargs
)
204 def IncRef(self
, *_args
, **_kwargs
):
205 val
= apply(gridc
.wxGridCellEditor_IncRef
,(self
,) + _args
, _kwargs
)
207 def DecRef(self
, *_args
, **_kwargs
):
208 val
= apply(gridc
.wxGridCellEditor_DecRef
,(self
,) + _args
, _kwargs
)
210 def Create(self
, *_args
, **_kwargs
):
211 val
= apply(gridc
.wxGridCellEditor_Create
,(self
,) + _args
, _kwargs
)
213 def BeginEdit(self
, *_args
, **_kwargs
):
214 val
= apply(gridc
.wxGridCellEditor_BeginEdit
,(self
,) + _args
, _kwargs
)
216 def EndEdit(self
, *_args
, **_kwargs
):
217 val
= apply(gridc
.wxGridCellEditor_EndEdit
,(self
,) + _args
, _kwargs
)
219 def Reset(self
, *_args
, **_kwargs
):
220 val
= apply(gridc
.wxGridCellEditor_Reset
,(self
,) + _args
, _kwargs
)
222 def Clone(self
, *_args
, **_kwargs
):
223 val
= apply(gridc
.wxGridCellEditor_Clone
,(self
,) + _args
, _kwargs
)
224 if val
: val
= wxGridCellEditorPtr(val
)
226 def SetSize(self
, *_args
, **_kwargs
):
227 val
= apply(gridc
.wxGridCellEditor_SetSize
,(self
,) + _args
, _kwargs
)
229 def Show(self
, *_args
, **_kwargs
):
230 val
= apply(gridc
.wxGridCellEditor_Show
,(self
,) + _args
, _kwargs
)
232 def PaintBackground(self
, *_args
, **_kwargs
):
233 val
= apply(gridc
.wxGridCellEditor_PaintBackground
,(self
,) + _args
, _kwargs
)
235 def IsAcceptedKey(self
, *_args
, **_kwargs
):
236 val
= apply(gridc
.wxGridCellEditor_IsAcceptedKey
,(self
,) + _args
, _kwargs
)
238 def StartingKey(self
, *_args
, **_kwargs
):
239 val
= apply(gridc
.wxGridCellEditor_StartingKey
,(self
,) + _args
, _kwargs
)
241 def StartingClick(self
, *_args
, **_kwargs
):
242 val
= apply(gridc
.wxGridCellEditor_StartingClick
,(self
,) + _args
, _kwargs
)
244 def HandleReturn(self
, *_args
, **_kwargs
):
245 val
= apply(gridc
.wxGridCellEditor_HandleReturn
,(self
,) + _args
, _kwargs
)
247 def Destroy(self
, *_args
, **_kwargs
):
248 val
= apply(gridc
.wxGridCellEditor_Destroy
,(self
,) + _args
, _kwargs
)
251 return "<C wxGridCellEditor instance at %s>" % (self
.this
,)
252 class wxGridCellEditor(wxGridCellEditorPtr
):
253 def __init__(self
,this
):
259 class wxPyGridCellEditorPtr(wxGridCellEditorPtr
):
260 def __init__(self
,this
):
263 def _setSelf(self
, *_args
, **_kwargs
):
264 val
= apply(gridc
.wxPyGridCellEditor__setSelf
,(self
,) + _args
, _kwargs
)
266 def base_SetSize(self
, *_args
, **_kwargs
):
267 val
= apply(gridc
.wxPyGridCellEditor_base_SetSize
,(self
,) + _args
, _kwargs
)
269 def base_Show(self
, *_args
, **_kwargs
):
270 val
= apply(gridc
.wxPyGridCellEditor_base_Show
,(self
,) + _args
, _kwargs
)
272 def base_PaintBackground(self
, *_args
, **_kwargs
):
273 val
= apply(gridc
.wxPyGridCellEditor_base_PaintBackground
,(self
,) + _args
, _kwargs
)
275 def base_IsAcceptedKey(self
, *_args
, **_kwargs
):
276 val
= apply(gridc
.wxPyGridCellEditor_base_IsAcceptedKey
,(self
,) + _args
, _kwargs
)
278 def base_StartingKey(self
, *_args
, **_kwargs
):
279 val
= apply(gridc
.wxPyGridCellEditor_base_StartingKey
,(self
,) + _args
, _kwargs
)
281 def base_StartingClick(self
, *_args
, **_kwargs
):
282 val
= apply(gridc
.wxPyGridCellEditor_base_StartingClick
,(self
,) + _args
, _kwargs
)
284 def base_HandleReturn(self
, *_args
, **_kwargs
):
285 val
= apply(gridc
.wxPyGridCellEditor_base_HandleReturn
,(self
,) + _args
, _kwargs
)
287 def base_Destroy(self
, *_args
, **_kwargs
):
288 val
= apply(gridc
.wxPyGridCellEditor_base_Destroy
,(self
,) + _args
, _kwargs
)
290 def base_SetParameters(self
, *_args
, **_kwargs
):
291 val
= apply(gridc
.wxPyGridCellEditor_base_SetParameters
,(self
,) + _args
, _kwargs
)
294 return "<C wxPyGridCellEditor instance at %s>" % (self
.this
,)
295 class wxPyGridCellEditor(wxPyGridCellEditorPtr
):
296 def __init__(self
,*_args
,**_kwargs
):
297 self
.this
= apply(gridc
.new_wxPyGridCellEditor
,_args
,_kwargs
)
299 self
._setSelf
(self
, wxPyGridCellEditor
)
304 class wxGridCellTextEditorPtr(wxGridCellEditorPtr
):
305 def __init__(self
,this
):
309 return "<C wxGridCellTextEditor instance at %s>" % (self
.this
,)
310 class wxGridCellTextEditor(wxGridCellTextEditorPtr
):
311 def __init__(self
,*_args
,**_kwargs
):
312 self
.this
= apply(gridc
.new_wxGridCellTextEditor
,_args
,_kwargs
)
318 class wxGridCellNumberEditorPtr(wxGridCellTextEditorPtr
):
319 def __init__(self
,this
):
323 return "<C wxGridCellNumberEditor instance at %s>" % (self
.this
,)
324 class wxGridCellNumberEditor(wxGridCellNumberEditorPtr
):
325 def __init__(self
,*_args
,**_kwargs
):
326 self
.this
= apply(gridc
.new_wxGridCellNumberEditor
,_args
,_kwargs
)
332 class wxGridCellFloatEditorPtr(wxGridCellTextEditorPtr
):
333 def __init__(self
,this
):
337 return "<C wxGridCellFloatEditor instance at %s>" % (self
.this
,)
338 class wxGridCellFloatEditor(wxGridCellFloatEditorPtr
):
339 def __init__(self
,*_args
,**_kwargs
):
340 self
.this
= apply(gridc
.new_wxGridCellFloatEditor
,_args
,_kwargs
)
346 class wxGridCellBoolEditorPtr(wxGridCellEditorPtr
):
347 def __init__(self
,this
):
351 return "<C wxGridCellBoolEditor instance at %s>" % (self
.this
,)
352 class wxGridCellBoolEditor(wxGridCellBoolEditorPtr
):
353 def __init__(self
,*_args
,**_kwargs
):
354 self
.this
= apply(gridc
.new_wxGridCellBoolEditor
,_args
,_kwargs
)
360 class wxGridCellChoiceEditorPtr(wxGridCellEditorPtr
):
361 def __init__(self
,this
):
365 return "<C wxGridCellChoiceEditor instance at %s>" % (self
.this
,)
366 class wxGridCellChoiceEditor(wxGridCellChoiceEditorPtr
):
367 def __init__(self
,*_args
,**_kwargs
):
368 self
.this
= apply(gridc
.new_wxGridCellChoiceEditor
,_args
,_kwargs
)
374 class wxGridCellAttrPtr
:
375 Any
= gridc
.wxGridCellAttr_Any
376 Default
= gridc
.wxGridCellAttr_Default
377 Cell
= gridc
.wxGridCellAttr_Cell
378 Row
= gridc
.wxGridCellAttr_Row
379 Col
= gridc
.wxGridCellAttr_Col
380 Merged
= gridc
.wxGridCellAttr_Merged
381 def __init__(self
,this
):
384 def Clone(self
, *_args
, **_kwargs
):
385 val
= apply(gridc
.wxGridCellAttr_Clone
,(self
,) + _args
, _kwargs
)
386 if val
: val
= wxGridCellAttrPtr(val
)
388 def MergeWith(self
, *_args
, **_kwargs
):
389 val
= apply(gridc
.wxGridCellAttr_MergeWith
,(self
,) + _args
, _kwargs
)
391 def IncRef(self
, *_args
, **_kwargs
):
392 val
= apply(gridc
.wxGridCellAttr_IncRef
,(self
,) + _args
, _kwargs
)
394 def DecRef(self
, *_args
, **_kwargs
):
395 val
= apply(gridc
.wxGridCellAttr_DecRef
,(self
,) + _args
, _kwargs
)
397 def SetTextColour(self
, *_args
, **_kwargs
):
398 val
= apply(gridc
.wxGridCellAttr_SetTextColour
,(self
,) + _args
, _kwargs
)
400 def SetBackgroundColour(self
, *_args
, **_kwargs
):
401 val
= apply(gridc
.wxGridCellAttr_SetBackgroundColour
,(self
,) + _args
, _kwargs
)
403 def SetFont(self
, *_args
, **_kwargs
):
404 val
= apply(gridc
.wxGridCellAttr_SetFont
,(self
,) + _args
, _kwargs
)
406 def SetAlignment(self
, *_args
, **_kwargs
):
407 val
= apply(gridc
.wxGridCellAttr_SetAlignment
,(self
,) + _args
, _kwargs
)
409 def SetReadOnly(self
, *_args
, **_kwargs
):
410 val
= apply(gridc
.wxGridCellAttr_SetReadOnly
,(self
,) + _args
, _kwargs
)
412 def SetRenderer(self
, *_args
, **_kwargs
):
413 val
= apply(gridc
.wxGridCellAttr_SetRenderer
,(self
,) + _args
, _kwargs
)
415 def SetEditor(self
, *_args
, **_kwargs
):
416 val
= apply(gridc
.wxGridCellAttr_SetEditor
,(self
,) + _args
, _kwargs
)
418 def SetKind(self
, *_args
, **_kwargs
):
419 val
= apply(gridc
.wxGridCellAttr_SetKind
,(self
,) + _args
, _kwargs
)
421 def HasTextColour(self
, *_args
, **_kwargs
):
422 val
= apply(gridc
.wxGridCellAttr_HasTextColour
,(self
,) + _args
, _kwargs
)
424 def HasBackgroundColour(self
, *_args
, **_kwargs
):
425 val
= apply(gridc
.wxGridCellAttr_HasBackgroundColour
,(self
,) + _args
, _kwargs
)
427 def HasFont(self
, *_args
, **_kwargs
):
428 val
= apply(gridc
.wxGridCellAttr_HasFont
,(self
,) + _args
, _kwargs
)
430 def HasAlignment(self
, *_args
, **_kwargs
):
431 val
= apply(gridc
.wxGridCellAttr_HasAlignment
,(self
,) + _args
, _kwargs
)
433 def HasRenderer(self
, *_args
, **_kwargs
):
434 val
= apply(gridc
.wxGridCellAttr_HasRenderer
,(self
,) + _args
, _kwargs
)
436 def HasEditor(self
, *_args
, **_kwargs
):
437 val
= apply(gridc
.wxGridCellAttr_HasEditor
,(self
,) + _args
, _kwargs
)
439 def HasReadWriteMode(self
, *_args
, **_kwargs
):
440 val
= apply(gridc
.wxGridCellAttr_HasReadWriteMode
,(self
,) + _args
, _kwargs
)
442 def GetTextColour(self
, *_args
, **_kwargs
):
443 val
= apply(gridc
.wxGridCellAttr_GetTextColour
,(self
,) + _args
, _kwargs
)
444 if val
: val
= wxColourPtr(val
)
446 def GetBackgroundColour(self
, *_args
, **_kwargs
):
447 val
= apply(gridc
.wxGridCellAttr_GetBackgroundColour
,(self
,) + _args
, _kwargs
)
448 if val
: val
= wxColourPtr(val
)
450 def GetFont(self
, *_args
, **_kwargs
):
451 val
= apply(gridc
.wxGridCellAttr_GetFont
,(self
,) + _args
, _kwargs
)
452 if val
: val
= wxFontPtr(val
)
454 def GetAlignment(self
, *_args
, **_kwargs
):
455 val
= apply(gridc
.wxGridCellAttr_GetAlignment
,(self
,) + _args
, _kwargs
)
457 def GetRenderer(self
, *_args
, **_kwargs
):
458 val
= apply(gridc
.wxGridCellAttr_GetRenderer
,(self
,) + _args
, _kwargs
)
459 if val
: val
= wxGridCellRendererPtr(val
)
461 def GetEditor(self
, *_args
, **_kwargs
):
462 val
= apply(gridc
.wxGridCellAttr_GetEditor
,(self
,) + _args
, _kwargs
)
463 if val
: val
= wxGridCellEditorPtr(val
)
465 def IsReadOnly(self
, *_args
, **_kwargs
):
466 val
= apply(gridc
.wxGridCellAttr_IsReadOnly
,(self
,) + _args
, _kwargs
)
468 def SetDefAttr(self
, *_args
, **_kwargs
):
469 val
= apply(gridc
.wxGridCellAttr_SetDefAttr
,(self
,) + _args
, _kwargs
)
472 return "<C wxGridCellAttr instance at %s>" % (self
.this
,)
473 class wxGridCellAttr(wxGridCellAttrPtr
):
474 def __init__(self
,*_args
,**_kwargs
):
475 self
.this
= apply(gridc
.new_wxGridCellAttr
,_args
,_kwargs
)
481 class wxGridCellAttrProviderPtr
:
482 def __init__(self
,this
):
485 def GetAttr(self
, *_args
, **_kwargs
):
486 val
= apply(gridc
.wxGridCellAttrProvider_GetAttr
,(self
,) + _args
, _kwargs
)
487 if val
: val
= wxGridCellAttrPtr(val
)
489 def SetAttr(self
, *_args
, **_kwargs
):
490 val
= apply(gridc
.wxGridCellAttrProvider_SetAttr
,(self
,) + _args
, _kwargs
)
492 def SetRowAttr(self
, *_args
, **_kwargs
):
493 val
= apply(gridc
.wxGridCellAttrProvider_SetRowAttr
,(self
,) + _args
, _kwargs
)
495 def SetColAttr(self
, *_args
, **_kwargs
):
496 val
= apply(gridc
.wxGridCellAttrProvider_SetColAttr
,(self
,) + _args
, _kwargs
)
498 def UpdateAttrRows(self
, *_args
, **_kwargs
):
499 val
= apply(gridc
.wxGridCellAttrProvider_UpdateAttrRows
,(self
,) + _args
, _kwargs
)
501 def UpdateAttrCols(self
, *_args
, **_kwargs
):
502 val
= apply(gridc
.wxGridCellAttrProvider_UpdateAttrCols
,(self
,) + _args
, _kwargs
)
505 return "<C wxGridCellAttrProvider instance at %s>" % (self
.this
,)
506 class wxGridCellAttrProvider(wxGridCellAttrProviderPtr
):
507 def __init__(self
,*_args
,**_kwargs
):
508 self
.this
= apply(gridc
.new_wxGridCellAttrProvider
,_args
,_kwargs
)
514 class wxPyGridCellAttrProviderPtr(wxGridCellAttrProviderPtr
):
515 def __init__(self
,this
):
518 def _setSelf(self
, *_args
, **_kwargs
):
519 val
= apply(gridc
.wxPyGridCellAttrProvider__setSelf
,(self
,) + _args
, _kwargs
)
521 def base_GetAttr(self
, *_args
, **_kwargs
):
522 val
= apply(gridc
.wxPyGridCellAttrProvider_base_GetAttr
,(self
,) + _args
, _kwargs
)
523 if val
: val
= wxGridCellAttrPtr(val
)
525 def base_SetAttr(self
, *_args
, **_kwargs
):
526 val
= apply(gridc
.wxPyGridCellAttrProvider_base_SetAttr
,(self
,) + _args
, _kwargs
)
528 def base_SetRowAttr(self
, *_args
, **_kwargs
):
529 val
= apply(gridc
.wxPyGridCellAttrProvider_base_SetRowAttr
,(self
,) + _args
, _kwargs
)
531 def base_SetColAttr(self
, *_args
, **_kwargs
):
532 val
= apply(gridc
.wxPyGridCellAttrProvider_base_SetColAttr
,(self
,) + _args
, _kwargs
)
535 return "<C wxPyGridCellAttrProvider instance at %s>" % (self
.this
,)
536 class wxPyGridCellAttrProvider(wxPyGridCellAttrProviderPtr
):
537 def __init__(self
,*_args
,**_kwargs
):
538 self
.this
= apply(gridc
.new_wxPyGridCellAttrProvider
,_args
,_kwargs
)
540 self
._setSelf
(self
, wxPyGridCellAttrProvider
)
545 class wxGridTableBasePtr(wxObjectPtr
):
546 def __init__(self
,this
):
549 def SetAttrProvider(self
, *_args
, **_kwargs
):
550 val
= apply(gridc
.wxGridTableBase_SetAttrProvider
,(self
,) + _args
, _kwargs
)
552 def GetAttrProvider(self
, *_args
, **_kwargs
):
553 val
= apply(gridc
.wxGridTableBase_GetAttrProvider
,(self
,) + _args
, _kwargs
)
554 if val
: val
= wxGridCellAttrProviderPtr(val
)
556 def SetView(self
, *_args
, **_kwargs
):
557 val
= apply(gridc
.wxGridTableBase_SetView
,(self
,) + _args
, _kwargs
)
559 def GetView(self
, *_args
, **_kwargs
):
560 val
= apply(gridc
.wxGridTableBase_GetView
,(self
,) + _args
, _kwargs
)
562 def GetNumberRows(self
, *_args
, **_kwargs
):
563 val
= apply(gridc
.wxGridTableBase_GetNumberRows
,(self
,) + _args
, _kwargs
)
565 def GetNumberCols(self
, *_args
, **_kwargs
):
566 val
= apply(gridc
.wxGridTableBase_GetNumberCols
,(self
,) + _args
, _kwargs
)
568 def IsEmptyCell(self
, *_args
, **_kwargs
):
569 val
= apply(gridc
.wxGridTableBase_IsEmptyCell
,(self
,) + _args
, _kwargs
)
571 def GetValue(self
, *_args
, **_kwargs
):
572 val
= apply(gridc
.wxGridTableBase_GetValue
,(self
,) + _args
, _kwargs
)
574 def SetValue(self
, *_args
, **_kwargs
):
575 val
= apply(gridc
.wxGridTableBase_SetValue
,(self
,) + _args
, _kwargs
)
577 def GetTypeName(self
, *_args
, **_kwargs
):
578 val
= apply(gridc
.wxGridTableBase_GetTypeName
,(self
,) + _args
, _kwargs
)
580 def CanGetValueAs(self
, *_args
, **_kwargs
):
581 val
= apply(gridc
.wxGridTableBase_CanGetValueAs
,(self
,) + _args
, _kwargs
)
583 def CanSetValueAs(self
, *_args
, **_kwargs
):
584 val
= apply(gridc
.wxGridTableBase_CanSetValueAs
,(self
,) + _args
, _kwargs
)
586 def GetValueAsLong(self
, *_args
, **_kwargs
):
587 val
= apply(gridc
.wxGridTableBase_GetValueAsLong
,(self
,) + _args
, _kwargs
)
589 def GetValueAsDouble(self
, *_args
, **_kwargs
):
590 val
= apply(gridc
.wxGridTableBase_GetValueAsDouble
,(self
,) + _args
, _kwargs
)
592 def GetValueAsBool(self
, *_args
, **_kwargs
):
593 val
= apply(gridc
.wxGridTableBase_GetValueAsBool
,(self
,) + _args
, _kwargs
)
595 def SetValueAsLong(self
, *_args
, **_kwargs
):
596 val
= apply(gridc
.wxGridTableBase_SetValueAsLong
,(self
,) + _args
, _kwargs
)
598 def SetValueAsDouble(self
, *_args
, **_kwargs
):
599 val
= apply(gridc
.wxGridTableBase_SetValueAsDouble
,(self
,) + _args
, _kwargs
)
601 def SetValueAsBool(self
, *_args
, **_kwargs
):
602 val
= apply(gridc
.wxGridTableBase_SetValueAsBool
,(self
,) + _args
, _kwargs
)
604 def Clear(self
, *_args
, **_kwargs
):
605 val
= apply(gridc
.wxGridTableBase_Clear
,(self
,) + _args
, _kwargs
)
607 def InsertRows(self
, *_args
, **_kwargs
):
608 val
= apply(gridc
.wxGridTableBase_InsertRows
,(self
,) + _args
, _kwargs
)
610 def AppendRows(self
, *_args
, **_kwargs
):
611 val
= apply(gridc
.wxGridTableBase_AppendRows
,(self
,) + _args
, _kwargs
)
613 def DeleteRows(self
, *_args
, **_kwargs
):
614 val
= apply(gridc
.wxGridTableBase_DeleteRows
,(self
,) + _args
, _kwargs
)
616 def InsertCols(self
, *_args
, **_kwargs
):
617 val
= apply(gridc
.wxGridTableBase_InsertCols
,(self
,) + _args
, _kwargs
)
619 def AppendCols(self
, *_args
, **_kwargs
):
620 val
= apply(gridc
.wxGridTableBase_AppendCols
,(self
,) + _args
, _kwargs
)
622 def DeleteCols(self
, *_args
, **_kwargs
):
623 val
= apply(gridc
.wxGridTableBase_DeleteCols
,(self
,) + _args
, _kwargs
)
625 def GetRowLabelValue(self
, *_args
, **_kwargs
):
626 val
= apply(gridc
.wxGridTableBase_GetRowLabelValue
,(self
,) + _args
, _kwargs
)
628 def GetColLabelValue(self
, *_args
, **_kwargs
):
629 val
= apply(gridc
.wxGridTableBase_GetColLabelValue
,(self
,) + _args
, _kwargs
)
631 def SetRowLabelValue(self
, *_args
, **_kwargs
):
632 val
= apply(gridc
.wxGridTableBase_SetRowLabelValue
,(self
,) + _args
, _kwargs
)
634 def SetColLabelValue(self
, *_args
, **_kwargs
):
635 val
= apply(gridc
.wxGridTableBase_SetColLabelValue
,(self
,) + _args
, _kwargs
)
637 def CanHaveAttributes(self
, *_args
, **_kwargs
):
638 val
= apply(gridc
.wxGridTableBase_CanHaveAttributes
,(self
,) + _args
, _kwargs
)
640 def GetAttr(self
, *_args
, **_kwargs
):
641 val
= apply(gridc
.wxGridTableBase_GetAttr
,(self
,) + _args
, _kwargs
)
642 if val
: val
= wxGridCellAttrPtr(val
)
644 def SetAttr(self
, *_args
, **_kwargs
):
645 val
= apply(gridc
.wxGridTableBase_SetAttr
,(self
,) + _args
, _kwargs
)
647 def SetRowAttr(self
, *_args
, **_kwargs
):
648 val
= apply(gridc
.wxGridTableBase_SetRowAttr
,(self
,) + _args
, _kwargs
)
650 def SetColAttr(self
, *_args
, **_kwargs
):
651 val
= apply(gridc
.wxGridTableBase_SetColAttr
,(self
,) + _args
, _kwargs
)
654 return "<C wxGridTableBase instance at %s>" % (self
.this
,)
655 class wxGridTableBase(wxGridTableBasePtr
):
656 def __init__(self
,this
):
662 class wxPyGridTableBasePtr(wxGridTableBasePtr
):
663 def __init__(self
,this
):
666 def _setSelf(self
, *_args
, **_kwargs
):
667 val
= apply(gridc
.wxPyGridTableBase__setSelf
,(self
,) + _args
, _kwargs
)
669 def Destroy(self
, *_args
, **_kwargs
):
670 val
= apply(gridc
.wxPyGridTableBase_Destroy
,(self
,) + _args
, _kwargs
)
672 def base_GetTypeName(self
, *_args
, **_kwargs
):
673 val
= apply(gridc
.wxPyGridTableBase_base_GetTypeName
,(self
,) + _args
, _kwargs
)
675 def base_CanGetValueAs(self
, *_args
, **_kwargs
):
676 val
= apply(gridc
.wxPyGridTableBase_base_CanGetValueAs
,(self
,) + _args
, _kwargs
)
678 def base_CanSetValueAs(self
, *_args
, **_kwargs
):
679 val
= apply(gridc
.wxPyGridTableBase_base_CanSetValueAs
,(self
,) + _args
, _kwargs
)
681 def base_Clear(self
, *_args
, **_kwargs
):
682 val
= apply(gridc
.wxPyGridTableBase_base_Clear
,(self
,) + _args
, _kwargs
)
684 def base_InsertRows(self
, *_args
, **_kwargs
):
685 val
= apply(gridc
.wxPyGridTableBase_base_InsertRows
,(self
,) + _args
, _kwargs
)
687 def base_AppendRows(self
, *_args
, **_kwargs
):
688 val
= apply(gridc
.wxPyGridTableBase_base_AppendRows
,(self
,) + _args
, _kwargs
)
690 def base_DeleteRows(self
, *_args
, **_kwargs
):
691 val
= apply(gridc
.wxPyGridTableBase_base_DeleteRows
,(self
,) + _args
, _kwargs
)
693 def base_InsertCols(self
, *_args
, **_kwargs
):
694 val
= apply(gridc
.wxPyGridTableBase_base_InsertCols
,(self
,) + _args
, _kwargs
)
696 def base_AppendCols(self
, *_args
, **_kwargs
):
697 val
= apply(gridc
.wxPyGridTableBase_base_AppendCols
,(self
,) + _args
, _kwargs
)
699 def base_DeleteCols(self
, *_args
, **_kwargs
):
700 val
= apply(gridc
.wxPyGridTableBase_base_DeleteCols
,(self
,) + _args
, _kwargs
)
702 def base_GetRowLabelValue(self
, *_args
, **_kwargs
):
703 val
= apply(gridc
.wxPyGridTableBase_base_GetRowLabelValue
,(self
,) + _args
, _kwargs
)
705 def base_GetColLabelValue(self
, *_args
, **_kwargs
):
706 val
= apply(gridc
.wxPyGridTableBase_base_GetColLabelValue
,(self
,) + _args
, _kwargs
)
708 def base_SetRowLabelValue(self
, *_args
, **_kwargs
):
709 val
= apply(gridc
.wxPyGridTableBase_base_SetRowLabelValue
,(self
,) + _args
, _kwargs
)
711 def base_SetColLabelValue(self
, *_args
, **_kwargs
):
712 val
= apply(gridc
.wxPyGridTableBase_base_SetColLabelValue
,(self
,) + _args
, _kwargs
)
714 def base_CanHaveAttributes(self
, *_args
, **_kwargs
):
715 val
= apply(gridc
.wxPyGridTableBase_base_CanHaveAttributes
,(self
,) + _args
, _kwargs
)
717 def base_GetAttr(self
, *_args
, **_kwargs
):
718 val
= apply(gridc
.wxPyGridTableBase_base_GetAttr
,(self
,) + _args
, _kwargs
)
719 if val
: val
= wxGridCellAttrPtr(val
)
721 def base_SetAttr(self
, *_args
, **_kwargs
):
722 val
= apply(gridc
.wxPyGridTableBase_base_SetAttr
,(self
,) + _args
, _kwargs
)
724 def base_SetRowAttr(self
, *_args
, **_kwargs
):
725 val
= apply(gridc
.wxPyGridTableBase_base_SetRowAttr
,(self
,) + _args
, _kwargs
)
727 def base_SetColAttr(self
, *_args
, **_kwargs
):
728 val
= apply(gridc
.wxPyGridTableBase_base_SetColAttr
,(self
,) + _args
, _kwargs
)
731 return "<C wxPyGridTableBase instance at %s>" % (self
.this
,)
732 class wxPyGridTableBase(wxPyGridTableBasePtr
):
733 def __init__(self
,*_args
,**_kwargs
):
734 self
.this
= apply(gridc
.new_wxPyGridTableBase
,_args
,_kwargs
)
736 self
._setSelf
(self
, wxPyGridTableBase
)
741 class wxGridStringTablePtr(wxGridTableBasePtr
):
742 def __init__(self
,this
):
746 return "<C wxGridStringTable instance at %s>" % (self
.this
,)
747 class wxGridStringTable(wxGridStringTablePtr
):
748 def __init__(self
,*_args
,**_kwargs
):
749 self
.this
= apply(gridc
.new_wxGridStringTable
,_args
,_kwargs
)
755 class wxGridTableMessagePtr
:
756 def __init__(self
,this
):
759 def __del__(self
,gridc
=gridc
):
760 if self
.thisown
== 1 :
761 gridc
.delete_wxGridTableMessage(self
)
762 def SetTableObject(self
, *_args
, **_kwargs
):
763 val
= apply(gridc
.wxGridTableMessage_SetTableObject
,(self
,) + _args
, _kwargs
)
765 def GetTableObject(self
, *_args
, **_kwargs
):
766 val
= apply(gridc
.wxGridTableMessage_GetTableObject
,(self
,) + _args
, _kwargs
)
768 def SetId(self
, *_args
, **_kwargs
):
769 val
= apply(gridc
.wxGridTableMessage_SetId
,(self
,) + _args
, _kwargs
)
771 def GetId(self
, *_args
, **_kwargs
):
772 val
= apply(gridc
.wxGridTableMessage_GetId
,(self
,) + _args
, _kwargs
)
774 def SetCommandInt(self
, *_args
, **_kwargs
):
775 val
= apply(gridc
.wxGridTableMessage_SetCommandInt
,(self
,) + _args
, _kwargs
)
777 def GetCommandInt(self
, *_args
, **_kwargs
):
778 val
= apply(gridc
.wxGridTableMessage_GetCommandInt
,(self
,) + _args
, _kwargs
)
780 def SetCommandInt2(self
, *_args
, **_kwargs
):
781 val
= apply(gridc
.wxGridTableMessage_SetCommandInt2
,(self
,) + _args
, _kwargs
)
783 def GetCommandInt2(self
, *_args
, **_kwargs
):
784 val
= apply(gridc
.wxGridTableMessage_GetCommandInt2
,(self
,) + _args
, _kwargs
)
787 return "<C wxGridTableMessage instance at %s>" % (self
.this
,)
788 class wxGridTableMessage(wxGridTableMessagePtr
):
789 def __init__(self
,*_args
,**_kwargs
):
790 self
.this
= apply(gridc
.new_wxGridTableMessage
,_args
,_kwargs
)
796 class wxGridCellCoordsPtr
:
797 def __init__(self
,this
):
800 def __del__(self
,gridc
=gridc
):
801 if self
.thisown
== 1 :
802 gridc
.delete_wxGridCellCoords(self
)
803 def GetRow(self
, *_args
, **_kwargs
):
804 val
= apply(gridc
.wxGridCellCoords_GetRow
,(self
,) + _args
, _kwargs
)
806 def SetRow(self
, *_args
, **_kwargs
):
807 val
= apply(gridc
.wxGridCellCoords_SetRow
,(self
,) + _args
, _kwargs
)
809 def GetCol(self
, *_args
, **_kwargs
):
810 val
= apply(gridc
.wxGridCellCoords_GetCol
,(self
,) + _args
, _kwargs
)
812 def SetCol(self
, *_args
, **_kwargs
):
813 val
= apply(gridc
.wxGridCellCoords_SetCol
,(self
,) + _args
, _kwargs
)
815 def Set(self
, *_args
, **_kwargs
):
816 val
= apply(gridc
.wxGridCellCoords_Set
,(self
,) + _args
, _kwargs
)
818 def asTuple(self
, *_args
, **_kwargs
):
819 val
= apply(gridc
.wxGridCellCoords_asTuple
,(self
,) + _args
, _kwargs
)
821 def __cmp__(self
, *_args
, **_kwargs
):
822 val
= apply(gridc
.wxGridCellCoords___cmp__
,(self
,) + _args
, _kwargs
)
825 return "<C wxGridCellCoords instance at %s>" % (self
.this
,)
826 def __str__(self
): return str(self
.asTuple())
827 def __repr__(self
): return str(self
.asTuple())
828 class wxGridCellCoords(wxGridCellCoordsPtr
):
829 def __init__(self
,*_args
,**_kwargs
):
830 self
.this
= apply(gridc
.new_wxGridCellCoords
,_args
,_kwargs
)
836 class wxGridPtr(wxScrolledWindowPtr
):
837 wxGridSelectCells
= gridc
.wxGrid_wxGridSelectCells
838 wxGridSelectRows
= gridc
.wxGrid_wxGridSelectRows
839 wxGridSelectColumns
= gridc
.wxGrid_wxGridSelectColumns
840 def __init__(self
,this
):
843 def CreateGrid(self
, *_args
, **_kwargs
):
844 val
= apply(gridc
.wxGrid_CreateGrid
,(self
,) + _args
, _kwargs
)
846 def SetSelectionMode(self
, *_args
, **_kwargs
):
847 val
= apply(gridc
.wxGrid_SetSelectionMode
,(self
,) + _args
, _kwargs
)
849 def GetNumberRows(self
, *_args
, **_kwargs
):
850 val
= apply(gridc
.wxGrid_GetNumberRows
,(self
,) + _args
, _kwargs
)
852 def GetNumberCols(self
, *_args
, **_kwargs
):
853 val
= apply(gridc
.wxGrid_GetNumberCols
,(self
,) + _args
, _kwargs
)
855 def ProcessTableMessage(self
, *_args
, **_kwargs
):
856 val
= apply(gridc
.wxGrid_ProcessTableMessage
,(self
,) + _args
, _kwargs
)
858 def GetTable(self
, *_args
, **_kwargs
):
859 val
= apply(gridc
.wxGrid_GetTable
,(self
,) + _args
, _kwargs
)
861 def SetTable(self
, *_args
, **_kwargs
):
862 val
= apply(gridc
.wxGrid_SetTable
,(self
,) + _args
, _kwargs
)
864 def ClearGrid(self
, *_args
, **_kwargs
):
865 val
= apply(gridc
.wxGrid_ClearGrid
,(self
,) + _args
, _kwargs
)
867 def InsertRows(self
, *_args
, **_kwargs
):
868 val
= apply(gridc
.wxGrid_InsertRows
,(self
,) + _args
, _kwargs
)
870 def AppendRows(self
, *_args
, **_kwargs
):
871 val
= apply(gridc
.wxGrid_AppendRows
,(self
,) + _args
, _kwargs
)
873 def DeleteRows(self
, *_args
, **_kwargs
):
874 val
= apply(gridc
.wxGrid_DeleteRows
,(self
,) + _args
, _kwargs
)
876 def InsertCols(self
, *_args
, **_kwargs
):
877 val
= apply(gridc
.wxGrid_InsertCols
,(self
,) + _args
, _kwargs
)
879 def AppendCols(self
, *_args
, **_kwargs
):
880 val
= apply(gridc
.wxGrid_AppendCols
,(self
,) + _args
, _kwargs
)
882 def DeleteCols(self
, *_args
, **_kwargs
):
883 val
= apply(gridc
.wxGrid_DeleteCols
,(self
,) + _args
, _kwargs
)
885 def DrawCellHighlight(self
, *_args
, **_kwargs
):
886 val
= apply(gridc
.wxGrid_DrawCellHighlight
,(self
,) + _args
, _kwargs
)
888 def DrawTextRectangle(self
, *_args
, **_kwargs
):
889 val
= apply(gridc
.wxGrid_DrawTextRectangle
,(self
,) + _args
, _kwargs
)
891 def StringToLines(self
, *_args
, **_kwargs
):
892 val
= apply(gridc
.wxGrid_StringToLines
,(self
,) + _args
, _kwargs
)
894 def GetTextBoxSize(self
, *_args
, **_kwargs
):
895 val
= apply(gridc
.wxGrid_GetTextBoxSize
,(self
,) + _args
, _kwargs
)
897 def BeginBatch(self
, *_args
, **_kwargs
):
898 val
= apply(gridc
.wxGrid_BeginBatch
,(self
,) + _args
, _kwargs
)
900 def EndBatch(self
, *_args
, **_kwargs
):
901 val
= apply(gridc
.wxGrid_EndBatch
,(self
,) + _args
, _kwargs
)
903 def GetBatchCount(self
, *_args
, **_kwargs
):
904 val
= apply(gridc
.wxGrid_GetBatchCount
,(self
,) + _args
, _kwargs
)
906 def ForceRefresh(self
, *_args
, **_kwargs
):
907 val
= apply(gridc
.wxGrid_ForceRefresh
,(self
,) + _args
, _kwargs
)
909 def IsEditable(self
, *_args
, **_kwargs
):
910 val
= apply(gridc
.wxGrid_IsEditable
,(self
,) + _args
, _kwargs
)
912 def EnableEditing(self
, *_args
, **_kwargs
):
913 val
= apply(gridc
.wxGrid_EnableEditing
,(self
,) + _args
, _kwargs
)
915 def EnableCellEditControl(self
, *_args
, **_kwargs
):
916 val
= apply(gridc
.wxGrid_EnableCellEditControl
,(self
,) + _args
, _kwargs
)
918 def DisableCellEditControl(self
, *_args
, **_kwargs
):
919 val
= apply(gridc
.wxGrid_DisableCellEditControl
,(self
,) + _args
, _kwargs
)
921 def CanEnableCellControl(self
, *_args
, **_kwargs
):
922 val
= apply(gridc
.wxGrid_CanEnableCellControl
,(self
,) + _args
, _kwargs
)
924 def IsCellEditControlEnabled(self
, *_args
, **_kwargs
):
925 val
= apply(gridc
.wxGrid_IsCellEditControlEnabled
,(self
,) + _args
, _kwargs
)
927 def IsCellEditControlShown(self
, *_args
, **_kwargs
):
928 val
= apply(gridc
.wxGrid_IsCellEditControlShown
,(self
,) + _args
, _kwargs
)
930 def IsCurrentCellReadOnly(self
, *_args
, **_kwargs
):
931 val
= apply(gridc
.wxGrid_IsCurrentCellReadOnly
,(self
,) + _args
, _kwargs
)
933 def ShowCellEditControl(self
, *_args
, **_kwargs
):
934 val
= apply(gridc
.wxGrid_ShowCellEditControl
,(self
,) + _args
, _kwargs
)
936 def HideCellEditControl(self
, *_args
, **_kwargs
):
937 val
= apply(gridc
.wxGrid_HideCellEditControl
,(self
,) + _args
, _kwargs
)
939 def SaveEditControlValue(self
, *_args
, **_kwargs
):
940 val
= apply(gridc
.wxGrid_SaveEditControlValue
,(self
,) + _args
, _kwargs
)
942 def XYToCell(self
, *_args
, **_kwargs
):
943 val
= apply(gridc
.wxGrid_XYToCell
,(self
,) + _args
, _kwargs
)
944 if val
: val
= wxGridCellCoordsPtr(val
) ; val
.thisown
= 1
946 def YToRow(self
, *_args
, **_kwargs
):
947 val
= apply(gridc
.wxGrid_YToRow
,(self
,) + _args
, _kwargs
)
949 def XToCol(self
, *_args
, **_kwargs
):
950 val
= apply(gridc
.wxGrid_XToCol
,(self
,) + _args
, _kwargs
)
952 def YToEdgeOfRow(self
, *_args
, **_kwargs
):
953 val
= apply(gridc
.wxGrid_YToEdgeOfRow
,(self
,) + _args
, _kwargs
)
955 def XToEdgeOfCol(self
, *_args
, **_kwargs
):
956 val
= apply(gridc
.wxGrid_XToEdgeOfCol
,(self
,) + _args
, _kwargs
)
958 def CellToRect(self
, *_args
, **_kwargs
):
959 val
= apply(gridc
.wxGrid_CellToRect
,(self
,) + _args
, _kwargs
)
960 if val
: val
= wxRectPtr(val
) ; val
.thisown
= 1
962 def GetGridCursorRow(self
, *_args
, **_kwargs
):
963 val
= apply(gridc
.wxGrid_GetGridCursorRow
,(self
,) + _args
, _kwargs
)
965 def GetGridCursorCol(self
, *_args
, **_kwargs
):
966 val
= apply(gridc
.wxGrid_GetGridCursorCol
,(self
,) + _args
, _kwargs
)
968 def IsVisible(self
, *_args
, **_kwargs
):
969 val
= apply(gridc
.wxGrid_IsVisible
,(self
,) + _args
, _kwargs
)
971 def MakeCellVisible(self
, *_args
, **_kwargs
):
972 val
= apply(gridc
.wxGrid_MakeCellVisible
,(self
,) + _args
, _kwargs
)
974 def SetGridCursor(self
, *_args
, **_kwargs
):
975 val
= apply(gridc
.wxGrid_SetGridCursor
,(self
,) + _args
, _kwargs
)
977 def MoveCursorUp(self
, *_args
, **_kwargs
):
978 val
= apply(gridc
.wxGrid_MoveCursorUp
,(self
,) + _args
, _kwargs
)
980 def MoveCursorDown(self
, *_args
, **_kwargs
):
981 val
= apply(gridc
.wxGrid_MoveCursorDown
,(self
,) + _args
, _kwargs
)
983 def MoveCursorLeft(self
, *_args
, **_kwargs
):
984 val
= apply(gridc
.wxGrid_MoveCursorLeft
,(self
,) + _args
, _kwargs
)
986 def MoveCursorRight(self
, *_args
, **_kwargs
):
987 val
= apply(gridc
.wxGrid_MoveCursorRight
,(self
,) + _args
, _kwargs
)
989 def MovePageDown(self
, *_args
, **_kwargs
):
990 val
= apply(gridc
.wxGrid_MovePageDown
,(self
,) + _args
, _kwargs
)
992 def MovePageUp(self
, *_args
, **_kwargs
):
993 val
= apply(gridc
.wxGrid_MovePageUp
,(self
,) + _args
, _kwargs
)
995 def MoveCursorUpBlock(self
, *_args
, **_kwargs
):
996 val
= apply(gridc
.wxGrid_MoveCursorUpBlock
,(self
,) + _args
, _kwargs
)
998 def MoveCursorDownBlock(self
, *_args
, **_kwargs
):
999 val
= apply(gridc
.wxGrid_MoveCursorDownBlock
,(self
,) + _args
, _kwargs
)
1001 def MoveCursorLeftBlock(self
, *_args
, **_kwargs
):
1002 val
= apply(gridc
.wxGrid_MoveCursorLeftBlock
,(self
,) + _args
, _kwargs
)
1004 def MoveCursorRightBlock(self
, *_args
, **_kwargs
):
1005 val
= apply(gridc
.wxGrid_MoveCursorRightBlock
,(self
,) + _args
, _kwargs
)
1007 def GetDefaultRowLabelSize(self
, *_args
, **_kwargs
):
1008 val
= apply(gridc
.wxGrid_GetDefaultRowLabelSize
,(self
,) + _args
, _kwargs
)
1010 def GetRowLabelSize(self
, *_args
, **_kwargs
):
1011 val
= apply(gridc
.wxGrid_GetRowLabelSize
,(self
,) + _args
, _kwargs
)
1013 def GetDefaultColLabelSize(self
, *_args
, **_kwargs
):
1014 val
= apply(gridc
.wxGrid_GetDefaultColLabelSize
,(self
,) + _args
, _kwargs
)
1016 def GetColLabelSize(self
, *_args
, **_kwargs
):
1017 val
= apply(gridc
.wxGrid_GetColLabelSize
,(self
,) + _args
, _kwargs
)
1019 def GetLabelBackgroundColour(self
, *_args
, **_kwargs
):
1020 val
= apply(gridc
.wxGrid_GetLabelBackgroundColour
,(self
,) + _args
, _kwargs
)
1021 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
1023 def GetLabelTextColour(self
, *_args
, **_kwargs
):
1024 val
= apply(gridc
.wxGrid_GetLabelTextColour
,(self
,) + _args
, _kwargs
)
1025 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
1027 def GetLabelFont(self
, *_args
, **_kwargs
):
1028 val
= apply(gridc
.wxGrid_GetLabelFont
,(self
,) + _args
, _kwargs
)
1029 if val
: val
= wxFontPtr(val
) ; val
.thisown
= 1
1031 def GetRowLabelAlignment(self
, *_args
, **_kwargs
):
1032 val
= apply(gridc
.wxGrid_GetRowLabelAlignment
,(self
,) + _args
, _kwargs
)
1034 def GetColLabelAlignment(self
, *_args
, **_kwargs
):
1035 val
= apply(gridc
.wxGrid_GetColLabelAlignment
,(self
,) + _args
, _kwargs
)
1037 def GetRowLabelValue(self
, *_args
, **_kwargs
):
1038 val
= apply(gridc
.wxGrid_GetRowLabelValue
,(self
,) + _args
, _kwargs
)
1040 def GetColLabelValue(self
, *_args
, **_kwargs
):
1041 val
= apply(gridc
.wxGrid_GetColLabelValue
,(self
,) + _args
, _kwargs
)
1043 def GetGridLineColour(self
, *_args
, **_kwargs
):
1044 val
= apply(gridc
.wxGrid_GetGridLineColour
,(self
,) + _args
, _kwargs
)
1045 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
1047 def GetCellHighlightColour(self
, *_args
, **_kwargs
):
1048 val
= apply(gridc
.wxGrid_GetCellHighlightColour
,(self
,) + _args
, _kwargs
)
1049 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
1051 def GetCellHighlightPenWidth(self
, *_args
, **_kwargs
):
1052 val
= apply(gridc
.wxGrid_GetCellHighlightPenWidth
,(self
,) + _args
, _kwargs
)
1054 def GetCellHighlightROPenWidth(self
, *_args
, **_kwargs
):
1055 val
= apply(gridc
.wxGrid_GetCellHighlightROPenWidth
,(self
,) + _args
, _kwargs
)
1057 def SetRowLabelSize(self
, *_args
, **_kwargs
):
1058 val
= apply(gridc
.wxGrid_SetRowLabelSize
,(self
,) + _args
, _kwargs
)
1060 def SetColLabelSize(self
, *_args
, **_kwargs
):
1061 val
= apply(gridc
.wxGrid_SetColLabelSize
,(self
,) + _args
, _kwargs
)
1063 def SetLabelBackgroundColour(self
, *_args
, **_kwargs
):
1064 val
= apply(gridc
.wxGrid_SetLabelBackgroundColour
,(self
,) + _args
, _kwargs
)
1066 def SetLabelTextColour(self
, *_args
, **_kwargs
):
1067 val
= apply(gridc
.wxGrid_SetLabelTextColour
,(self
,) + _args
, _kwargs
)
1069 def SetLabelFont(self
, *_args
, **_kwargs
):
1070 val
= apply(gridc
.wxGrid_SetLabelFont
,(self
,) + _args
, _kwargs
)
1072 def SetRowLabelAlignment(self
, *_args
, **_kwargs
):
1073 val
= apply(gridc
.wxGrid_SetRowLabelAlignment
,(self
,) + _args
, _kwargs
)
1075 def SetColLabelAlignment(self
, *_args
, **_kwargs
):
1076 val
= apply(gridc
.wxGrid_SetColLabelAlignment
,(self
,) + _args
, _kwargs
)
1078 def SetRowLabelValue(self
, *_args
, **_kwargs
):
1079 val
= apply(gridc
.wxGrid_SetRowLabelValue
,(self
,) + _args
, _kwargs
)
1081 def SetColLabelValue(self
, *_args
, **_kwargs
):
1082 val
= apply(gridc
.wxGrid_SetColLabelValue
,(self
,) + _args
, _kwargs
)
1084 def SetGridLineColour(self
, *_args
, **_kwargs
):
1085 val
= apply(gridc
.wxGrid_SetGridLineColour
,(self
,) + _args
, _kwargs
)
1087 def SetCellHighlightColour(self
, *_args
, **_kwargs
):
1088 val
= apply(gridc
.wxGrid_SetCellHighlightColour
,(self
,) + _args
, _kwargs
)
1090 def SetCellHighlightPenWidth(self
, *_args
, **_kwargs
):
1091 val
= apply(gridc
.wxGrid_SetCellHighlightPenWidth
,(self
,) + _args
, _kwargs
)
1093 def SetCellHighlightROPenWidth(self
, *_args
, **_kwargs
):
1094 val
= apply(gridc
.wxGrid_SetCellHighlightROPenWidth
,(self
,) + _args
, _kwargs
)
1096 def EnableDragRowSize(self
, *_args
, **_kwargs
):
1097 val
= apply(gridc
.wxGrid_EnableDragRowSize
,(self
,) + _args
, _kwargs
)
1099 def DisableDragRowSize(self
, *_args
, **_kwargs
):
1100 val
= apply(gridc
.wxGrid_DisableDragRowSize
,(self
,) + _args
, _kwargs
)
1102 def CanDragRowSize(self
, *_args
, **_kwargs
):
1103 val
= apply(gridc
.wxGrid_CanDragRowSize
,(self
,) + _args
, _kwargs
)
1105 def EnableDragColSize(self
, *_args
, **_kwargs
):
1106 val
= apply(gridc
.wxGrid_EnableDragColSize
,(self
,) + _args
, _kwargs
)
1108 def DisableDragColSize(self
, *_args
, **_kwargs
):
1109 val
= apply(gridc
.wxGrid_DisableDragColSize
,(self
,) + _args
, _kwargs
)
1111 def CanDragColSize(self
, *_args
, **_kwargs
):
1112 val
= apply(gridc
.wxGrid_CanDragColSize
,(self
,) + _args
, _kwargs
)
1114 def EnableDragGridSize(self
, *_args
, **_kwargs
):
1115 val
= apply(gridc
.wxGrid_EnableDragGridSize
,(self
,) + _args
, _kwargs
)
1117 def DisableDragGridSize(self
, *_args
, **_kwargs
):
1118 val
= apply(gridc
.wxGrid_DisableDragGridSize
,(self
,) + _args
, _kwargs
)
1120 def CanDragGridSize(self
, *_args
, **_kwargs
):
1121 val
= apply(gridc
.wxGrid_CanDragGridSize
,(self
,) + _args
, _kwargs
)
1123 def SetRowAttr(self
, *_args
, **_kwargs
):
1124 val
= apply(gridc
.wxGrid_SetRowAttr
,(self
,) + _args
, _kwargs
)
1126 def SetColAttr(self
, *_args
, **_kwargs
):
1127 val
= apply(gridc
.wxGrid_SetColAttr
,(self
,) + _args
, _kwargs
)
1129 def SetColFormatBool(self
, *_args
, **_kwargs
):
1130 val
= apply(gridc
.wxGrid_SetColFormatBool
,(self
,) + _args
, _kwargs
)
1132 def SetColFormatNumber(self
, *_args
, **_kwargs
):
1133 val
= apply(gridc
.wxGrid_SetColFormatNumber
,(self
,) + _args
, _kwargs
)
1135 def SetColFormatFloat(self
, *_args
, **_kwargs
):
1136 val
= apply(gridc
.wxGrid_SetColFormatFloat
,(self
,) + _args
, _kwargs
)
1138 def SetColFormatCustom(self
, *_args
, **_kwargs
):
1139 val
= apply(gridc
.wxGrid_SetColFormatCustom
,(self
,) + _args
, _kwargs
)
1141 def EnableGridLines(self
, *_args
, **_kwargs
):
1142 val
= apply(gridc
.wxGrid_EnableGridLines
,(self
,) + _args
, _kwargs
)
1144 def GridLinesEnabled(self
, *_args
, **_kwargs
):
1145 val
= apply(gridc
.wxGrid_GridLinesEnabled
,(self
,) + _args
, _kwargs
)
1147 def GetDefaultRowSize(self
, *_args
, **_kwargs
):
1148 val
= apply(gridc
.wxGrid_GetDefaultRowSize
,(self
,) + _args
, _kwargs
)
1150 def GetRowSize(self
, *_args
, **_kwargs
):
1151 val
= apply(gridc
.wxGrid_GetRowSize
,(self
,) + _args
, _kwargs
)
1153 def GetDefaultColSize(self
, *_args
, **_kwargs
):
1154 val
= apply(gridc
.wxGrid_GetDefaultColSize
,(self
,) + _args
, _kwargs
)
1156 def GetColSize(self
, *_args
, **_kwargs
):
1157 val
= apply(gridc
.wxGrid_GetColSize
,(self
,) + _args
, _kwargs
)
1159 def GetDefaultCellBackgroundColour(self
, *_args
, **_kwargs
):
1160 val
= apply(gridc
.wxGrid_GetDefaultCellBackgroundColour
,(self
,) + _args
, _kwargs
)
1161 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
1163 def GetCellBackgroundColour(self
, *_args
, **_kwargs
):
1164 val
= apply(gridc
.wxGrid_GetCellBackgroundColour
,(self
,) + _args
, _kwargs
)
1165 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
1167 def GetDefaultCellTextColour(self
, *_args
, **_kwargs
):
1168 val
= apply(gridc
.wxGrid_GetDefaultCellTextColour
,(self
,) + _args
, _kwargs
)
1169 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
1171 def GetCellTextColour(self
, *_args
, **_kwargs
):
1172 val
= apply(gridc
.wxGrid_GetCellTextColour
,(self
,) + _args
, _kwargs
)
1173 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
1175 def GetDefaultCellFont(self
, *_args
, **_kwargs
):
1176 val
= apply(gridc
.wxGrid_GetDefaultCellFont
,(self
,) + _args
, _kwargs
)
1177 if val
: val
= wxFontPtr(val
) ; val
.thisown
= 1
1179 def GetCellFont(self
, *_args
, **_kwargs
):
1180 val
= apply(gridc
.wxGrid_GetCellFont
,(self
,) + _args
, _kwargs
)
1181 if val
: val
= wxFontPtr(val
) ; val
.thisown
= 1
1183 def GetDefaultCellAlignment(self
, *_args
, **_kwargs
):
1184 val
= apply(gridc
.wxGrid_GetDefaultCellAlignment
,(self
,) + _args
, _kwargs
)
1186 def GetCellAlignment(self
, *_args
, **_kwargs
):
1187 val
= apply(gridc
.wxGrid_GetCellAlignment
,(self
,) + _args
, _kwargs
)
1189 def SetDefaultRowSize(self
, *_args
, **_kwargs
):
1190 val
= apply(gridc
.wxGrid_SetDefaultRowSize
,(self
,) + _args
, _kwargs
)
1192 def SetRowSize(self
, *_args
, **_kwargs
):
1193 val
= apply(gridc
.wxGrid_SetRowSize
,(self
,) + _args
, _kwargs
)
1195 def SetDefaultColSize(self
, *_args
, **_kwargs
):
1196 val
= apply(gridc
.wxGrid_SetDefaultColSize
,(self
,) + _args
, _kwargs
)
1198 def SetColSize(self
, *_args
, **_kwargs
):
1199 val
= apply(gridc
.wxGrid_SetColSize
,(self
,) + _args
, _kwargs
)
1201 def AutoSizeColumn(self
, *_args
, **_kwargs
):
1202 val
= apply(gridc
.wxGrid_AutoSizeColumn
,(self
,) + _args
, _kwargs
)
1204 def AutoSizeRow(self
, *_args
, **_kwargs
):
1205 val
= apply(gridc
.wxGrid_AutoSizeRow
,(self
,) + _args
, _kwargs
)
1207 def AutoSizeColumns(self
, *_args
, **_kwargs
):
1208 val
= apply(gridc
.wxGrid_AutoSizeColumns
,(self
,) + _args
, _kwargs
)
1210 def AutoSizeRows(self
, *_args
, **_kwargs
):
1211 val
= apply(gridc
.wxGrid_AutoSizeRows
,(self
,) + _args
, _kwargs
)
1213 def AutoSize(self
, *_args
, **_kwargs
):
1214 val
= apply(gridc
.wxGrid_AutoSize
,(self
,) + _args
, _kwargs
)
1216 def SetColMinimalWidth(self
, *_args
, **_kwargs
):
1217 val
= apply(gridc
.wxGrid_SetColMinimalWidth
,(self
,) + _args
, _kwargs
)
1219 def SetRowMinimalHeight(self
, *_args
, **_kwargs
):
1220 val
= apply(gridc
.wxGrid_SetRowMinimalHeight
,(self
,) + _args
, _kwargs
)
1222 def SetDefaultCellBackgroundColour(self
, *_args
, **_kwargs
):
1223 val
= apply(gridc
.wxGrid_SetDefaultCellBackgroundColour
,(self
,) + _args
, _kwargs
)
1225 def SetCellBackgroundColour(self
, *_args
, **_kwargs
):
1226 val
= apply(gridc
.wxGrid_SetCellBackgroundColour
,(self
,) + _args
, _kwargs
)
1228 def SetDefaultCellTextColour(self
, *_args
, **_kwargs
):
1229 val
= apply(gridc
.wxGrid_SetDefaultCellTextColour
,(self
,) + _args
, _kwargs
)
1231 def SetCellTextColour(self
, *_args
, **_kwargs
):
1232 val
= apply(gridc
.wxGrid_SetCellTextColour
,(self
,) + _args
, _kwargs
)
1234 def SetDefaultCellFont(self
, *_args
, **_kwargs
):
1235 val
= apply(gridc
.wxGrid_SetDefaultCellFont
,(self
,) + _args
, _kwargs
)
1237 def SetCellFont(self
, *_args
, **_kwargs
):
1238 val
= apply(gridc
.wxGrid_SetCellFont
,(self
,) + _args
, _kwargs
)
1240 def SetDefaultCellAlignment(self
, *_args
, **_kwargs
):
1241 val
= apply(gridc
.wxGrid_SetDefaultCellAlignment
,(self
,) + _args
, _kwargs
)
1243 def SetCellAlignment(self
, *_args
, **_kwargs
):
1244 val
= apply(gridc
.wxGrid_SetCellAlignment
,(self
,) + _args
, _kwargs
)
1246 def SetDefaultRenderer(self
, *_args
, **_kwargs
):
1247 val
= apply(gridc
.wxGrid_SetDefaultRenderer
,(self
,) + _args
, _kwargs
)
1249 def SetCellRenderer(self
, *_args
, **_kwargs
):
1250 val
= apply(gridc
.wxGrid_SetCellRenderer
,(self
,) + _args
, _kwargs
)
1252 def GetDefaultRenderer(self
, *_args
, **_kwargs
):
1253 val
= apply(gridc
.wxGrid_GetDefaultRenderer
,(self
,) + _args
, _kwargs
)
1254 if val
: val
= wxGridCellRendererPtr(val
)
1256 def GetCellRenderer(self
, *_args
, **_kwargs
):
1257 val
= apply(gridc
.wxGrid_GetCellRenderer
,(self
,) + _args
, _kwargs
)
1258 if val
: val
= wxGridCellRendererPtr(val
)
1260 def SetDefaultEditor(self
, *_args
, **_kwargs
):
1261 val
= apply(gridc
.wxGrid_SetDefaultEditor
,(self
,) + _args
, _kwargs
)
1263 def SetCellEditor(self
, *_args
, **_kwargs
):
1264 val
= apply(gridc
.wxGrid_SetCellEditor
,(self
,) + _args
, _kwargs
)
1266 def GetDefaultEditor(self
, *_args
, **_kwargs
):
1267 val
= apply(gridc
.wxGrid_GetDefaultEditor
,(self
,) + _args
, _kwargs
)
1268 if val
: val
= wxGridCellEditorPtr(val
)
1270 def GetCellEditor(self
, *_args
, **_kwargs
):
1271 val
= apply(gridc
.wxGrid_GetCellEditor
,(self
,) + _args
, _kwargs
)
1272 if val
: val
= wxGridCellEditorPtr(val
)
1274 def GetCellValue(self
, *_args
, **_kwargs
):
1275 val
= apply(gridc
.wxGrid_GetCellValue
,(self
,) + _args
, _kwargs
)
1277 def SetCellValue(self
, *_args
, **_kwargs
):
1278 val
= apply(gridc
.wxGrid_SetCellValue
,(self
,) + _args
, _kwargs
)
1280 def IsReadOnly(self
, *_args
, **_kwargs
):
1281 val
= apply(gridc
.wxGrid_IsReadOnly
,(self
,) + _args
, _kwargs
)
1283 def SetReadOnly(self
, *_args
, **_kwargs
):
1284 val
= apply(gridc
.wxGrid_SetReadOnly
,(self
,) + _args
, _kwargs
)
1286 def SelectRow(self
, *_args
, **_kwargs
):
1287 val
= apply(gridc
.wxGrid_SelectRow
,(self
,) + _args
, _kwargs
)
1289 def SelectCol(self
, *_args
, **_kwargs
):
1290 val
= apply(gridc
.wxGrid_SelectCol
,(self
,) + _args
, _kwargs
)
1292 def SelectBlock(self
, *_args
, **_kwargs
):
1293 val
= apply(gridc
.wxGrid_SelectBlock
,(self
,) + _args
, _kwargs
)
1295 def SelectAll(self
, *_args
, **_kwargs
):
1296 val
= apply(gridc
.wxGrid_SelectAll
,(self
,) + _args
, _kwargs
)
1298 def IsSelection(self
, *_args
, **_kwargs
):
1299 val
= apply(gridc
.wxGrid_IsSelection
,(self
,) + _args
, _kwargs
)
1301 def ClearSelection(self
, *_args
, **_kwargs
):
1302 val
= apply(gridc
.wxGrid_ClearSelection
,(self
,) + _args
, _kwargs
)
1304 def IsInSelection(self
, *_args
, **_kwargs
):
1305 val
= apply(gridc
.wxGrid_IsInSelection
,(self
,) + _args
, _kwargs
)
1307 def BlockToDeviceRect(self
, *_args
, **_kwargs
):
1308 val
= apply(gridc
.wxGrid_BlockToDeviceRect
,(self
,) + _args
, _kwargs
)
1309 if val
: val
= wxRectPtr(val
) ; val
.thisown
= 1
1311 def GetSelectionBackground(self
, *_args
, **_kwargs
):
1312 val
= apply(gridc
.wxGrid_GetSelectionBackground
,(self
,) + _args
, _kwargs
)
1313 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
1315 def GetSelectionForeground(self
, *_args
, **_kwargs
):
1316 val
= apply(gridc
.wxGrid_GetSelectionForeground
,(self
,) + _args
, _kwargs
)
1317 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
1319 def SetSelectionBackground(self
, *_args
, **_kwargs
):
1320 val
= apply(gridc
.wxGrid_SetSelectionBackground
,(self
,) + _args
, _kwargs
)
1322 def SetSelectionForeground(self
, *_args
, **_kwargs
):
1323 val
= apply(gridc
.wxGrid_SetSelectionForeground
,(self
,) + _args
, _kwargs
)
1325 def RegisterDataType(self
, *_args
, **_kwargs
):
1326 val
= apply(gridc
.wxGrid_RegisterDataType
,(self
,) + _args
, _kwargs
)
1328 def GetDefaultEditorForCell(self
, *_args
, **_kwargs
):
1329 val
= apply(gridc
.wxGrid_GetDefaultEditorForCell
,(self
,) + _args
, _kwargs
)
1330 if val
: val
= wxGridCellEditorPtr(val
)
1332 def GetDefaultRendererForCell(self
, *_args
, **_kwargs
):
1333 val
= apply(gridc
.wxGrid_GetDefaultRendererForCell
,(self
,) + _args
, _kwargs
)
1334 if val
: val
= wxGridCellRendererPtr(val
)
1336 def GetDefaultEditorForType(self
, *_args
, **_kwargs
):
1337 val
= apply(gridc
.wxGrid_GetDefaultEditorForType
,(self
,) + _args
, _kwargs
)
1338 if val
: val
= wxGridCellEditorPtr(val
)
1340 def GetDefaultRendererForType(self
, *_args
, **_kwargs
):
1341 val
= apply(gridc
.wxGrid_GetDefaultRendererForType
,(self
,) + _args
, _kwargs
)
1342 if val
: val
= wxGridCellRendererPtr(val
)
1344 def SetMargins(self
, *_args
, **_kwargs
):
1345 val
= apply(gridc
.wxGrid_SetMargins
,(self
,) + _args
, _kwargs
)
1347 def GetGridWindow(self
, *_args
, **_kwargs
):
1348 val
= apply(gridc
.wxGrid_GetGridWindow
,(self
,) + _args
, _kwargs
)
1350 def GetGridRowLabelWindow(self
, *_args
, **_kwargs
):
1351 val
= apply(gridc
.wxGrid_GetGridRowLabelWindow
,(self
,) + _args
, _kwargs
)
1353 def GetGridColLabelWindow(self
, *_args
, **_kwargs
):
1354 val
= apply(gridc
.wxGrid_GetGridColLabelWindow
,(self
,) + _args
, _kwargs
)
1356 def GetGridCornerLabelWindow(self
, *_args
, **_kwargs
):
1357 val
= apply(gridc
.wxGrid_GetGridCornerLabelWindow
,(self
,) + _args
, _kwargs
)
1360 return "<C wxGrid instance at %s>" % (self
.this
,)
1361 class wxGrid(wxGridPtr
):
1362 def __init__(self
,*_args
,**_kwargs
):
1363 self
.this
= apply(gridc
.new_wxGrid
,_args
,_kwargs
)
1369 class wxGridEventPtr(wxNotifyEventPtr
):
1370 def __init__(self
,this
):
1373 def GetRow(self
, *_args
, **_kwargs
):
1374 val
= apply(gridc
.wxGridEvent_GetRow
,(self
,) + _args
, _kwargs
)
1376 def GetCol(self
, *_args
, **_kwargs
):
1377 val
= apply(gridc
.wxGridEvent_GetCol
,(self
,) + _args
, _kwargs
)
1379 def GetPosition(self
, *_args
, **_kwargs
):
1380 val
= apply(gridc
.wxGridEvent_GetPosition
,(self
,) + _args
, _kwargs
)
1381 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
1383 def Selecting(self
, *_args
, **_kwargs
):
1384 val
= apply(gridc
.wxGridEvent_Selecting
,(self
,) + _args
, _kwargs
)
1386 def ControlDown(self
, *_args
, **_kwargs
):
1387 val
= apply(gridc
.wxGridEvent_ControlDown
,(self
,) + _args
, _kwargs
)
1389 def MetaDown(self
, *_args
, **_kwargs
):
1390 val
= apply(gridc
.wxGridEvent_MetaDown
,(self
,) + _args
, _kwargs
)
1392 def ShiftDown(self
, *_args
, **_kwargs
):
1393 val
= apply(gridc
.wxGridEvent_ShiftDown
,(self
,) + _args
, _kwargs
)
1395 def AltDown(self
, *_args
, **_kwargs
):
1396 val
= apply(gridc
.wxGridEvent_AltDown
,(self
,) + _args
, _kwargs
)
1399 return "<C wxGridEvent instance at %s>" % (self
.this
,)
1400 class wxGridEvent(wxGridEventPtr
):
1401 def __init__(self
,*_args
,**_kwargs
):
1402 self
.this
= apply(gridc
.new_wxGridEvent
,_args
,_kwargs
)
1408 class wxGridSizeEventPtr(wxNotifyEventPtr
):
1409 def __init__(self
,this
):
1412 def GetRowOrCol(self
, *_args
, **_kwargs
):
1413 val
= apply(gridc
.wxGridSizeEvent_GetRowOrCol
,(self
,) + _args
, _kwargs
)
1415 def GetPosition(self
, *_args
, **_kwargs
):
1416 val
= apply(gridc
.wxGridSizeEvent_GetPosition
,(self
,) + _args
, _kwargs
)
1417 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
1419 def ControlDown(self
, *_args
, **_kwargs
):
1420 val
= apply(gridc
.wxGridSizeEvent_ControlDown
,(self
,) + _args
, _kwargs
)
1422 def MetaDown(self
, *_args
, **_kwargs
):
1423 val
= apply(gridc
.wxGridSizeEvent_MetaDown
,(self
,) + _args
, _kwargs
)
1425 def ShiftDown(self
, *_args
, **_kwargs
):
1426 val
= apply(gridc
.wxGridSizeEvent_ShiftDown
,(self
,) + _args
, _kwargs
)
1428 def AltDown(self
, *_args
, **_kwargs
):
1429 val
= apply(gridc
.wxGridSizeEvent_AltDown
,(self
,) + _args
, _kwargs
)
1432 return "<C wxGridSizeEvent instance at %s>" % (self
.this
,)
1433 class wxGridSizeEvent(wxGridSizeEventPtr
):
1434 def __init__(self
,*_args
,**_kwargs
):
1435 self
.this
= apply(gridc
.new_wxGridSizeEvent
,_args
,_kwargs
)
1441 class wxGridRangeSelectEventPtr(wxNotifyEventPtr
):
1442 def __init__(self
,this
):
1445 def GetTopLeftCoords(self
, *_args
, **_kwargs
):
1446 val
= apply(gridc
.wxGridRangeSelectEvent_GetTopLeftCoords
,(self
,) + _args
, _kwargs
)
1447 if val
: val
= wxGridCellCoordsPtr(val
) ; val
.thisown
= 1
1449 def GetBottomRightCoords(self
, *_args
, **_kwargs
):
1450 val
= apply(gridc
.wxGridRangeSelectEvent_GetBottomRightCoords
,(self
,) + _args
, _kwargs
)
1451 if val
: val
= wxGridCellCoordsPtr(val
) ; val
.thisown
= 1
1453 def GetTopRow(self
, *_args
, **_kwargs
):
1454 val
= apply(gridc
.wxGridRangeSelectEvent_GetTopRow
,(self
,) + _args
, _kwargs
)
1456 def GetBottomRow(self
, *_args
, **_kwargs
):
1457 val
= apply(gridc
.wxGridRangeSelectEvent_GetBottomRow
,(self
,) + _args
, _kwargs
)
1459 def GetLeftCol(self
, *_args
, **_kwargs
):
1460 val
= apply(gridc
.wxGridRangeSelectEvent_GetLeftCol
,(self
,) + _args
, _kwargs
)
1462 def GetRightCol(self
, *_args
, **_kwargs
):
1463 val
= apply(gridc
.wxGridRangeSelectEvent_GetRightCol
,(self
,) + _args
, _kwargs
)
1465 def Selecting(self
, *_args
, **_kwargs
):
1466 val
= apply(gridc
.wxGridRangeSelectEvent_Selecting
,(self
,) + _args
, _kwargs
)
1468 def ControlDown(self
, *_args
, **_kwargs
):
1469 val
= apply(gridc
.wxGridRangeSelectEvent_ControlDown
,(self
,) + _args
, _kwargs
)
1471 def MetaDown(self
, *_args
, **_kwargs
):
1472 val
= apply(gridc
.wxGridRangeSelectEvent_MetaDown
,(self
,) + _args
, _kwargs
)
1474 def ShiftDown(self
, *_args
, **_kwargs
):
1475 val
= apply(gridc
.wxGridRangeSelectEvent_ShiftDown
,(self
,) + _args
, _kwargs
)
1477 def AltDown(self
, *_args
, **_kwargs
):
1478 val
= apply(gridc
.wxGridRangeSelectEvent_AltDown
,(self
,) + _args
, _kwargs
)
1481 return "<C wxGridRangeSelectEvent instance at %s>" % (self
.this
,)
1482 class wxGridRangeSelectEvent(wxGridRangeSelectEventPtr
):
1483 def __init__(self
,*_args
,**_kwargs
):
1484 self
.this
= apply(gridc
.new_wxGridRangeSelectEvent
,_args
,_kwargs
)
1490 class wxGridEditorCreatedEventPtr(wxCommandEventPtr
):
1491 def __init__(self
,this
):
1494 def GetRow(self
, *_args
, **_kwargs
):
1495 val
= apply(gridc
.wxGridEditorCreatedEvent_GetRow
,(self
,) + _args
, _kwargs
)
1497 def GetCol(self
, *_args
, **_kwargs
):
1498 val
= apply(gridc
.wxGridEditorCreatedEvent_GetCol
,(self
,) + _args
, _kwargs
)
1500 def GetControl(self
, *_args
, **_kwargs
):
1501 val
= apply(gridc
.wxGridEditorCreatedEvent_GetControl
,(self
,) + _args
, _kwargs
)
1503 def SetRow(self
, *_args
, **_kwargs
):
1504 val
= apply(gridc
.wxGridEditorCreatedEvent_SetRow
,(self
,) + _args
, _kwargs
)
1506 def SetCol(self
, *_args
, **_kwargs
):
1507 val
= apply(gridc
.wxGridEditorCreatedEvent_SetCol
,(self
,) + _args
, _kwargs
)
1509 def SetControl(self
, *_args
, **_kwargs
):
1510 val
= apply(gridc
.wxGridEditorCreatedEvent_SetControl
,(self
,) + _args
, _kwargs
)
1513 return "<C wxGridEditorCreatedEvent instance at %s>" % (self
.this
,)
1514 class wxGridEditorCreatedEvent(wxGridEditorCreatedEventPtr
):
1515 def __init__(self
,*_args
,**_kwargs
):
1516 self
.this
= apply(gridc
.new_wxGridEditorCreatedEvent
,_args
,_kwargs
)
1524 #-------------- FUNCTION WRAPPERS ------------------
1528 #-------------- VARIABLE WRAPPERS ------------------
1530 wxGRID_VALUE_STRING
= gridc
.wxGRID_VALUE_STRING
1531 wxGRID_VALUE_BOOL
= gridc
.wxGRID_VALUE_BOOL
1532 wxGRID_VALUE_NUMBER
= gridc
.wxGRID_VALUE_NUMBER
1533 wxGRID_VALUE_FLOAT
= gridc
.wxGRID_VALUE_FLOAT
1534 wxGRID_VALUE_CHOICE
= gridc
.wxGRID_VALUE_CHOICE
1535 wxGRID_VALUE_TEXT
= gridc
.wxGRID_VALUE_TEXT
1536 wxGRID_VALUE_LONG
= gridc
.wxGRID_VALUE_LONG
1538 wxGridNoCellCoords
= wxGridCellCoordsPtr(gridc
.cvar
.wxGridNoCellCoords
)
1539 wxGridNoCellRect
= wxRectPtr(gridc
.cvar
.wxGridNoCellRect
)
1540 wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
= gridc
.wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
1541 wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
= gridc
.wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
1542 wxGRIDTABLE_NOTIFY_ROWS_INSERTED
= gridc
.wxGRIDTABLE_NOTIFY_ROWS_INSERTED
1543 wxGRIDTABLE_NOTIFY_ROWS_APPENDED
= gridc
.wxGRIDTABLE_NOTIFY_ROWS_APPENDED
1544 wxGRIDTABLE_NOTIFY_ROWS_DELETED
= gridc
.wxGRIDTABLE_NOTIFY_ROWS_DELETED
1545 wxGRIDTABLE_NOTIFY_COLS_INSERTED
= gridc
.wxGRIDTABLE_NOTIFY_COLS_INSERTED
1546 wxGRIDTABLE_NOTIFY_COLS_APPENDED
= gridc
.wxGRIDTABLE_NOTIFY_COLS_APPENDED
1547 wxGRIDTABLE_NOTIFY_COLS_DELETED
= gridc
.wxGRIDTABLE_NOTIFY_COLS_DELETED
1548 wxEVT_GRID_CELL_LEFT_CLICK
= gridc
.wxEVT_GRID_CELL_LEFT_CLICK
1549 wxEVT_GRID_CELL_RIGHT_CLICK
= gridc
.wxEVT_GRID_CELL_RIGHT_CLICK
1550 wxEVT_GRID_CELL_LEFT_DCLICK
= gridc
.wxEVT_GRID_CELL_LEFT_DCLICK
1551 wxEVT_GRID_CELL_RIGHT_DCLICK
= gridc
.wxEVT_GRID_CELL_RIGHT_DCLICK
1552 wxEVT_GRID_LABEL_LEFT_CLICK
= gridc
.wxEVT_GRID_LABEL_LEFT_CLICK
1553 wxEVT_GRID_LABEL_RIGHT_CLICK
= gridc
.wxEVT_GRID_LABEL_RIGHT_CLICK
1554 wxEVT_GRID_LABEL_LEFT_DCLICK
= gridc
.wxEVT_GRID_LABEL_LEFT_DCLICK
1555 wxEVT_GRID_LABEL_RIGHT_DCLICK
= gridc
.wxEVT_GRID_LABEL_RIGHT_DCLICK
1556 wxEVT_GRID_ROW_SIZE
= gridc
.wxEVT_GRID_ROW_SIZE
1557 wxEVT_GRID_COL_SIZE
= gridc
.wxEVT_GRID_COL_SIZE
1558 wxEVT_GRID_RANGE_SELECT
= gridc
.wxEVT_GRID_RANGE_SELECT
1559 wxEVT_GRID_CELL_CHANGE
= gridc
.wxEVT_GRID_CELL_CHANGE
1560 wxEVT_GRID_SELECT_CELL
= gridc
.wxEVT_GRID_SELECT_CELL
1561 wxEVT_GRID_EDITOR_SHOWN
= gridc
.wxEVT_GRID_EDITOR_SHOWN
1562 wxEVT_GRID_EDITOR_HIDDEN
= gridc
.wxEVT_GRID_EDITOR_HIDDEN
1563 wxEVT_GRID_EDITOR_CREATED
= gridc
.wxEVT_GRID_EDITOR_CREATED
1566 #-------------- USER INCLUDE -----------------------
1570 # Stuff these names into the wx namespace so wxPyConstructObject can find them
1572 wx
.wxGridEventPtr
= wxGridEventPtr
1573 wx
.wxGridSizeEventPtr
= wxGridSizeEventPtr
1574 wx
.wxGridRangeSelectEventPtr
= wxGridRangeSelectEventPtr
1575 wx
.wxGridEditorCreatedEventPtr
= wxGridEditorCreatedEventPtr
1576 wx
.wxGridCellRendererPtr
= wxGridCellRendererPtr
1577 wx
.wxPyGridCellRendererPtr
= wxPyGridCellRendererPtr
1578 wx
.wxGridCellEditorPtr
= wxGridCellEditorPtr
1579 wx
.wxPyGridCellEditorPtr
= wxPyGridCellEditorPtr
1580 wx
.wxGridCellAttrPtr
= wxGridCellAttrPtr
1581 wx
.wxGridCellAttrProviderPtr
= wxGridCellAttrProviderPtr
1582 wx
.wxPyGridCellAttrProviderPtr
= wxPyGridCellAttrProviderPtr
1583 wx
.wxGridTableBasePtr
= wxGridTableBasePtr
1584 wx
.wxPyGridTableBasePtr
= wxPyGridTableBasePtr
1585 wx
.wxGridTableMessagePtr
= wxGridTableMessagePtr
1586 wx
.wxGridCellCoordsPtr
= wxGridCellCoordsPtr
1587 wx
.wxGridPtr
= wxGridPtr