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 IsEditable(self
, *_args
, **_kwargs
):
907 val
= apply(gridc
.wxGrid_IsEditable
,(self
,) + _args
, _kwargs
)
909 def EnableEditing(self
, *_args
, **_kwargs
):
910 val
= apply(gridc
.wxGrid_EnableEditing
,(self
,) + _args
, _kwargs
)
912 def EnableCellEditControl(self
, *_args
, **_kwargs
):
913 val
= apply(gridc
.wxGrid_EnableCellEditControl
,(self
,) + _args
, _kwargs
)
915 def DisableCellEditControl(self
, *_args
, **_kwargs
):
916 val
= apply(gridc
.wxGrid_DisableCellEditControl
,(self
,) + _args
, _kwargs
)
918 def CanEnableCellControl(self
, *_args
, **_kwargs
):
919 val
= apply(gridc
.wxGrid_CanEnableCellControl
,(self
,) + _args
, _kwargs
)
921 def IsCellEditControlEnabled(self
, *_args
, **_kwargs
):
922 val
= apply(gridc
.wxGrid_IsCellEditControlEnabled
,(self
,) + _args
, _kwargs
)
924 def IsCellEditControlShown(self
, *_args
, **_kwargs
):
925 val
= apply(gridc
.wxGrid_IsCellEditControlShown
,(self
,) + _args
, _kwargs
)
927 def IsCurrentCellReadOnly(self
, *_args
, **_kwargs
):
928 val
= apply(gridc
.wxGrid_IsCurrentCellReadOnly
,(self
,) + _args
, _kwargs
)
930 def ShowCellEditControl(self
, *_args
, **_kwargs
):
931 val
= apply(gridc
.wxGrid_ShowCellEditControl
,(self
,) + _args
, _kwargs
)
933 def HideCellEditControl(self
, *_args
, **_kwargs
):
934 val
= apply(gridc
.wxGrid_HideCellEditControl
,(self
,) + _args
, _kwargs
)
936 def SaveEditControlValue(self
, *_args
, **_kwargs
):
937 val
= apply(gridc
.wxGrid_SaveEditControlValue
,(self
,) + _args
, _kwargs
)
939 def XYToCell(self
, *_args
, **_kwargs
):
940 val
= apply(gridc
.wxGrid_XYToCell
,(self
,) + _args
, _kwargs
)
941 if val
: val
= wxGridCellCoordsPtr(val
) ; val
.thisown
= 1
943 def YToRow(self
, *_args
, **_kwargs
):
944 val
= apply(gridc
.wxGrid_YToRow
,(self
,) + _args
, _kwargs
)
946 def XToCol(self
, *_args
, **_kwargs
):
947 val
= apply(gridc
.wxGrid_XToCol
,(self
,) + _args
, _kwargs
)
949 def YToEdgeOfRow(self
, *_args
, **_kwargs
):
950 val
= apply(gridc
.wxGrid_YToEdgeOfRow
,(self
,) + _args
, _kwargs
)
952 def XToEdgeOfCol(self
, *_args
, **_kwargs
):
953 val
= apply(gridc
.wxGrid_XToEdgeOfCol
,(self
,) + _args
, _kwargs
)
955 def CellToRect(self
, *_args
, **_kwargs
):
956 val
= apply(gridc
.wxGrid_CellToRect
,(self
,) + _args
, _kwargs
)
957 if val
: val
= wxRectPtr(val
) ; val
.thisown
= 1
959 def GetGridCursorRow(self
, *_args
, **_kwargs
):
960 val
= apply(gridc
.wxGrid_GetGridCursorRow
,(self
,) + _args
, _kwargs
)
962 def GetGridCursorCol(self
, *_args
, **_kwargs
):
963 val
= apply(gridc
.wxGrid_GetGridCursorCol
,(self
,) + _args
, _kwargs
)
965 def IsVisible(self
, *_args
, **_kwargs
):
966 val
= apply(gridc
.wxGrid_IsVisible
,(self
,) + _args
, _kwargs
)
968 def MakeCellVisible(self
, *_args
, **_kwargs
):
969 val
= apply(gridc
.wxGrid_MakeCellVisible
,(self
,) + _args
, _kwargs
)
971 def SetGridCursor(self
, *_args
, **_kwargs
):
972 val
= apply(gridc
.wxGrid_SetGridCursor
,(self
,) + _args
, _kwargs
)
974 def MoveCursorUp(self
, *_args
, **_kwargs
):
975 val
= apply(gridc
.wxGrid_MoveCursorUp
,(self
,) + _args
, _kwargs
)
977 def MoveCursorDown(self
, *_args
, **_kwargs
):
978 val
= apply(gridc
.wxGrid_MoveCursorDown
,(self
,) + _args
, _kwargs
)
980 def MoveCursorLeft(self
, *_args
, **_kwargs
):
981 val
= apply(gridc
.wxGrid_MoveCursorLeft
,(self
,) + _args
, _kwargs
)
983 def MoveCursorRight(self
, *_args
, **_kwargs
):
984 val
= apply(gridc
.wxGrid_MoveCursorRight
,(self
,) + _args
, _kwargs
)
986 def MovePageDown(self
, *_args
, **_kwargs
):
987 val
= apply(gridc
.wxGrid_MovePageDown
,(self
,) + _args
, _kwargs
)
989 def MovePageUp(self
, *_args
, **_kwargs
):
990 val
= apply(gridc
.wxGrid_MovePageUp
,(self
,) + _args
, _kwargs
)
992 def MoveCursorUpBlock(self
, *_args
, **_kwargs
):
993 val
= apply(gridc
.wxGrid_MoveCursorUpBlock
,(self
,) + _args
, _kwargs
)
995 def MoveCursorDownBlock(self
, *_args
, **_kwargs
):
996 val
= apply(gridc
.wxGrid_MoveCursorDownBlock
,(self
,) + _args
, _kwargs
)
998 def MoveCursorLeftBlock(self
, *_args
, **_kwargs
):
999 val
= apply(gridc
.wxGrid_MoveCursorLeftBlock
,(self
,) + _args
, _kwargs
)
1001 def MoveCursorRightBlock(self
, *_args
, **_kwargs
):
1002 val
= apply(gridc
.wxGrid_MoveCursorRightBlock
,(self
,) + _args
, _kwargs
)
1004 def GetDefaultRowLabelSize(self
, *_args
, **_kwargs
):
1005 val
= apply(gridc
.wxGrid_GetDefaultRowLabelSize
,(self
,) + _args
, _kwargs
)
1007 def GetRowLabelSize(self
, *_args
, **_kwargs
):
1008 val
= apply(gridc
.wxGrid_GetRowLabelSize
,(self
,) + _args
, _kwargs
)
1010 def GetDefaultColLabelSize(self
, *_args
, **_kwargs
):
1011 val
= apply(gridc
.wxGrid_GetDefaultColLabelSize
,(self
,) + _args
, _kwargs
)
1013 def GetColLabelSize(self
, *_args
, **_kwargs
):
1014 val
= apply(gridc
.wxGrid_GetColLabelSize
,(self
,) + _args
, _kwargs
)
1016 def GetLabelBackgroundColour(self
, *_args
, **_kwargs
):
1017 val
= apply(gridc
.wxGrid_GetLabelBackgroundColour
,(self
,) + _args
, _kwargs
)
1018 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
1020 def GetLabelTextColour(self
, *_args
, **_kwargs
):
1021 val
= apply(gridc
.wxGrid_GetLabelTextColour
,(self
,) + _args
, _kwargs
)
1022 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
1024 def GetLabelFont(self
, *_args
, **_kwargs
):
1025 val
= apply(gridc
.wxGrid_GetLabelFont
,(self
,) + _args
, _kwargs
)
1026 if val
: val
= wxFontPtr(val
) ; val
.thisown
= 1
1028 def GetRowLabelAlignment(self
, *_args
, **_kwargs
):
1029 val
= apply(gridc
.wxGrid_GetRowLabelAlignment
,(self
,) + _args
, _kwargs
)
1031 def GetColLabelAlignment(self
, *_args
, **_kwargs
):
1032 val
= apply(gridc
.wxGrid_GetColLabelAlignment
,(self
,) + _args
, _kwargs
)
1034 def GetRowLabelValue(self
, *_args
, **_kwargs
):
1035 val
= apply(gridc
.wxGrid_GetRowLabelValue
,(self
,) + _args
, _kwargs
)
1037 def GetColLabelValue(self
, *_args
, **_kwargs
):
1038 val
= apply(gridc
.wxGrid_GetColLabelValue
,(self
,) + _args
, _kwargs
)
1040 def GetGridLineColour(self
, *_args
, **_kwargs
):
1041 val
= apply(gridc
.wxGrid_GetGridLineColour
,(self
,) + _args
, _kwargs
)
1042 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
1044 def GetCellHighlightColour(self
, *_args
, **_kwargs
):
1045 val
= apply(gridc
.wxGrid_GetCellHighlightColour
,(self
,) + _args
, _kwargs
)
1046 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
1048 def GetCellHighlightPenWidth(self
, *_args
, **_kwargs
):
1049 val
= apply(gridc
.wxGrid_GetCellHighlightPenWidth
,(self
,) + _args
, _kwargs
)
1051 def GetCellHighlightROPenWidth(self
, *_args
, **_kwargs
):
1052 val
= apply(gridc
.wxGrid_GetCellHighlightROPenWidth
,(self
,) + _args
, _kwargs
)
1054 def SetRowLabelSize(self
, *_args
, **_kwargs
):
1055 val
= apply(gridc
.wxGrid_SetRowLabelSize
,(self
,) + _args
, _kwargs
)
1057 def SetColLabelSize(self
, *_args
, **_kwargs
):
1058 val
= apply(gridc
.wxGrid_SetColLabelSize
,(self
,) + _args
, _kwargs
)
1060 def SetLabelBackgroundColour(self
, *_args
, **_kwargs
):
1061 val
= apply(gridc
.wxGrid_SetLabelBackgroundColour
,(self
,) + _args
, _kwargs
)
1063 def SetLabelTextColour(self
, *_args
, **_kwargs
):
1064 val
= apply(gridc
.wxGrid_SetLabelTextColour
,(self
,) + _args
, _kwargs
)
1066 def SetLabelFont(self
, *_args
, **_kwargs
):
1067 val
= apply(gridc
.wxGrid_SetLabelFont
,(self
,) + _args
, _kwargs
)
1069 def SetRowLabelAlignment(self
, *_args
, **_kwargs
):
1070 val
= apply(gridc
.wxGrid_SetRowLabelAlignment
,(self
,) + _args
, _kwargs
)
1072 def SetColLabelAlignment(self
, *_args
, **_kwargs
):
1073 val
= apply(gridc
.wxGrid_SetColLabelAlignment
,(self
,) + _args
, _kwargs
)
1075 def SetRowLabelValue(self
, *_args
, **_kwargs
):
1076 val
= apply(gridc
.wxGrid_SetRowLabelValue
,(self
,) + _args
, _kwargs
)
1078 def SetColLabelValue(self
, *_args
, **_kwargs
):
1079 val
= apply(gridc
.wxGrid_SetColLabelValue
,(self
,) + _args
, _kwargs
)
1081 def SetGridLineColour(self
, *_args
, **_kwargs
):
1082 val
= apply(gridc
.wxGrid_SetGridLineColour
,(self
,) + _args
, _kwargs
)
1084 def SetCellHighlightColour(self
, *_args
, **_kwargs
):
1085 val
= apply(gridc
.wxGrid_SetCellHighlightColour
,(self
,) + _args
, _kwargs
)
1087 def SetCellHighlightPenWidth(self
, *_args
, **_kwargs
):
1088 val
= apply(gridc
.wxGrid_SetCellHighlightPenWidth
,(self
,) + _args
, _kwargs
)
1090 def SetCellHighlightROPenWidth(self
, *_args
, **_kwargs
):
1091 val
= apply(gridc
.wxGrid_SetCellHighlightROPenWidth
,(self
,) + _args
, _kwargs
)
1093 def EnableDragRowSize(self
, *_args
, **_kwargs
):
1094 val
= apply(gridc
.wxGrid_EnableDragRowSize
,(self
,) + _args
, _kwargs
)
1096 def DisableDragRowSize(self
, *_args
, **_kwargs
):
1097 val
= apply(gridc
.wxGrid_DisableDragRowSize
,(self
,) + _args
, _kwargs
)
1099 def CanDragRowSize(self
, *_args
, **_kwargs
):
1100 val
= apply(gridc
.wxGrid_CanDragRowSize
,(self
,) + _args
, _kwargs
)
1102 def EnableDragColSize(self
, *_args
, **_kwargs
):
1103 val
= apply(gridc
.wxGrid_EnableDragColSize
,(self
,) + _args
, _kwargs
)
1105 def DisableDragColSize(self
, *_args
, **_kwargs
):
1106 val
= apply(gridc
.wxGrid_DisableDragColSize
,(self
,) + _args
, _kwargs
)
1108 def CanDragColSize(self
, *_args
, **_kwargs
):
1109 val
= apply(gridc
.wxGrid_CanDragColSize
,(self
,) + _args
, _kwargs
)
1111 def EnableDragGridSize(self
, *_args
, **_kwargs
):
1112 val
= apply(gridc
.wxGrid_EnableDragGridSize
,(self
,) + _args
, _kwargs
)
1114 def DisableDragGridSize(self
, *_args
, **_kwargs
):
1115 val
= apply(gridc
.wxGrid_DisableDragGridSize
,(self
,) + _args
, _kwargs
)
1117 def CanDragGridSize(self
, *_args
, **_kwargs
):
1118 val
= apply(gridc
.wxGrid_CanDragGridSize
,(self
,) + _args
, _kwargs
)
1120 def SetRowAttr(self
, *_args
, **_kwargs
):
1121 val
= apply(gridc
.wxGrid_SetRowAttr
,(self
,) + _args
, _kwargs
)
1123 def SetColAttr(self
, *_args
, **_kwargs
):
1124 val
= apply(gridc
.wxGrid_SetColAttr
,(self
,) + _args
, _kwargs
)
1126 def SetColFormatBool(self
, *_args
, **_kwargs
):
1127 val
= apply(gridc
.wxGrid_SetColFormatBool
,(self
,) + _args
, _kwargs
)
1129 def SetColFormatNumber(self
, *_args
, **_kwargs
):
1130 val
= apply(gridc
.wxGrid_SetColFormatNumber
,(self
,) + _args
, _kwargs
)
1132 def SetColFormatFloat(self
, *_args
, **_kwargs
):
1133 val
= apply(gridc
.wxGrid_SetColFormatFloat
,(self
,) + _args
, _kwargs
)
1135 def SetColFormatCustom(self
, *_args
, **_kwargs
):
1136 val
= apply(gridc
.wxGrid_SetColFormatCustom
,(self
,) + _args
, _kwargs
)
1138 def EnableGridLines(self
, *_args
, **_kwargs
):
1139 val
= apply(gridc
.wxGrid_EnableGridLines
,(self
,) + _args
, _kwargs
)
1141 def GridLinesEnabled(self
, *_args
, **_kwargs
):
1142 val
= apply(gridc
.wxGrid_GridLinesEnabled
,(self
,) + _args
, _kwargs
)
1144 def GetDefaultRowSize(self
, *_args
, **_kwargs
):
1145 val
= apply(gridc
.wxGrid_GetDefaultRowSize
,(self
,) + _args
, _kwargs
)
1147 def GetRowSize(self
, *_args
, **_kwargs
):
1148 val
= apply(gridc
.wxGrid_GetRowSize
,(self
,) + _args
, _kwargs
)
1150 def GetDefaultColSize(self
, *_args
, **_kwargs
):
1151 val
= apply(gridc
.wxGrid_GetDefaultColSize
,(self
,) + _args
, _kwargs
)
1153 def GetColSize(self
, *_args
, **_kwargs
):
1154 val
= apply(gridc
.wxGrid_GetColSize
,(self
,) + _args
, _kwargs
)
1156 def GetDefaultCellBackgroundColour(self
, *_args
, **_kwargs
):
1157 val
= apply(gridc
.wxGrid_GetDefaultCellBackgroundColour
,(self
,) + _args
, _kwargs
)
1158 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
1160 def GetCellBackgroundColour(self
, *_args
, **_kwargs
):
1161 val
= apply(gridc
.wxGrid_GetCellBackgroundColour
,(self
,) + _args
, _kwargs
)
1162 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
1164 def GetDefaultCellTextColour(self
, *_args
, **_kwargs
):
1165 val
= apply(gridc
.wxGrid_GetDefaultCellTextColour
,(self
,) + _args
, _kwargs
)
1166 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
1168 def GetCellTextColour(self
, *_args
, **_kwargs
):
1169 val
= apply(gridc
.wxGrid_GetCellTextColour
,(self
,) + _args
, _kwargs
)
1170 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
1172 def GetDefaultCellFont(self
, *_args
, **_kwargs
):
1173 val
= apply(gridc
.wxGrid_GetDefaultCellFont
,(self
,) + _args
, _kwargs
)
1174 if val
: val
= wxFontPtr(val
) ; val
.thisown
= 1
1176 def GetCellFont(self
, *_args
, **_kwargs
):
1177 val
= apply(gridc
.wxGrid_GetCellFont
,(self
,) + _args
, _kwargs
)
1178 if val
: val
= wxFontPtr(val
) ; val
.thisown
= 1
1180 def GetDefaultCellAlignment(self
, *_args
, **_kwargs
):
1181 val
= apply(gridc
.wxGrid_GetDefaultCellAlignment
,(self
,) + _args
, _kwargs
)
1183 def GetCellAlignment(self
, *_args
, **_kwargs
):
1184 val
= apply(gridc
.wxGrid_GetCellAlignment
,(self
,) + _args
, _kwargs
)
1186 def SetDefaultRowSize(self
, *_args
, **_kwargs
):
1187 val
= apply(gridc
.wxGrid_SetDefaultRowSize
,(self
,) + _args
, _kwargs
)
1189 def SetRowSize(self
, *_args
, **_kwargs
):
1190 val
= apply(gridc
.wxGrid_SetRowSize
,(self
,) + _args
, _kwargs
)
1192 def SetDefaultColSize(self
, *_args
, **_kwargs
):
1193 val
= apply(gridc
.wxGrid_SetDefaultColSize
,(self
,) + _args
, _kwargs
)
1195 def SetColSize(self
, *_args
, **_kwargs
):
1196 val
= apply(gridc
.wxGrid_SetColSize
,(self
,) + _args
, _kwargs
)
1198 def AutoSizeColumn(self
, *_args
, **_kwargs
):
1199 val
= apply(gridc
.wxGrid_AutoSizeColumn
,(self
,) + _args
, _kwargs
)
1201 def AutoSizeRow(self
, *_args
, **_kwargs
):
1202 val
= apply(gridc
.wxGrid_AutoSizeRow
,(self
,) + _args
, _kwargs
)
1204 def AutoSizeColumns(self
, *_args
, **_kwargs
):
1205 val
= apply(gridc
.wxGrid_AutoSizeColumns
,(self
,) + _args
, _kwargs
)
1207 def AutoSizeRows(self
, *_args
, **_kwargs
):
1208 val
= apply(gridc
.wxGrid_AutoSizeRows
,(self
,) + _args
, _kwargs
)
1210 def AutoSize(self
, *_args
, **_kwargs
):
1211 val
= apply(gridc
.wxGrid_AutoSize
,(self
,) + _args
, _kwargs
)
1213 def SetColMinimalWidth(self
, *_args
, **_kwargs
):
1214 val
= apply(gridc
.wxGrid_SetColMinimalWidth
,(self
,) + _args
, _kwargs
)
1216 def SetRowMinimalHeight(self
, *_args
, **_kwargs
):
1217 val
= apply(gridc
.wxGrid_SetRowMinimalHeight
,(self
,) + _args
, _kwargs
)
1219 def SetDefaultCellBackgroundColour(self
, *_args
, **_kwargs
):
1220 val
= apply(gridc
.wxGrid_SetDefaultCellBackgroundColour
,(self
,) + _args
, _kwargs
)
1222 def SetCellBackgroundColour(self
, *_args
, **_kwargs
):
1223 val
= apply(gridc
.wxGrid_SetCellBackgroundColour
,(self
,) + _args
, _kwargs
)
1225 def SetDefaultCellTextColour(self
, *_args
, **_kwargs
):
1226 val
= apply(gridc
.wxGrid_SetDefaultCellTextColour
,(self
,) + _args
, _kwargs
)
1228 def SetCellTextColour(self
, *_args
, **_kwargs
):
1229 val
= apply(gridc
.wxGrid_SetCellTextColour
,(self
,) + _args
, _kwargs
)
1231 def SetDefaultCellFont(self
, *_args
, **_kwargs
):
1232 val
= apply(gridc
.wxGrid_SetDefaultCellFont
,(self
,) + _args
, _kwargs
)
1234 def SetCellFont(self
, *_args
, **_kwargs
):
1235 val
= apply(gridc
.wxGrid_SetCellFont
,(self
,) + _args
, _kwargs
)
1237 def SetDefaultCellAlignment(self
, *_args
, **_kwargs
):
1238 val
= apply(gridc
.wxGrid_SetDefaultCellAlignment
,(self
,) + _args
, _kwargs
)
1240 def SetCellAlignment(self
, *_args
, **_kwargs
):
1241 val
= apply(gridc
.wxGrid_SetCellAlignment
,(self
,) + _args
, _kwargs
)
1243 def SetDefaultRenderer(self
, *_args
, **_kwargs
):
1244 val
= apply(gridc
.wxGrid_SetDefaultRenderer
,(self
,) + _args
, _kwargs
)
1246 def SetCellRenderer(self
, *_args
, **_kwargs
):
1247 val
= apply(gridc
.wxGrid_SetCellRenderer
,(self
,) + _args
, _kwargs
)
1249 def GetDefaultRenderer(self
, *_args
, **_kwargs
):
1250 val
= apply(gridc
.wxGrid_GetDefaultRenderer
,(self
,) + _args
, _kwargs
)
1251 if val
: val
= wxGridCellRendererPtr(val
)
1253 def GetCellRenderer(self
, *_args
, **_kwargs
):
1254 val
= apply(gridc
.wxGrid_GetCellRenderer
,(self
,) + _args
, _kwargs
)
1255 if val
: val
= wxGridCellRendererPtr(val
)
1257 def SetDefaultEditor(self
, *_args
, **_kwargs
):
1258 val
= apply(gridc
.wxGrid_SetDefaultEditor
,(self
,) + _args
, _kwargs
)
1260 def SetCellEditor(self
, *_args
, **_kwargs
):
1261 val
= apply(gridc
.wxGrid_SetCellEditor
,(self
,) + _args
, _kwargs
)
1263 def GetDefaultEditor(self
, *_args
, **_kwargs
):
1264 val
= apply(gridc
.wxGrid_GetDefaultEditor
,(self
,) + _args
, _kwargs
)
1265 if val
: val
= wxGridCellEditorPtr(val
)
1267 def GetCellEditor(self
, *_args
, **_kwargs
):
1268 val
= apply(gridc
.wxGrid_GetCellEditor
,(self
,) + _args
, _kwargs
)
1269 if val
: val
= wxGridCellEditorPtr(val
)
1271 def GetCellValue(self
, *_args
, **_kwargs
):
1272 val
= apply(gridc
.wxGrid_GetCellValue
,(self
,) + _args
, _kwargs
)
1274 def SetCellValue(self
, *_args
, **_kwargs
):
1275 val
= apply(gridc
.wxGrid_SetCellValue
,(self
,) + _args
, _kwargs
)
1277 def IsReadOnly(self
, *_args
, **_kwargs
):
1278 val
= apply(gridc
.wxGrid_IsReadOnly
,(self
,) + _args
, _kwargs
)
1280 def SetReadOnly(self
, *_args
, **_kwargs
):
1281 val
= apply(gridc
.wxGrid_SetReadOnly
,(self
,) + _args
, _kwargs
)
1283 def SelectRow(self
, *_args
, **_kwargs
):
1284 val
= apply(gridc
.wxGrid_SelectRow
,(self
,) + _args
, _kwargs
)
1286 def SelectCol(self
, *_args
, **_kwargs
):
1287 val
= apply(gridc
.wxGrid_SelectCol
,(self
,) + _args
, _kwargs
)
1289 def SelectBlock(self
, *_args
, **_kwargs
):
1290 val
= apply(gridc
.wxGrid_SelectBlock
,(self
,) + _args
, _kwargs
)
1292 def SelectAll(self
, *_args
, **_kwargs
):
1293 val
= apply(gridc
.wxGrid_SelectAll
,(self
,) + _args
, _kwargs
)
1295 def IsSelection(self
, *_args
, **_kwargs
):
1296 val
= apply(gridc
.wxGrid_IsSelection
,(self
,) + _args
, _kwargs
)
1298 def ClearSelection(self
, *_args
, **_kwargs
):
1299 val
= apply(gridc
.wxGrid_ClearSelection
,(self
,) + _args
, _kwargs
)
1301 def IsInSelection(self
, *_args
, **_kwargs
):
1302 val
= apply(gridc
.wxGrid_IsInSelection
,(self
,) + _args
, _kwargs
)
1304 def BlockToDeviceRect(self
, *_args
, **_kwargs
):
1305 val
= apply(gridc
.wxGrid_BlockToDeviceRect
,(self
,) + _args
, _kwargs
)
1306 if val
: val
= wxRectPtr(val
) ; val
.thisown
= 1
1308 def GetSelectionBackground(self
, *_args
, **_kwargs
):
1309 val
= apply(gridc
.wxGrid_GetSelectionBackground
,(self
,) + _args
, _kwargs
)
1310 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
1312 def GetSelectionForeground(self
, *_args
, **_kwargs
):
1313 val
= apply(gridc
.wxGrid_GetSelectionForeground
,(self
,) + _args
, _kwargs
)
1314 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
1316 def SetSelectionBackground(self
, *_args
, **_kwargs
):
1317 val
= apply(gridc
.wxGrid_SetSelectionBackground
,(self
,) + _args
, _kwargs
)
1319 def SetSelectionForeground(self
, *_args
, **_kwargs
):
1320 val
= apply(gridc
.wxGrid_SetSelectionForeground
,(self
,) + _args
, _kwargs
)
1322 def RegisterDataType(self
, *_args
, **_kwargs
):
1323 val
= apply(gridc
.wxGrid_RegisterDataType
,(self
,) + _args
, _kwargs
)
1325 def GetDefaultEditorForCell(self
, *_args
, **_kwargs
):
1326 val
= apply(gridc
.wxGrid_GetDefaultEditorForCell
,(self
,) + _args
, _kwargs
)
1327 if val
: val
= wxGridCellEditorPtr(val
)
1329 def GetDefaultRendererForCell(self
, *_args
, **_kwargs
):
1330 val
= apply(gridc
.wxGrid_GetDefaultRendererForCell
,(self
,) + _args
, _kwargs
)
1331 if val
: val
= wxGridCellRendererPtr(val
)
1333 def GetDefaultEditorForType(self
, *_args
, **_kwargs
):
1334 val
= apply(gridc
.wxGrid_GetDefaultEditorForType
,(self
,) + _args
, _kwargs
)
1335 if val
: val
= wxGridCellEditorPtr(val
)
1337 def GetDefaultRendererForType(self
, *_args
, **_kwargs
):
1338 val
= apply(gridc
.wxGrid_GetDefaultRendererForType
,(self
,) + _args
, _kwargs
)
1339 if val
: val
= wxGridCellRendererPtr(val
)
1341 def SetMargins(self
, *_args
, **_kwargs
):
1342 val
= apply(gridc
.wxGrid_SetMargins
,(self
,) + _args
, _kwargs
)
1344 def GetGridWindow(self
, *_args
, **_kwargs
):
1345 val
= apply(gridc
.wxGrid_GetGridWindow
,(self
,) + _args
, _kwargs
)
1347 def GetGridRowLabelWindow(self
, *_args
, **_kwargs
):
1348 val
= apply(gridc
.wxGrid_GetGridRowLabelWindow
,(self
,) + _args
, _kwargs
)
1350 def GetGridColLabelWindow(self
, *_args
, **_kwargs
):
1351 val
= apply(gridc
.wxGrid_GetGridColLabelWindow
,(self
,) + _args
, _kwargs
)
1353 def GetGridCornerLabelWindow(self
, *_args
, **_kwargs
):
1354 val
= apply(gridc
.wxGrid_GetGridCornerLabelWindow
,(self
,) + _args
, _kwargs
)
1357 return "<C wxGrid instance at %s>" % (self
.this
,)
1358 class wxGrid(wxGridPtr
):
1359 def __init__(self
,*_args
,**_kwargs
):
1360 self
.this
= apply(gridc
.new_wxGrid
,_args
,_kwargs
)
1366 class wxGridEventPtr(wxNotifyEventPtr
):
1367 def __init__(self
,this
):
1370 def GetRow(self
, *_args
, **_kwargs
):
1371 val
= apply(gridc
.wxGridEvent_GetRow
,(self
,) + _args
, _kwargs
)
1373 def GetCol(self
, *_args
, **_kwargs
):
1374 val
= apply(gridc
.wxGridEvent_GetCol
,(self
,) + _args
, _kwargs
)
1376 def GetPosition(self
, *_args
, **_kwargs
):
1377 val
= apply(gridc
.wxGridEvent_GetPosition
,(self
,) + _args
, _kwargs
)
1378 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
1380 def Selecting(self
, *_args
, **_kwargs
):
1381 val
= apply(gridc
.wxGridEvent_Selecting
,(self
,) + _args
, _kwargs
)
1383 def ControlDown(self
, *_args
, **_kwargs
):
1384 val
= apply(gridc
.wxGridEvent_ControlDown
,(self
,) + _args
, _kwargs
)
1386 def MetaDown(self
, *_args
, **_kwargs
):
1387 val
= apply(gridc
.wxGridEvent_MetaDown
,(self
,) + _args
, _kwargs
)
1389 def ShiftDown(self
, *_args
, **_kwargs
):
1390 val
= apply(gridc
.wxGridEvent_ShiftDown
,(self
,) + _args
, _kwargs
)
1392 def AltDown(self
, *_args
, **_kwargs
):
1393 val
= apply(gridc
.wxGridEvent_AltDown
,(self
,) + _args
, _kwargs
)
1396 return "<C wxGridEvent instance at %s>" % (self
.this
,)
1397 class wxGridEvent(wxGridEventPtr
):
1398 def __init__(self
,*_args
,**_kwargs
):
1399 self
.this
= apply(gridc
.new_wxGridEvent
,_args
,_kwargs
)
1405 class wxGridSizeEventPtr(wxNotifyEventPtr
):
1406 def __init__(self
,this
):
1409 def GetRowOrCol(self
, *_args
, **_kwargs
):
1410 val
= apply(gridc
.wxGridSizeEvent_GetRowOrCol
,(self
,) + _args
, _kwargs
)
1412 def GetPosition(self
, *_args
, **_kwargs
):
1413 val
= apply(gridc
.wxGridSizeEvent_GetPosition
,(self
,) + _args
, _kwargs
)
1414 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
1416 def ControlDown(self
, *_args
, **_kwargs
):
1417 val
= apply(gridc
.wxGridSizeEvent_ControlDown
,(self
,) + _args
, _kwargs
)
1419 def MetaDown(self
, *_args
, **_kwargs
):
1420 val
= apply(gridc
.wxGridSizeEvent_MetaDown
,(self
,) + _args
, _kwargs
)
1422 def ShiftDown(self
, *_args
, **_kwargs
):
1423 val
= apply(gridc
.wxGridSizeEvent_ShiftDown
,(self
,) + _args
, _kwargs
)
1425 def AltDown(self
, *_args
, **_kwargs
):
1426 val
= apply(gridc
.wxGridSizeEvent_AltDown
,(self
,) + _args
, _kwargs
)
1429 return "<C wxGridSizeEvent instance at %s>" % (self
.this
,)
1430 class wxGridSizeEvent(wxGridSizeEventPtr
):
1431 def __init__(self
,*_args
,**_kwargs
):
1432 self
.this
= apply(gridc
.new_wxGridSizeEvent
,_args
,_kwargs
)
1438 class wxGridRangeSelectEventPtr(wxNotifyEventPtr
):
1439 def __init__(self
,this
):
1442 def GetTopLeftCoords(self
, *_args
, **_kwargs
):
1443 val
= apply(gridc
.wxGridRangeSelectEvent_GetTopLeftCoords
,(self
,) + _args
, _kwargs
)
1444 if val
: val
= wxGridCellCoordsPtr(val
) ; val
.thisown
= 1
1446 def GetBottomRightCoords(self
, *_args
, **_kwargs
):
1447 val
= apply(gridc
.wxGridRangeSelectEvent_GetBottomRightCoords
,(self
,) + _args
, _kwargs
)
1448 if val
: val
= wxGridCellCoordsPtr(val
) ; val
.thisown
= 1
1450 def GetTopRow(self
, *_args
, **_kwargs
):
1451 val
= apply(gridc
.wxGridRangeSelectEvent_GetTopRow
,(self
,) + _args
, _kwargs
)
1453 def GetBottomRow(self
, *_args
, **_kwargs
):
1454 val
= apply(gridc
.wxGridRangeSelectEvent_GetBottomRow
,(self
,) + _args
, _kwargs
)
1456 def GetLeftCol(self
, *_args
, **_kwargs
):
1457 val
= apply(gridc
.wxGridRangeSelectEvent_GetLeftCol
,(self
,) + _args
, _kwargs
)
1459 def GetRightCol(self
, *_args
, **_kwargs
):
1460 val
= apply(gridc
.wxGridRangeSelectEvent_GetRightCol
,(self
,) + _args
, _kwargs
)
1462 def Selecting(self
, *_args
, **_kwargs
):
1463 val
= apply(gridc
.wxGridRangeSelectEvent_Selecting
,(self
,) + _args
, _kwargs
)
1465 def ControlDown(self
, *_args
, **_kwargs
):
1466 val
= apply(gridc
.wxGridRangeSelectEvent_ControlDown
,(self
,) + _args
, _kwargs
)
1468 def MetaDown(self
, *_args
, **_kwargs
):
1469 val
= apply(gridc
.wxGridRangeSelectEvent_MetaDown
,(self
,) + _args
, _kwargs
)
1471 def ShiftDown(self
, *_args
, **_kwargs
):
1472 val
= apply(gridc
.wxGridRangeSelectEvent_ShiftDown
,(self
,) + _args
, _kwargs
)
1474 def AltDown(self
, *_args
, **_kwargs
):
1475 val
= apply(gridc
.wxGridRangeSelectEvent_AltDown
,(self
,) + _args
, _kwargs
)
1478 return "<C wxGridRangeSelectEvent instance at %s>" % (self
.this
,)
1479 class wxGridRangeSelectEvent(wxGridRangeSelectEventPtr
):
1480 def __init__(self
,*_args
,**_kwargs
):
1481 self
.this
= apply(gridc
.new_wxGridRangeSelectEvent
,_args
,_kwargs
)
1487 class wxGridEditorCreatedEventPtr(wxCommandEventPtr
):
1488 def __init__(self
,this
):
1491 def GetRow(self
, *_args
, **_kwargs
):
1492 val
= apply(gridc
.wxGridEditorCreatedEvent_GetRow
,(self
,) + _args
, _kwargs
)
1494 def GetCol(self
, *_args
, **_kwargs
):
1495 val
= apply(gridc
.wxGridEditorCreatedEvent_GetCol
,(self
,) + _args
, _kwargs
)
1497 def GetControl(self
, *_args
, **_kwargs
):
1498 val
= apply(gridc
.wxGridEditorCreatedEvent_GetControl
,(self
,) + _args
, _kwargs
)
1500 def SetRow(self
, *_args
, **_kwargs
):
1501 val
= apply(gridc
.wxGridEditorCreatedEvent_SetRow
,(self
,) + _args
, _kwargs
)
1503 def SetCol(self
, *_args
, **_kwargs
):
1504 val
= apply(gridc
.wxGridEditorCreatedEvent_SetCol
,(self
,) + _args
, _kwargs
)
1506 def SetControl(self
, *_args
, **_kwargs
):
1507 val
= apply(gridc
.wxGridEditorCreatedEvent_SetControl
,(self
,) + _args
, _kwargs
)
1510 return "<C wxGridEditorCreatedEvent instance at %s>" % (self
.this
,)
1511 class wxGridEditorCreatedEvent(wxGridEditorCreatedEventPtr
):
1512 def __init__(self
,*_args
,**_kwargs
):
1513 self
.this
= apply(gridc
.new_wxGridEditorCreatedEvent
,_args
,_kwargs
)
1521 #-------------- FUNCTION WRAPPERS ------------------
1525 #-------------- VARIABLE WRAPPERS ------------------
1527 wxGRID_VALUE_STRING
= gridc
.wxGRID_VALUE_STRING
1528 wxGRID_VALUE_BOOL
= gridc
.wxGRID_VALUE_BOOL
1529 wxGRID_VALUE_NUMBER
= gridc
.wxGRID_VALUE_NUMBER
1530 wxGRID_VALUE_FLOAT
= gridc
.wxGRID_VALUE_FLOAT
1531 wxGRID_VALUE_CHOICE
= gridc
.wxGRID_VALUE_CHOICE
1532 wxGRID_VALUE_TEXT
= gridc
.wxGRID_VALUE_TEXT
1533 wxGRID_VALUE_LONG
= gridc
.wxGRID_VALUE_LONG
1535 wxGridNoCellCoords
= wxGridCellCoordsPtr(gridc
.cvar
.wxGridNoCellCoords
)
1536 wxGridNoCellRect
= wxRectPtr(gridc
.cvar
.wxGridNoCellRect
)
1537 wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
= gridc
.wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
1538 wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
= gridc
.wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
1539 wxGRIDTABLE_NOTIFY_ROWS_INSERTED
= gridc
.wxGRIDTABLE_NOTIFY_ROWS_INSERTED
1540 wxGRIDTABLE_NOTIFY_ROWS_APPENDED
= gridc
.wxGRIDTABLE_NOTIFY_ROWS_APPENDED
1541 wxGRIDTABLE_NOTIFY_ROWS_DELETED
= gridc
.wxGRIDTABLE_NOTIFY_ROWS_DELETED
1542 wxGRIDTABLE_NOTIFY_COLS_INSERTED
= gridc
.wxGRIDTABLE_NOTIFY_COLS_INSERTED
1543 wxGRIDTABLE_NOTIFY_COLS_APPENDED
= gridc
.wxGRIDTABLE_NOTIFY_COLS_APPENDED
1544 wxGRIDTABLE_NOTIFY_COLS_DELETED
= gridc
.wxGRIDTABLE_NOTIFY_COLS_DELETED
1545 wxEVT_GRID_CELL_LEFT_CLICK
= gridc
.wxEVT_GRID_CELL_LEFT_CLICK
1546 wxEVT_GRID_CELL_RIGHT_CLICK
= gridc
.wxEVT_GRID_CELL_RIGHT_CLICK
1547 wxEVT_GRID_CELL_LEFT_DCLICK
= gridc
.wxEVT_GRID_CELL_LEFT_DCLICK
1548 wxEVT_GRID_CELL_RIGHT_DCLICK
= gridc
.wxEVT_GRID_CELL_RIGHT_DCLICK
1549 wxEVT_GRID_LABEL_LEFT_CLICK
= gridc
.wxEVT_GRID_LABEL_LEFT_CLICK
1550 wxEVT_GRID_LABEL_RIGHT_CLICK
= gridc
.wxEVT_GRID_LABEL_RIGHT_CLICK
1551 wxEVT_GRID_LABEL_LEFT_DCLICK
= gridc
.wxEVT_GRID_LABEL_LEFT_DCLICK
1552 wxEVT_GRID_LABEL_RIGHT_DCLICK
= gridc
.wxEVT_GRID_LABEL_RIGHT_DCLICK
1553 wxEVT_GRID_ROW_SIZE
= gridc
.wxEVT_GRID_ROW_SIZE
1554 wxEVT_GRID_COL_SIZE
= gridc
.wxEVT_GRID_COL_SIZE
1555 wxEVT_GRID_RANGE_SELECT
= gridc
.wxEVT_GRID_RANGE_SELECT
1556 wxEVT_GRID_CELL_CHANGE
= gridc
.wxEVT_GRID_CELL_CHANGE
1557 wxEVT_GRID_SELECT_CELL
= gridc
.wxEVT_GRID_SELECT_CELL
1558 wxEVT_GRID_EDITOR_SHOWN
= gridc
.wxEVT_GRID_EDITOR_SHOWN
1559 wxEVT_GRID_EDITOR_HIDDEN
= gridc
.wxEVT_GRID_EDITOR_HIDDEN
1560 wxEVT_GRID_EDITOR_CREATED
= gridc
.wxEVT_GRID_EDITOR_CREATED
1563 #-------------- USER INCLUDE -----------------------
1567 # Stuff these names into the wx namespace so wxPyConstructObject can find them
1569 wx
.wxGridEventPtr
= wxGridEventPtr
1570 wx
.wxGridSizeEventPtr
= wxGridSizeEventPtr
1571 wx
.wxGridRangeSelectEventPtr
= wxGridRangeSelectEventPtr
1572 wx
.wxGridEditorCreatedEventPtr
= wxGridEditorCreatedEventPtr
1573 wx
.wxGridCellRendererPtr
= wxGridCellRendererPtr
1574 wx
.wxPyGridCellRendererPtr
= wxPyGridCellRendererPtr
1575 wx
.wxGridCellEditorPtr
= wxGridCellEditorPtr
1576 wx
.wxPyGridCellEditorPtr
= wxPyGridCellEditorPtr
1577 wx
.wxGridCellAttrPtr
= wxGridCellAttrPtr
1578 wx
.wxGridCellAttrProviderPtr
= wxGridCellAttrProviderPtr
1579 wx
.wxPyGridCellAttrProviderPtr
= wxPyGridCellAttrProviderPtr
1580 wx
.wxGridTableBasePtr
= wxGridTableBasePtr
1581 wx
.wxPyGridTableBasePtr
= wxPyGridTableBasePtr
1582 wx
.wxGridTableMessagePtr
= wxGridTableMessagePtr
1583 wx
.wxGridCellCoordsPtr
= wxGridCellCoordsPtr
1584 wx
.wxGridPtr
= wxGridPtr