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
)
63 class wxGridCellRendererPtr
:
64 def __init__(self
,this
):
67 def SetParameters(self
, *_args
, **_kwargs
):
68 val
= apply(gridc
.wxGridCellRenderer_SetParameters
,(self
,) + _args
, _kwargs
)
70 def IncRef(self
, *_args
, **_kwargs
):
71 val
= apply(gridc
.wxGridCellRenderer_IncRef
,(self
,) + _args
, _kwargs
)
73 def DecRef(self
, *_args
, **_kwargs
):
74 val
= apply(gridc
.wxGridCellRenderer_DecRef
,(self
,) + _args
, _kwargs
)
76 def Draw(self
, *_args
, **_kwargs
):
77 val
= apply(gridc
.wxGridCellRenderer_Draw
,(self
,) + _args
, _kwargs
)
79 def GetBestSize(self
, *_args
, **_kwargs
):
80 val
= apply(gridc
.wxGridCellRenderer_GetBestSize
,(self
,) + _args
, _kwargs
)
81 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
83 def Clone(self
, *_args
, **_kwargs
):
84 val
= apply(gridc
.wxGridCellRenderer_Clone
,(self
,) + _args
, _kwargs
)
85 if val
: val
= wxGridCellRendererPtr(val
)
88 return "<C wxGridCellRenderer instance at %s>" % (self
.this
,)
89 class wxGridCellRenderer(wxGridCellRendererPtr
):
90 def __init__(self
,this
):
96 class wxPyGridCellRendererPtr(wxGridCellRendererPtr
):
97 def __init__(self
,this
):
100 def _setSelf(self
, *_args
, **_kwargs
):
101 val
= apply(gridc
.wxPyGridCellRenderer__setSelf
,(self
,) + _args
, _kwargs
)
103 def base_SetParameters(self
, *_args
, **_kwargs
):
104 val
= apply(gridc
.wxPyGridCellRenderer_base_SetParameters
,(self
,) + _args
, _kwargs
)
107 return "<C wxPyGridCellRenderer instance at %s>" % (self
.this
,)
108 class wxPyGridCellRenderer(wxPyGridCellRendererPtr
):
109 def __init__(self
,*_args
,**_kwargs
):
110 self
.this
= apply(gridc
.new_wxPyGridCellRenderer
,_args
,_kwargs
)
112 self
._setSelf
(self
, wxPyGridCellRenderer
)
117 class wxGridCellStringRendererPtr(wxGridCellRendererPtr
):
118 def __init__(self
,this
):
122 return "<C wxGridCellStringRenderer instance at %s>" % (self
.this
,)
123 class wxGridCellStringRenderer(wxGridCellStringRendererPtr
):
124 def __init__(self
,*_args
,**_kwargs
):
125 self
.this
= apply(gridc
.new_wxGridCellStringRenderer
,_args
,_kwargs
)
131 class wxGridCellNumberRendererPtr(wxGridCellStringRendererPtr
):
132 def __init__(self
,this
):
136 return "<C wxGridCellNumberRenderer instance at %s>" % (self
.this
,)
137 class wxGridCellNumberRenderer(wxGridCellNumberRendererPtr
):
138 def __init__(self
,*_args
,**_kwargs
):
139 self
.this
= apply(gridc
.new_wxGridCellNumberRenderer
,_args
,_kwargs
)
145 class wxGridCellFloatRendererPtr(wxGridCellStringRendererPtr
):
146 def __init__(self
,this
):
149 def GetWidth(self
, *_args
, **_kwargs
):
150 val
= apply(gridc
.wxGridCellFloatRenderer_GetWidth
,(self
,) + _args
, _kwargs
)
152 def SetWidth(self
, *_args
, **_kwargs
):
153 val
= apply(gridc
.wxGridCellFloatRenderer_SetWidth
,(self
,) + _args
, _kwargs
)
155 def GetPrecision(self
, *_args
, **_kwargs
):
156 val
= apply(gridc
.wxGridCellFloatRenderer_GetPrecision
,(self
,) + _args
, _kwargs
)
158 def SetPrecision(self
, *_args
, **_kwargs
):
159 val
= apply(gridc
.wxGridCellFloatRenderer_SetPrecision
,(self
,) + _args
, _kwargs
)
162 return "<C wxGridCellFloatRenderer instance at %s>" % (self
.this
,)
163 class wxGridCellFloatRenderer(wxGridCellFloatRendererPtr
):
164 def __init__(self
,*_args
,**_kwargs
):
165 self
.this
= apply(gridc
.new_wxGridCellFloatRenderer
,_args
,_kwargs
)
171 class wxGridCellBoolRendererPtr(wxGridCellRendererPtr
):
172 def __init__(self
,this
):
176 return "<C wxGridCellBoolRenderer instance at %s>" % (self
.this
,)
177 class wxGridCellBoolRenderer(wxGridCellBoolRendererPtr
):
178 def __init__(self
,*_args
,**_kwargs
):
179 self
.this
= apply(gridc
.new_wxGridCellBoolRenderer
,_args
,_kwargs
)
185 class wxGridCellEditorPtr
:
186 def __init__(self
,this
):
189 def IsCreated(self
, *_args
, **_kwargs
):
190 val
= apply(gridc
.wxGridCellEditor_IsCreated
,(self
,) + _args
, _kwargs
)
192 def GetControl(self
, *_args
, **_kwargs
):
193 val
= apply(gridc
.wxGridCellEditor_GetControl
,(self
,) + _args
, _kwargs
)
194 if val
: val
= wxControlPtr(val
)
196 def SetControl(self
, *_args
, **_kwargs
):
197 val
= apply(gridc
.wxGridCellEditor_SetControl
,(self
,) + _args
, _kwargs
)
199 def SetParameters(self
, *_args
, **_kwargs
):
200 val
= apply(gridc
.wxGridCellEditor_SetParameters
,(self
,) + _args
, _kwargs
)
202 def IncRef(self
, *_args
, **_kwargs
):
203 val
= apply(gridc
.wxGridCellEditor_IncRef
,(self
,) + _args
, _kwargs
)
205 def DecRef(self
, *_args
, **_kwargs
):
206 val
= apply(gridc
.wxGridCellEditor_DecRef
,(self
,) + _args
, _kwargs
)
208 def Create(self
, *_args
, **_kwargs
):
209 val
= apply(gridc
.wxGridCellEditor_Create
,(self
,) + _args
, _kwargs
)
211 def BeginEdit(self
, *_args
, **_kwargs
):
212 val
= apply(gridc
.wxGridCellEditor_BeginEdit
,(self
,) + _args
, _kwargs
)
214 def EndEdit(self
, *_args
, **_kwargs
):
215 val
= apply(gridc
.wxGridCellEditor_EndEdit
,(self
,) + _args
, _kwargs
)
217 def Reset(self
, *_args
, **_kwargs
):
218 val
= apply(gridc
.wxGridCellEditor_Reset
,(self
,) + _args
, _kwargs
)
220 def Clone(self
, *_args
, **_kwargs
):
221 val
= apply(gridc
.wxGridCellEditor_Clone
,(self
,) + _args
, _kwargs
)
222 if val
: val
= wxGridCellEditorPtr(val
)
224 def SetSize(self
, *_args
, **_kwargs
):
225 val
= apply(gridc
.wxGridCellEditor_SetSize
,(self
,) + _args
, _kwargs
)
227 def Show(self
, *_args
, **_kwargs
):
228 val
= apply(gridc
.wxGridCellEditor_Show
,(self
,) + _args
, _kwargs
)
230 def PaintBackground(self
, *_args
, **_kwargs
):
231 val
= apply(gridc
.wxGridCellEditor_PaintBackground
,(self
,) + _args
, _kwargs
)
233 def IsAcceptedKey(self
, *_args
, **_kwargs
):
234 val
= apply(gridc
.wxGridCellEditor_IsAcceptedKey
,(self
,) + _args
, _kwargs
)
236 def StartingKey(self
, *_args
, **_kwargs
):
237 val
= apply(gridc
.wxGridCellEditor_StartingKey
,(self
,) + _args
, _kwargs
)
239 def StartingClick(self
, *_args
, **_kwargs
):
240 val
= apply(gridc
.wxGridCellEditor_StartingClick
,(self
,) + _args
, _kwargs
)
242 def HandleReturn(self
, *_args
, **_kwargs
):
243 val
= apply(gridc
.wxGridCellEditor_HandleReturn
,(self
,) + _args
, _kwargs
)
245 def Destroy(self
, *_args
, **_kwargs
):
246 val
= apply(gridc
.wxGridCellEditor_Destroy
,(self
,) + _args
, _kwargs
)
249 return "<C wxGridCellEditor instance at %s>" % (self
.this
,)
250 class wxGridCellEditor(wxGridCellEditorPtr
):
251 def __init__(self
,this
):
257 class wxPyGridCellEditorPtr(wxGridCellEditorPtr
):
258 def __init__(self
,this
):
261 def _setSelf(self
, *_args
, **_kwargs
):
262 val
= apply(gridc
.wxPyGridCellEditor__setSelf
,(self
,) + _args
, _kwargs
)
264 def base_SetSize(self
, *_args
, **_kwargs
):
265 val
= apply(gridc
.wxPyGridCellEditor_base_SetSize
,(self
,) + _args
, _kwargs
)
267 def base_Show(self
, *_args
, **_kwargs
):
268 val
= apply(gridc
.wxPyGridCellEditor_base_Show
,(self
,) + _args
, _kwargs
)
270 def base_PaintBackground(self
, *_args
, **_kwargs
):
271 val
= apply(gridc
.wxPyGridCellEditor_base_PaintBackground
,(self
,) + _args
, _kwargs
)
273 def base_StartingKey(self
, *_args
, **_kwargs
):
274 val
= apply(gridc
.wxPyGridCellEditor_base_StartingKey
,(self
,) + _args
, _kwargs
)
276 def base_StartingClick(self
, *_args
, **_kwargs
):
277 val
= apply(gridc
.wxPyGridCellEditor_base_StartingClick
,(self
,) + _args
, _kwargs
)
279 def base_HandleReturn(self
, *_args
, **_kwargs
):
280 val
= apply(gridc
.wxPyGridCellEditor_base_HandleReturn
,(self
,) + _args
, _kwargs
)
282 def base_Destroy(self
, *_args
, **_kwargs
):
283 val
= apply(gridc
.wxPyGridCellEditor_base_Destroy
,(self
,) + _args
, _kwargs
)
285 def base_SetParameters(self
, *_args
, **_kwargs
):
286 val
= apply(gridc
.wxPyGridCellEditor_base_SetParameters
,(self
,) + _args
, _kwargs
)
289 return "<C wxPyGridCellEditor instance at %s>" % (self
.this
,)
290 class wxPyGridCellEditor(wxPyGridCellEditorPtr
):
291 def __init__(self
,*_args
,**_kwargs
):
292 self
.this
= apply(gridc
.new_wxPyGridCellEditor
,_args
,_kwargs
)
294 self
._setSelf
(self
, wxPyGridCellEditor
)
299 class wxGridCellTextEditorPtr(wxGridCellEditorPtr
):
300 def __init__(self
,this
):
304 return "<C wxGridCellTextEditor instance at %s>" % (self
.this
,)
305 class wxGridCellTextEditor(wxGridCellTextEditorPtr
):
306 def __init__(self
,*_args
,**_kwargs
):
307 self
.this
= apply(gridc
.new_wxGridCellTextEditor
,_args
,_kwargs
)
313 class wxGridCellNumberEditorPtr(wxGridCellTextEditorPtr
):
314 def __init__(self
,this
):
318 return "<C wxGridCellNumberEditor instance at %s>" % (self
.this
,)
319 class wxGridCellNumberEditor(wxGridCellNumberEditorPtr
):
320 def __init__(self
,*_args
,**_kwargs
):
321 self
.this
= apply(gridc
.new_wxGridCellNumberEditor
,_args
,_kwargs
)
327 class wxGridCellFloatEditorPtr(wxGridCellTextEditorPtr
):
328 def __init__(self
,this
):
332 return "<C wxGridCellFloatEditor instance at %s>" % (self
.this
,)
333 class wxGridCellFloatEditor(wxGridCellFloatEditorPtr
):
334 def __init__(self
,*_args
,**_kwargs
):
335 self
.this
= apply(gridc
.new_wxGridCellFloatEditor
,_args
,_kwargs
)
341 class wxGridCellBoolEditorPtr(wxGridCellEditorPtr
):
342 def __init__(self
,this
):
346 return "<C wxGridCellBoolEditor instance at %s>" % (self
.this
,)
347 class wxGridCellBoolEditor(wxGridCellBoolEditorPtr
):
348 def __init__(self
,*_args
,**_kwargs
):
349 self
.this
= apply(gridc
.new_wxGridCellBoolEditor
,_args
,_kwargs
)
355 class wxGridCellChoiceEditorPtr(wxGridCellEditorPtr
):
356 def __init__(self
,this
):
360 return "<C wxGridCellChoiceEditor instance at %s>" % (self
.this
,)
361 class wxGridCellChoiceEditor(wxGridCellChoiceEditorPtr
):
362 def __init__(self
,*_args
,**_kwargs
):
363 self
.this
= apply(gridc
.new_wxGridCellChoiceEditor
,_args
,_kwargs
)
369 class wxGridCellAttrPtr
:
370 def __init__(self
,this
):
373 def Clone(self
, *_args
, **_kwargs
):
374 val
= apply(gridc
.wxGridCellAttr_Clone
,(self
,) + _args
, _kwargs
)
375 if val
: val
= wxGridCellAttrPtr(val
)
377 def IncRef(self
, *_args
, **_kwargs
):
378 val
= apply(gridc
.wxGridCellAttr_IncRef
,(self
,) + _args
, _kwargs
)
380 def DecRef(self
, *_args
, **_kwargs
):
381 val
= apply(gridc
.wxGridCellAttr_DecRef
,(self
,) + _args
, _kwargs
)
383 def SetTextColour(self
, *_args
, **_kwargs
):
384 val
= apply(gridc
.wxGridCellAttr_SetTextColour
,(self
,) + _args
, _kwargs
)
386 def SetBackgroundColour(self
, *_args
, **_kwargs
):
387 val
= apply(gridc
.wxGridCellAttr_SetBackgroundColour
,(self
,) + _args
, _kwargs
)
389 def SetFont(self
, *_args
, **_kwargs
):
390 val
= apply(gridc
.wxGridCellAttr_SetFont
,(self
,) + _args
, _kwargs
)
392 def SetAlignment(self
, *_args
, **_kwargs
):
393 val
= apply(gridc
.wxGridCellAttr_SetAlignment
,(self
,) + _args
, _kwargs
)
395 def SetReadOnly(self
, *_args
, **_kwargs
):
396 val
= apply(gridc
.wxGridCellAttr_SetReadOnly
,(self
,) + _args
, _kwargs
)
398 def SetRenderer(self
, *_args
, **_kwargs
):
399 val
= apply(gridc
.wxGridCellAttr_SetRenderer
,(self
,) + _args
, _kwargs
)
401 def SetEditor(self
, *_args
, **_kwargs
):
402 val
= apply(gridc
.wxGridCellAttr_SetEditor
,(self
,) + _args
, _kwargs
)
404 def HasTextColour(self
, *_args
, **_kwargs
):
405 val
= apply(gridc
.wxGridCellAttr_HasTextColour
,(self
,) + _args
, _kwargs
)
407 def HasBackgroundColour(self
, *_args
, **_kwargs
):
408 val
= apply(gridc
.wxGridCellAttr_HasBackgroundColour
,(self
,) + _args
, _kwargs
)
410 def HasFont(self
, *_args
, **_kwargs
):
411 val
= apply(gridc
.wxGridCellAttr_HasFont
,(self
,) + _args
, _kwargs
)
413 def HasAlignment(self
, *_args
, **_kwargs
):
414 val
= apply(gridc
.wxGridCellAttr_HasAlignment
,(self
,) + _args
, _kwargs
)
416 def HasRenderer(self
, *_args
, **_kwargs
):
417 val
= apply(gridc
.wxGridCellAttr_HasRenderer
,(self
,) + _args
, _kwargs
)
419 def HasEditor(self
, *_args
, **_kwargs
):
420 val
= apply(gridc
.wxGridCellAttr_HasEditor
,(self
,) + _args
, _kwargs
)
422 def GetTextColour(self
, *_args
, **_kwargs
):
423 val
= apply(gridc
.wxGridCellAttr_GetTextColour
,(self
,) + _args
, _kwargs
)
424 if val
: val
= wxColourPtr(val
)
426 def GetBackgroundColour(self
, *_args
, **_kwargs
):
427 val
= apply(gridc
.wxGridCellAttr_GetBackgroundColour
,(self
,) + _args
, _kwargs
)
428 if val
: val
= wxColourPtr(val
)
430 def GetFont(self
, *_args
, **_kwargs
):
431 val
= apply(gridc
.wxGridCellAttr_GetFont
,(self
,) + _args
, _kwargs
)
432 if val
: val
= wxFontPtr(val
)
434 def GetAlignment(self
, *_args
, **_kwargs
):
435 val
= apply(gridc
.wxGridCellAttr_GetAlignment
,(self
,) + _args
, _kwargs
)
437 def GetRenderer(self
, *_args
, **_kwargs
):
438 val
= apply(gridc
.wxGridCellAttr_GetRenderer
,(self
,) + _args
, _kwargs
)
439 if val
: val
= wxGridCellRendererPtr(val
)
441 def GetEditor(self
, *_args
, **_kwargs
):
442 val
= apply(gridc
.wxGridCellAttr_GetEditor
,(self
,) + _args
, _kwargs
)
443 if val
: val
= wxGridCellEditorPtr(val
)
445 def IsReadOnly(self
, *_args
, **_kwargs
):
446 val
= apply(gridc
.wxGridCellAttr_IsReadOnly
,(self
,) + _args
, _kwargs
)
448 def SetDefAttr(self
, *_args
, **_kwargs
):
449 val
= apply(gridc
.wxGridCellAttr_SetDefAttr
,(self
,) + _args
, _kwargs
)
452 return "<C wxGridCellAttr instance at %s>" % (self
.this
,)
453 class wxGridCellAttr(wxGridCellAttrPtr
):
454 def __init__(self
,*_args
,**_kwargs
):
455 self
.this
= apply(gridc
.new_wxGridCellAttr
,_args
,_kwargs
)
461 class wxGridCellAttrProviderPtr
:
462 def __init__(self
,this
):
465 def GetAttr(self
, *_args
, **_kwargs
):
466 val
= apply(gridc
.wxGridCellAttrProvider_GetAttr
,(self
,) + _args
, _kwargs
)
467 if val
: val
= wxGridCellAttrPtr(val
)
469 def SetAttr(self
, *_args
, **_kwargs
):
470 val
= apply(gridc
.wxGridCellAttrProvider_SetAttr
,(self
,) + _args
, _kwargs
)
472 def SetRowAttr(self
, *_args
, **_kwargs
):
473 val
= apply(gridc
.wxGridCellAttrProvider_SetRowAttr
,(self
,) + _args
, _kwargs
)
475 def SetColAttr(self
, *_args
, **_kwargs
):
476 val
= apply(gridc
.wxGridCellAttrProvider_SetColAttr
,(self
,) + _args
, _kwargs
)
478 def UpdateAttrRows(self
, *_args
, **_kwargs
):
479 val
= apply(gridc
.wxGridCellAttrProvider_UpdateAttrRows
,(self
,) + _args
, _kwargs
)
481 def UpdateAttrCols(self
, *_args
, **_kwargs
):
482 val
= apply(gridc
.wxGridCellAttrProvider_UpdateAttrCols
,(self
,) + _args
, _kwargs
)
485 return "<C wxGridCellAttrProvider instance at %s>" % (self
.this
,)
486 class wxGridCellAttrProvider(wxGridCellAttrProviderPtr
):
487 def __init__(self
,*_args
,**_kwargs
):
488 self
.this
= apply(gridc
.new_wxGridCellAttrProvider
,_args
,_kwargs
)
494 class wxPyGridCellAttrProviderPtr(wxGridCellAttrProviderPtr
):
495 def __init__(self
,this
):
498 def _setSelf(self
, *_args
, **_kwargs
):
499 val
= apply(gridc
.wxPyGridCellAttrProvider__setSelf
,(self
,) + _args
, _kwargs
)
501 def base_GetAttr(self
, *_args
, **_kwargs
):
502 val
= apply(gridc
.wxPyGridCellAttrProvider_base_GetAttr
,(self
,) + _args
, _kwargs
)
503 if val
: val
= wxGridCellAttrPtr(val
)
505 def base_SetAttr(self
, *_args
, **_kwargs
):
506 val
= apply(gridc
.wxPyGridCellAttrProvider_base_SetAttr
,(self
,) + _args
, _kwargs
)
508 def base_SetRowAttr(self
, *_args
, **_kwargs
):
509 val
= apply(gridc
.wxPyGridCellAttrProvider_base_SetRowAttr
,(self
,) + _args
, _kwargs
)
511 def base_SetColAttr(self
, *_args
, **_kwargs
):
512 val
= apply(gridc
.wxPyGridCellAttrProvider_base_SetColAttr
,(self
,) + _args
, _kwargs
)
515 return "<C wxPyGridCellAttrProvider instance at %s>" % (self
.this
,)
516 class wxPyGridCellAttrProvider(wxPyGridCellAttrProviderPtr
):
517 def __init__(self
,*_args
,**_kwargs
):
518 self
.this
= apply(gridc
.new_wxPyGridCellAttrProvider
,_args
,_kwargs
)
520 self
._setSelf
(self
, wxPyGridCellAttrProvider
)
525 class wxGridTableBasePtr
:
526 def __init__(self
,this
):
529 def SetAttrProvider(self
, *_args
, **_kwargs
):
530 val
= apply(gridc
.wxGridTableBase_SetAttrProvider
,(self
,) + _args
, _kwargs
)
532 def GetAttrProvider(self
, *_args
, **_kwargs
):
533 val
= apply(gridc
.wxGridTableBase_GetAttrProvider
,(self
,) + _args
, _kwargs
)
534 if val
: val
= wxGridCellAttrProviderPtr(val
)
536 def SetView(self
, *_args
, **_kwargs
):
537 val
= apply(gridc
.wxGridTableBase_SetView
,(self
,) + _args
, _kwargs
)
539 def GetView(self
, *_args
, **_kwargs
):
540 val
= apply(gridc
.wxGridTableBase_GetView
,(self
,) + _args
, _kwargs
)
541 if val
: val
= wxGridPtr(val
)
543 def GetNumberRows(self
, *_args
, **_kwargs
):
544 val
= apply(gridc
.wxGridTableBase_GetNumberRows
,(self
,) + _args
, _kwargs
)
546 def GetNumberCols(self
, *_args
, **_kwargs
):
547 val
= apply(gridc
.wxGridTableBase_GetNumberCols
,(self
,) + _args
, _kwargs
)
549 def IsEmptyCell(self
, *_args
, **_kwargs
):
550 val
= apply(gridc
.wxGridTableBase_IsEmptyCell
,(self
,) + _args
, _kwargs
)
552 def GetValue(self
, *_args
, **_kwargs
):
553 val
= apply(gridc
.wxGridTableBase_GetValue
,(self
,) + _args
, _kwargs
)
555 def SetValue(self
, *_args
, **_kwargs
):
556 val
= apply(gridc
.wxGridTableBase_SetValue
,(self
,) + _args
, _kwargs
)
558 def GetTypeName(self
, *_args
, **_kwargs
):
559 val
= apply(gridc
.wxGridTableBase_GetTypeName
,(self
,) + _args
, _kwargs
)
561 def CanGetValueAs(self
, *_args
, **_kwargs
):
562 val
= apply(gridc
.wxGridTableBase_CanGetValueAs
,(self
,) + _args
, _kwargs
)
564 def CanSetValueAs(self
, *_args
, **_kwargs
):
565 val
= apply(gridc
.wxGridTableBase_CanSetValueAs
,(self
,) + _args
, _kwargs
)
567 def GetValueAsLong(self
, *_args
, **_kwargs
):
568 val
= apply(gridc
.wxGridTableBase_GetValueAsLong
,(self
,) + _args
, _kwargs
)
570 def GetValueAsDouble(self
, *_args
, **_kwargs
):
571 val
= apply(gridc
.wxGridTableBase_GetValueAsDouble
,(self
,) + _args
, _kwargs
)
573 def GetValueAsBool(self
, *_args
, **_kwargs
):
574 val
= apply(gridc
.wxGridTableBase_GetValueAsBool
,(self
,) + _args
, _kwargs
)
576 def SetValueAsLong(self
, *_args
, **_kwargs
):
577 val
= apply(gridc
.wxGridTableBase_SetValueAsLong
,(self
,) + _args
, _kwargs
)
579 def SetValueAsDouble(self
, *_args
, **_kwargs
):
580 val
= apply(gridc
.wxGridTableBase_SetValueAsDouble
,(self
,) + _args
, _kwargs
)
582 def SetValueAsBool(self
, *_args
, **_kwargs
):
583 val
= apply(gridc
.wxGridTableBase_SetValueAsBool
,(self
,) + _args
, _kwargs
)
585 def Clear(self
, *_args
, **_kwargs
):
586 val
= apply(gridc
.wxGridTableBase_Clear
,(self
,) + _args
, _kwargs
)
588 def InsertRows(self
, *_args
, **_kwargs
):
589 val
= apply(gridc
.wxGridTableBase_InsertRows
,(self
,) + _args
, _kwargs
)
591 def AppendRows(self
, *_args
, **_kwargs
):
592 val
= apply(gridc
.wxGridTableBase_AppendRows
,(self
,) + _args
, _kwargs
)
594 def DeleteRows(self
, *_args
, **_kwargs
):
595 val
= apply(gridc
.wxGridTableBase_DeleteRows
,(self
,) + _args
, _kwargs
)
597 def InsertCols(self
, *_args
, **_kwargs
):
598 val
= apply(gridc
.wxGridTableBase_InsertCols
,(self
,) + _args
, _kwargs
)
600 def AppendCols(self
, *_args
, **_kwargs
):
601 val
= apply(gridc
.wxGridTableBase_AppendCols
,(self
,) + _args
, _kwargs
)
603 def DeleteCols(self
, *_args
, **_kwargs
):
604 val
= apply(gridc
.wxGridTableBase_DeleteCols
,(self
,) + _args
, _kwargs
)
606 def GetRowLabelValue(self
, *_args
, **_kwargs
):
607 val
= apply(gridc
.wxGridTableBase_GetRowLabelValue
,(self
,) + _args
, _kwargs
)
609 def GetColLabelValue(self
, *_args
, **_kwargs
):
610 val
= apply(gridc
.wxGridTableBase_GetColLabelValue
,(self
,) + _args
, _kwargs
)
612 def SetRowLabelValue(self
, *_args
, **_kwargs
):
613 val
= apply(gridc
.wxGridTableBase_SetRowLabelValue
,(self
,) + _args
, _kwargs
)
615 def SetColLabelValue(self
, *_args
, **_kwargs
):
616 val
= apply(gridc
.wxGridTableBase_SetColLabelValue
,(self
,) + _args
, _kwargs
)
618 def CanHaveAttributes(self
, *_args
, **_kwargs
):
619 val
= apply(gridc
.wxGridTableBase_CanHaveAttributes
,(self
,) + _args
, _kwargs
)
621 def GetAttr(self
, *_args
, **_kwargs
):
622 val
= apply(gridc
.wxGridTableBase_GetAttr
,(self
,) + _args
, _kwargs
)
623 if val
: val
= wxGridCellAttrPtr(val
)
625 def SetAttr(self
, *_args
, **_kwargs
):
626 val
= apply(gridc
.wxGridTableBase_SetAttr
,(self
,) + _args
, _kwargs
)
628 def SetRowAttr(self
, *_args
, **_kwargs
):
629 val
= apply(gridc
.wxGridTableBase_SetRowAttr
,(self
,) + _args
, _kwargs
)
631 def SetColAttr(self
, *_args
, **_kwargs
):
632 val
= apply(gridc
.wxGridTableBase_SetColAttr
,(self
,) + _args
, _kwargs
)
635 return "<C wxGridTableBase instance at %s>" % (self
.this
,)
636 class wxGridTableBase(wxGridTableBasePtr
):
637 def __init__(self
,this
):
643 class wxPyGridTableBasePtr(wxGridTableBasePtr
):
644 def __init__(self
,this
):
647 def _setSelf(self
, *_args
, **_kwargs
):
648 val
= apply(gridc
.wxPyGridTableBase__setSelf
,(self
,) + _args
, _kwargs
)
650 def Destroy(self
, *_args
, **_kwargs
):
651 val
= apply(gridc
.wxPyGridTableBase_Destroy
,(self
,) + _args
, _kwargs
)
653 def base_GetTypeName(self
, *_args
, **_kwargs
):
654 val
= apply(gridc
.wxPyGridTableBase_base_GetTypeName
,(self
,) + _args
, _kwargs
)
656 def base_CanGetValueAs(self
, *_args
, **_kwargs
):
657 val
= apply(gridc
.wxPyGridTableBase_base_CanGetValueAs
,(self
,) + _args
, _kwargs
)
659 def base_CanSetValueAs(self
, *_args
, **_kwargs
):
660 val
= apply(gridc
.wxPyGridTableBase_base_CanSetValueAs
,(self
,) + _args
, _kwargs
)
662 def base_Clear(self
, *_args
, **_kwargs
):
663 val
= apply(gridc
.wxPyGridTableBase_base_Clear
,(self
,) + _args
, _kwargs
)
665 def base_InsertRows(self
, *_args
, **_kwargs
):
666 val
= apply(gridc
.wxPyGridTableBase_base_InsertRows
,(self
,) + _args
, _kwargs
)
668 def base_AppendRows(self
, *_args
, **_kwargs
):
669 val
= apply(gridc
.wxPyGridTableBase_base_AppendRows
,(self
,) + _args
, _kwargs
)
671 def base_DeleteRows(self
, *_args
, **_kwargs
):
672 val
= apply(gridc
.wxPyGridTableBase_base_DeleteRows
,(self
,) + _args
, _kwargs
)
674 def base_InsertCols(self
, *_args
, **_kwargs
):
675 val
= apply(gridc
.wxPyGridTableBase_base_InsertCols
,(self
,) + _args
, _kwargs
)
677 def base_AppendCols(self
, *_args
, **_kwargs
):
678 val
= apply(gridc
.wxPyGridTableBase_base_AppendCols
,(self
,) + _args
, _kwargs
)
680 def base_DeleteCols(self
, *_args
, **_kwargs
):
681 val
= apply(gridc
.wxPyGridTableBase_base_DeleteCols
,(self
,) + _args
, _kwargs
)
683 def base_GetRowLabelValue(self
, *_args
, **_kwargs
):
684 val
= apply(gridc
.wxPyGridTableBase_base_GetRowLabelValue
,(self
,) + _args
, _kwargs
)
686 def base_GetColLabelValue(self
, *_args
, **_kwargs
):
687 val
= apply(gridc
.wxPyGridTableBase_base_GetColLabelValue
,(self
,) + _args
, _kwargs
)
689 def base_SetRowLabelValue(self
, *_args
, **_kwargs
):
690 val
= apply(gridc
.wxPyGridTableBase_base_SetRowLabelValue
,(self
,) + _args
, _kwargs
)
692 def base_SetColLabelValue(self
, *_args
, **_kwargs
):
693 val
= apply(gridc
.wxPyGridTableBase_base_SetColLabelValue
,(self
,) + _args
, _kwargs
)
695 def base_CanHaveAttributes(self
, *_args
, **_kwargs
):
696 val
= apply(gridc
.wxPyGridTableBase_base_CanHaveAttributes
,(self
,) + _args
, _kwargs
)
698 def base_GetAttr(self
, *_args
, **_kwargs
):
699 val
= apply(gridc
.wxPyGridTableBase_base_GetAttr
,(self
,) + _args
, _kwargs
)
700 if val
: val
= wxGridCellAttrPtr(val
)
702 def base_SetAttr(self
, *_args
, **_kwargs
):
703 val
= apply(gridc
.wxPyGridTableBase_base_SetAttr
,(self
,) + _args
, _kwargs
)
705 def base_SetRowAttr(self
, *_args
, **_kwargs
):
706 val
= apply(gridc
.wxPyGridTableBase_base_SetRowAttr
,(self
,) + _args
, _kwargs
)
708 def base_SetColAttr(self
, *_args
, **_kwargs
):
709 val
= apply(gridc
.wxPyGridTableBase_base_SetColAttr
,(self
,) + _args
, _kwargs
)
712 return "<C wxPyGridTableBase instance at %s>" % (self
.this
,)
713 class wxPyGridTableBase(wxPyGridTableBasePtr
):
714 def __init__(self
,*_args
,**_kwargs
):
715 self
.this
= apply(gridc
.new_wxPyGridTableBase
,_args
,_kwargs
)
717 self
._setSelf
(self
, wxPyGridTableBase
)
722 class wxGridStringTablePtr(wxGridTableBasePtr
):
723 def __init__(self
,this
):
727 return "<C wxGridStringTable instance at %s>" % (self
.this
,)
728 class wxGridStringTable(wxGridStringTablePtr
):
729 def __init__(self
,*_args
,**_kwargs
):
730 self
.this
= apply(gridc
.new_wxGridStringTable
,_args
,_kwargs
)
736 class wxGridTableMessagePtr
:
737 def __init__(self
,this
):
740 def __del__(self
,gridc
=gridc
):
741 if self
.thisown
== 1 :
742 gridc
.delete_wxGridTableMessage(self
)
743 def SetTableObject(self
, *_args
, **_kwargs
):
744 val
= apply(gridc
.wxGridTableMessage_SetTableObject
,(self
,) + _args
, _kwargs
)
746 def GetTableObject(self
, *_args
, **_kwargs
):
747 val
= apply(gridc
.wxGridTableMessage_GetTableObject
,(self
,) + _args
, _kwargs
)
748 if val
: val
= wxGridTableBasePtr(val
)
750 def SetId(self
, *_args
, **_kwargs
):
751 val
= apply(gridc
.wxGridTableMessage_SetId
,(self
,) + _args
, _kwargs
)
753 def GetId(self
, *_args
, **_kwargs
):
754 val
= apply(gridc
.wxGridTableMessage_GetId
,(self
,) + _args
, _kwargs
)
756 def SetCommandInt(self
, *_args
, **_kwargs
):
757 val
= apply(gridc
.wxGridTableMessage_SetCommandInt
,(self
,) + _args
, _kwargs
)
759 def GetCommandInt(self
, *_args
, **_kwargs
):
760 val
= apply(gridc
.wxGridTableMessage_GetCommandInt
,(self
,) + _args
, _kwargs
)
762 def SetCommandInt2(self
, *_args
, **_kwargs
):
763 val
= apply(gridc
.wxGridTableMessage_SetCommandInt2
,(self
,) + _args
, _kwargs
)
765 def GetCommandInt2(self
, *_args
, **_kwargs
):
766 val
= apply(gridc
.wxGridTableMessage_GetCommandInt2
,(self
,) + _args
, _kwargs
)
769 return "<C wxGridTableMessage instance at %s>" % (self
.this
,)
770 class wxGridTableMessage(wxGridTableMessagePtr
):
771 def __init__(self
,*_args
,**_kwargs
):
772 self
.this
= apply(gridc
.new_wxGridTableMessage
,_args
,_kwargs
)
778 class wxGridCellCoordsPtr
:
779 def __init__(self
,this
):
782 def __del__(self
,gridc
=gridc
):
783 if self
.thisown
== 1 :
784 gridc
.delete_wxGridCellCoords(self
)
785 def GetRow(self
, *_args
, **_kwargs
):
786 val
= apply(gridc
.wxGridCellCoords_GetRow
,(self
,) + _args
, _kwargs
)
788 def SetRow(self
, *_args
, **_kwargs
):
789 val
= apply(gridc
.wxGridCellCoords_SetRow
,(self
,) + _args
, _kwargs
)
791 def GetCol(self
, *_args
, **_kwargs
):
792 val
= apply(gridc
.wxGridCellCoords_GetCol
,(self
,) + _args
, _kwargs
)
794 def SetCol(self
, *_args
, **_kwargs
):
795 val
= apply(gridc
.wxGridCellCoords_SetCol
,(self
,) + _args
, _kwargs
)
797 def Set(self
, *_args
, **_kwargs
):
798 val
= apply(gridc
.wxGridCellCoords_Set
,(self
,) + _args
, _kwargs
)
800 def asTuple(self
, *_args
, **_kwargs
):
801 val
= apply(gridc
.wxGridCellCoords_asTuple
,(self
,) + _args
, _kwargs
)
803 def __cmp__(self
, *_args
, **_kwargs
):
804 val
= apply(gridc
.wxGridCellCoords___cmp__
,(self
,) + _args
, _kwargs
)
807 return "<C wxGridCellCoords instance at %s>" % (self
.this
,)
808 def __str__(self
): return str(self
.asTuple())
809 def __repr__(self
): return str(self
.asTuple())
810 class wxGridCellCoords(wxGridCellCoordsPtr
):
811 def __init__(self
,*_args
,**_kwargs
):
812 self
.this
= apply(gridc
.new_wxGridCellCoords
,_args
,_kwargs
)
818 class wxGridPtr(wxScrolledWindowPtr
):
819 wxGridSelectCells
= gridc
.wxGrid_wxGridSelectCells
820 wxGridSelectRows
= gridc
.wxGrid_wxGridSelectRows
821 wxGridSelectColumns
= gridc
.wxGrid_wxGridSelectColumns
822 def __init__(self
,this
):
825 def CreateGrid(self
, *_args
, **_kwargs
):
826 val
= apply(gridc
.wxGrid_CreateGrid
,(self
,) + _args
, _kwargs
)
828 def SetSelectionMode(self
, *_args
, **_kwargs
):
829 val
= apply(gridc
.wxGrid_SetSelectionMode
,(self
,) + _args
, _kwargs
)
831 def GetNumberRows(self
, *_args
, **_kwargs
):
832 val
= apply(gridc
.wxGrid_GetNumberRows
,(self
,) + _args
, _kwargs
)
834 def GetNumberCols(self
, *_args
, **_kwargs
):
835 val
= apply(gridc
.wxGrid_GetNumberCols
,(self
,) + _args
, _kwargs
)
837 def ProcessTableMessage(self
, *_args
, **_kwargs
):
838 val
= apply(gridc
.wxGrid_ProcessTableMessage
,(self
,) + _args
, _kwargs
)
840 def GetTable(self
, *_args
, **_kwargs
):
841 val
= apply(gridc
.wxGrid_GetTable
,(self
,) + _args
, _kwargs
)
842 if val
: val
= wxGridTableBasePtr(val
)
844 def SetTable(self
, *_args
, **_kwargs
):
845 val
= apply(gridc
.wxGrid_SetTable
,(self
,) + _args
, _kwargs
)
847 def ClearGrid(self
, *_args
, **_kwargs
):
848 val
= apply(gridc
.wxGrid_ClearGrid
,(self
,) + _args
, _kwargs
)
850 def InsertRows(self
, *_args
, **_kwargs
):
851 val
= apply(gridc
.wxGrid_InsertRows
,(self
,) + _args
, _kwargs
)
853 def AppendRows(self
, *_args
, **_kwargs
):
854 val
= apply(gridc
.wxGrid_AppendRows
,(self
,) + _args
, _kwargs
)
856 def DeleteRows(self
, *_args
, **_kwargs
):
857 val
= apply(gridc
.wxGrid_DeleteRows
,(self
,) + _args
, _kwargs
)
859 def InsertCols(self
, *_args
, **_kwargs
):
860 val
= apply(gridc
.wxGrid_InsertCols
,(self
,) + _args
, _kwargs
)
862 def AppendCols(self
, *_args
, **_kwargs
):
863 val
= apply(gridc
.wxGrid_AppendCols
,(self
,) + _args
, _kwargs
)
865 def DeleteCols(self
, *_args
, **_kwargs
):
866 val
= apply(gridc
.wxGrid_DeleteCols
,(self
,) + _args
, _kwargs
)
868 def DrawCellHighlight(self
, *_args
, **_kwargs
):
869 val
= apply(gridc
.wxGrid_DrawCellHighlight
,(self
,) + _args
, _kwargs
)
871 def DrawTextRectangle(self
, *_args
, **_kwargs
):
872 val
= apply(gridc
.wxGrid_DrawTextRectangle
,(self
,) + _args
, _kwargs
)
874 def StringToLines(self
, *_args
, **_kwargs
):
875 val
= apply(gridc
.wxGrid_StringToLines
,(self
,) + _args
, _kwargs
)
877 def GetTextBoxSize(self
, *_args
, **_kwargs
):
878 val
= apply(gridc
.wxGrid_GetTextBoxSize
,(self
,) + _args
, _kwargs
)
880 def BeginBatch(self
, *_args
, **_kwargs
):
881 val
= apply(gridc
.wxGrid_BeginBatch
,(self
,) + _args
, _kwargs
)
883 def EndBatch(self
, *_args
, **_kwargs
):
884 val
= apply(gridc
.wxGrid_EndBatch
,(self
,) + _args
, _kwargs
)
886 def GetBatchCount(self
, *_args
, **_kwargs
):
887 val
= apply(gridc
.wxGrid_GetBatchCount
,(self
,) + _args
, _kwargs
)
889 def IsEditable(self
, *_args
, **_kwargs
):
890 val
= apply(gridc
.wxGrid_IsEditable
,(self
,) + _args
, _kwargs
)
892 def EnableEditing(self
, *_args
, **_kwargs
):
893 val
= apply(gridc
.wxGrid_EnableEditing
,(self
,) + _args
, _kwargs
)
895 def EnableCellEditControl(self
, *_args
, **_kwargs
):
896 val
= apply(gridc
.wxGrid_EnableCellEditControl
,(self
,) + _args
, _kwargs
)
898 def DisableCellEditControl(self
, *_args
, **_kwargs
):
899 val
= apply(gridc
.wxGrid_DisableCellEditControl
,(self
,) + _args
, _kwargs
)
901 def CanEnableCellControl(self
, *_args
, **_kwargs
):
902 val
= apply(gridc
.wxGrid_CanEnableCellControl
,(self
,) + _args
, _kwargs
)
904 def IsCellEditControlEnabled(self
, *_args
, **_kwargs
):
905 val
= apply(gridc
.wxGrid_IsCellEditControlEnabled
,(self
,) + _args
, _kwargs
)
907 def IsCellEditControlShown(self
, *_args
, **_kwargs
):
908 val
= apply(gridc
.wxGrid_IsCellEditControlShown
,(self
,) + _args
, _kwargs
)
910 def IsCurrentCellReadOnly(self
, *_args
, **_kwargs
):
911 val
= apply(gridc
.wxGrid_IsCurrentCellReadOnly
,(self
,) + _args
, _kwargs
)
913 def ShowCellEditControl(self
, *_args
, **_kwargs
):
914 val
= apply(gridc
.wxGrid_ShowCellEditControl
,(self
,) + _args
, _kwargs
)
916 def HideCellEditControl(self
, *_args
, **_kwargs
):
917 val
= apply(gridc
.wxGrid_HideCellEditControl
,(self
,) + _args
, _kwargs
)
919 def SaveEditControlValue(self
, *_args
, **_kwargs
):
920 val
= apply(gridc
.wxGrid_SaveEditControlValue
,(self
,) + _args
, _kwargs
)
922 def XYToCell(self
, *_args
, **_kwargs
):
923 val
= apply(gridc
.wxGrid_XYToCell
,(self
,) + _args
, _kwargs
)
924 if val
: val
= wxGridCellCoordsPtr(val
) ; val
.thisown
= 1
926 def YToRow(self
, *_args
, **_kwargs
):
927 val
= apply(gridc
.wxGrid_YToRow
,(self
,) + _args
, _kwargs
)
929 def XToCol(self
, *_args
, **_kwargs
):
930 val
= apply(gridc
.wxGrid_XToCol
,(self
,) + _args
, _kwargs
)
932 def YToEdgeOfRow(self
, *_args
, **_kwargs
):
933 val
= apply(gridc
.wxGrid_YToEdgeOfRow
,(self
,) + _args
, _kwargs
)
935 def XToEdgeOfCol(self
, *_args
, **_kwargs
):
936 val
= apply(gridc
.wxGrid_XToEdgeOfCol
,(self
,) + _args
, _kwargs
)
938 def CellToRect(self
, *_args
, **_kwargs
):
939 val
= apply(gridc
.wxGrid_CellToRect
,(self
,) + _args
, _kwargs
)
940 if val
: val
= wxRectPtr(val
) ; val
.thisown
= 1
942 def GetGridCursorRow(self
, *_args
, **_kwargs
):
943 val
= apply(gridc
.wxGrid_GetGridCursorRow
,(self
,) + _args
, _kwargs
)
945 def GetGridCursorCol(self
, *_args
, **_kwargs
):
946 val
= apply(gridc
.wxGrid_GetGridCursorCol
,(self
,) + _args
, _kwargs
)
948 def IsVisible(self
, *_args
, **_kwargs
):
949 val
= apply(gridc
.wxGrid_IsVisible
,(self
,) + _args
, _kwargs
)
951 def MakeCellVisible(self
, *_args
, **_kwargs
):
952 val
= apply(gridc
.wxGrid_MakeCellVisible
,(self
,) + _args
, _kwargs
)
954 def SetGridCursor(self
, *_args
, **_kwargs
):
955 val
= apply(gridc
.wxGrid_SetGridCursor
,(self
,) + _args
, _kwargs
)
957 def MoveCursorUp(self
, *_args
, **_kwargs
):
958 val
= apply(gridc
.wxGrid_MoveCursorUp
,(self
,) + _args
, _kwargs
)
960 def MoveCursorDown(self
, *_args
, **_kwargs
):
961 val
= apply(gridc
.wxGrid_MoveCursorDown
,(self
,) + _args
, _kwargs
)
963 def MoveCursorLeft(self
, *_args
, **_kwargs
):
964 val
= apply(gridc
.wxGrid_MoveCursorLeft
,(self
,) + _args
, _kwargs
)
966 def MoveCursorRight(self
, *_args
, **_kwargs
):
967 val
= apply(gridc
.wxGrid_MoveCursorRight
,(self
,) + _args
, _kwargs
)
969 def MovePageDown(self
, *_args
, **_kwargs
):
970 val
= apply(gridc
.wxGrid_MovePageDown
,(self
,) + _args
, _kwargs
)
972 def MovePageUp(self
, *_args
, **_kwargs
):
973 val
= apply(gridc
.wxGrid_MovePageUp
,(self
,) + _args
, _kwargs
)
975 def MoveCursorUpBlock(self
, *_args
, **_kwargs
):
976 val
= apply(gridc
.wxGrid_MoveCursorUpBlock
,(self
,) + _args
, _kwargs
)
978 def MoveCursorDownBlock(self
, *_args
, **_kwargs
):
979 val
= apply(gridc
.wxGrid_MoveCursorDownBlock
,(self
,) + _args
, _kwargs
)
981 def MoveCursorLeftBlock(self
, *_args
, **_kwargs
):
982 val
= apply(gridc
.wxGrid_MoveCursorLeftBlock
,(self
,) + _args
, _kwargs
)
984 def MoveCursorRightBlock(self
, *_args
, **_kwargs
):
985 val
= apply(gridc
.wxGrid_MoveCursorRightBlock
,(self
,) + _args
, _kwargs
)
987 def GetDefaultRowLabelSize(self
, *_args
, **_kwargs
):
988 val
= apply(gridc
.wxGrid_GetDefaultRowLabelSize
,(self
,) + _args
, _kwargs
)
990 def GetRowLabelSize(self
, *_args
, **_kwargs
):
991 val
= apply(gridc
.wxGrid_GetRowLabelSize
,(self
,) + _args
, _kwargs
)
993 def GetDefaultColLabelSize(self
, *_args
, **_kwargs
):
994 val
= apply(gridc
.wxGrid_GetDefaultColLabelSize
,(self
,) + _args
, _kwargs
)
996 def GetColLabelSize(self
, *_args
, **_kwargs
):
997 val
= apply(gridc
.wxGrid_GetColLabelSize
,(self
,) + _args
, _kwargs
)
999 def GetLabelBackgroundColour(self
, *_args
, **_kwargs
):
1000 val
= apply(gridc
.wxGrid_GetLabelBackgroundColour
,(self
,) + _args
, _kwargs
)
1001 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
1003 def GetLabelTextColour(self
, *_args
, **_kwargs
):
1004 val
= apply(gridc
.wxGrid_GetLabelTextColour
,(self
,) + _args
, _kwargs
)
1005 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
1007 def GetLabelFont(self
, *_args
, **_kwargs
):
1008 val
= apply(gridc
.wxGrid_GetLabelFont
,(self
,) + _args
, _kwargs
)
1009 if val
: val
= wxFontPtr(val
) ; val
.thisown
= 1
1011 def GetRowLabelAlignment(self
, *_args
, **_kwargs
):
1012 val
= apply(gridc
.wxGrid_GetRowLabelAlignment
,(self
,) + _args
, _kwargs
)
1014 def GetColLabelAlignment(self
, *_args
, **_kwargs
):
1015 val
= apply(gridc
.wxGrid_GetColLabelAlignment
,(self
,) + _args
, _kwargs
)
1017 def GetRowLabelValue(self
, *_args
, **_kwargs
):
1018 val
= apply(gridc
.wxGrid_GetRowLabelValue
,(self
,) + _args
, _kwargs
)
1020 def GetColLabelValue(self
, *_args
, **_kwargs
):
1021 val
= apply(gridc
.wxGrid_GetColLabelValue
,(self
,) + _args
, _kwargs
)
1023 def GetGridLineColour(self
, *_args
, **_kwargs
):
1024 val
= apply(gridc
.wxGrid_GetGridLineColour
,(self
,) + _args
, _kwargs
)
1025 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
1027 def GetCellHighlightColour(self
, *_args
, **_kwargs
):
1028 val
= apply(gridc
.wxGrid_GetCellHighlightColour
,(self
,) + _args
, _kwargs
)
1029 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
1031 def SetRowLabelSize(self
, *_args
, **_kwargs
):
1032 val
= apply(gridc
.wxGrid_SetRowLabelSize
,(self
,) + _args
, _kwargs
)
1034 def SetColLabelSize(self
, *_args
, **_kwargs
):
1035 val
= apply(gridc
.wxGrid_SetColLabelSize
,(self
,) + _args
, _kwargs
)
1037 def SetLabelBackgroundColour(self
, *_args
, **_kwargs
):
1038 val
= apply(gridc
.wxGrid_SetLabelBackgroundColour
,(self
,) + _args
, _kwargs
)
1040 def SetLabelTextColour(self
, *_args
, **_kwargs
):
1041 val
= apply(gridc
.wxGrid_SetLabelTextColour
,(self
,) + _args
, _kwargs
)
1043 def SetLabelFont(self
, *_args
, **_kwargs
):
1044 val
= apply(gridc
.wxGrid_SetLabelFont
,(self
,) + _args
, _kwargs
)
1046 def SetRowLabelAlignment(self
, *_args
, **_kwargs
):
1047 val
= apply(gridc
.wxGrid_SetRowLabelAlignment
,(self
,) + _args
, _kwargs
)
1049 def SetColLabelAlignment(self
, *_args
, **_kwargs
):
1050 val
= apply(gridc
.wxGrid_SetColLabelAlignment
,(self
,) + _args
, _kwargs
)
1052 def SetRowLabelValue(self
, *_args
, **_kwargs
):
1053 val
= apply(gridc
.wxGrid_SetRowLabelValue
,(self
,) + _args
, _kwargs
)
1055 def SetColLabelValue(self
, *_args
, **_kwargs
):
1056 val
= apply(gridc
.wxGrid_SetColLabelValue
,(self
,) + _args
, _kwargs
)
1058 def SetGridLineColour(self
, *_args
, **_kwargs
):
1059 val
= apply(gridc
.wxGrid_SetGridLineColour
,(self
,) + _args
, _kwargs
)
1061 def SetCellHighlightColour(self
, *_args
, **_kwargs
):
1062 val
= apply(gridc
.wxGrid_SetCellHighlightColour
,(self
,) + _args
, _kwargs
)
1064 def EnableDragRowSize(self
, *_args
, **_kwargs
):
1065 val
= apply(gridc
.wxGrid_EnableDragRowSize
,(self
,) + _args
, _kwargs
)
1067 def DisableDragRowSize(self
, *_args
, **_kwargs
):
1068 val
= apply(gridc
.wxGrid_DisableDragRowSize
,(self
,) + _args
, _kwargs
)
1070 def CanDragRowSize(self
, *_args
, **_kwargs
):
1071 val
= apply(gridc
.wxGrid_CanDragRowSize
,(self
,) + _args
, _kwargs
)
1073 def EnableDragColSize(self
, *_args
, **_kwargs
):
1074 val
= apply(gridc
.wxGrid_EnableDragColSize
,(self
,) + _args
, _kwargs
)
1076 def DisableDragColSize(self
, *_args
, **_kwargs
):
1077 val
= apply(gridc
.wxGrid_DisableDragColSize
,(self
,) + _args
, _kwargs
)
1079 def CanDragColSize(self
, *_args
, **_kwargs
):
1080 val
= apply(gridc
.wxGrid_CanDragColSize
,(self
,) + _args
, _kwargs
)
1082 def EnableDragGridSize(self
, *_args
, **_kwargs
):
1083 val
= apply(gridc
.wxGrid_EnableDragGridSize
,(self
,) + _args
, _kwargs
)
1085 def DisableDragGridSize(self
, *_args
, **_kwargs
):
1086 val
= apply(gridc
.wxGrid_DisableDragGridSize
,(self
,) + _args
, _kwargs
)
1088 def CanDragGridSize(self
, *_args
, **_kwargs
):
1089 val
= apply(gridc
.wxGrid_CanDragGridSize
,(self
,) + _args
, _kwargs
)
1091 def SetRowAttr(self
, *_args
, **_kwargs
):
1092 val
= apply(gridc
.wxGrid_SetRowAttr
,(self
,) + _args
, _kwargs
)
1094 def SetColAttr(self
, *_args
, **_kwargs
):
1095 val
= apply(gridc
.wxGrid_SetColAttr
,(self
,) + _args
, _kwargs
)
1097 def SetColFormatBool(self
, *_args
, **_kwargs
):
1098 val
= apply(gridc
.wxGrid_SetColFormatBool
,(self
,) + _args
, _kwargs
)
1100 def SetColFormatNumber(self
, *_args
, **_kwargs
):
1101 val
= apply(gridc
.wxGrid_SetColFormatNumber
,(self
,) + _args
, _kwargs
)
1103 def SetColFormatFloat(self
, *_args
, **_kwargs
):
1104 val
= apply(gridc
.wxGrid_SetColFormatFloat
,(self
,) + _args
, _kwargs
)
1106 def SetColFormatCustom(self
, *_args
, **_kwargs
):
1107 val
= apply(gridc
.wxGrid_SetColFormatCustom
,(self
,) + _args
, _kwargs
)
1109 def EnableGridLines(self
, *_args
, **_kwargs
):
1110 val
= apply(gridc
.wxGrid_EnableGridLines
,(self
,) + _args
, _kwargs
)
1112 def GridLinesEnabled(self
, *_args
, **_kwargs
):
1113 val
= apply(gridc
.wxGrid_GridLinesEnabled
,(self
,) + _args
, _kwargs
)
1115 def GetDefaultRowSize(self
, *_args
, **_kwargs
):
1116 val
= apply(gridc
.wxGrid_GetDefaultRowSize
,(self
,) + _args
, _kwargs
)
1118 def GetRowSize(self
, *_args
, **_kwargs
):
1119 val
= apply(gridc
.wxGrid_GetRowSize
,(self
,) + _args
, _kwargs
)
1121 def GetDefaultColSize(self
, *_args
, **_kwargs
):
1122 val
= apply(gridc
.wxGrid_GetDefaultColSize
,(self
,) + _args
, _kwargs
)
1124 def GetColSize(self
, *_args
, **_kwargs
):
1125 val
= apply(gridc
.wxGrid_GetColSize
,(self
,) + _args
, _kwargs
)
1127 def GetDefaultCellBackgroundColour(self
, *_args
, **_kwargs
):
1128 val
= apply(gridc
.wxGrid_GetDefaultCellBackgroundColour
,(self
,) + _args
, _kwargs
)
1129 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
1131 def GetCellBackgroundColour(self
, *_args
, **_kwargs
):
1132 val
= apply(gridc
.wxGrid_GetCellBackgroundColour
,(self
,) + _args
, _kwargs
)
1133 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
1135 def GetDefaultCellTextColour(self
, *_args
, **_kwargs
):
1136 val
= apply(gridc
.wxGrid_GetDefaultCellTextColour
,(self
,) + _args
, _kwargs
)
1137 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
1139 def GetCellTextColour(self
, *_args
, **_kwargs
):
1140 val
= apply(gridc
.wxGrid_GetCellTextColour
,(self
,) + _args
, _kwargs
)
1141 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
1143 def GetDefaultCellFont(self
, *_args
, **_kwargs
):
1144 val
= apply(gridc
.wxGrid_GetDefaultCellFont
,(self
,) + _args
, _kwargs
)
1145 if val
: val
= wxFontPtr(val
) ; val
.thisown
= 1
1147 def GetCellFont(self
, *_args
, **_kwargs
):
1148 val
= apply(gridc
.wxGrid_GetCellFont
,(self
,) + _args
, _kwargs
)
1149 if val
: val
= wxFontPtr(val
) ; val
.thisown
= 1
1151 def GetDefaultCellAlignment(self
, *_args
, **_kwargs
):
1152 val
= apply(gridc
.wxGrid_GetDefaultCellAlignment
,(self
,) + _args
, _kwargs
)
1154 def GetCellAlignment(self
, *_args
, **_kwargs
):
1155 val
= apply(gridc
.wxGrid_GetCellAlignment
,(self
,) + _args
, _kwargs
)
1157 def SetDefaultRowSize(self
, *_args
, **_kwargs
):
1158 val
= apply(gridc
.wxGrid_SetDefaultRowSize
,(self
,) + _args
, _kwargs
)
1160 def SetRowSize(self
, *_args
, **_kwargs
):
1161 val
= apply(gridc
.wxGrid_SetRowSize
,(self
,) + _args
, _kwargs
)
1163 def SetDefaultColSize(self
, *_args
, **_kwargs
):
1164 val
= apply(gridc
.wxGrid_SetDefaultColSize
,(self
,) + _args
, _kwargs
)
1166 def SetColSize(self
, *_args
, **_kwargs
):
1167 val
= apply(gridc
.wxGrid_SetColSize
,(self
,) + _args
, _kwargs
)
1169 def AutoSizeColumn(self
, *_args
, **_kwargs
):
1170 val
= apply(gridc
.wxGrid_AutoSizeColumn
,(self
,) + _args
, _kwargs
)
1172 def AutoSizeRow(self
, *_args
, **_kwargs
):
1173 val
= apply(gridc
.wxGrid_AutoSizeRow
,(self
,) + _args
, _kwargs
)
1175 def AutoSizeColumns(self
, *_args
, **_kwargs
):
1176 val
= apply(gridc
.wxGrid_AutoSizeColumns
,(self
,) + _args
, _kwargs
)
1178 def AutoSizeRows(self
, *_args
, **_kwargs
):
1179 val
= apply(gridc
.wxGrid_AutoSizeRows
,(self
,) + _args
, _kwargs
)
1181 def AutoSize(self
, *_args
, **_kwargs
):
1182 val
= apply(gridc
.wxGrid_AutoSize
,(self
,) + _args
, _kwargs
)
1184 def SetColMinimalWidth(self
, *_args
, **_kwargs
):
1185 val
= apply(gridc
.wxGrid_SetColMinimalWidth
,(self
,) + _args
, _kwargs
)
1187 def SetRowMinimalHeight(self
, *_args
, **_kwargs
):
1188 val
= apply(gridc
.wxGrid_SetRowMinimalHeight
,(self
,) + _args
, _kwargs
)
1190 def SetDefaultCellBackgroundColour(self
, *_args
, **_kwargs
):
1191 val
= apply(gridc
.wxGrid_SetDefaultCellBackgroundColour
,(self
,) + _args
, _kwargs
)
1193 def SetCellBackgroundColour(self
, *_args
, **_kwargs
):
1194 val
= apply(gridc
.wxGrid_SetCellBackgroundColour
,(self
,) + _args
, _kwargs
)
1196 def SetDefaultCellTextColour(self
, *_args
, **_kwargs
):
1197 val
= apply(gridc
.wxGrid_SetDefaultCellTextColour
,(self
,) + _args
, _kwargs
)
1199 def SetCellTextColour(self
, *_args
, **_kwargs
):
1200 val
= apply(gridc
.wxGrid_SetCellTextColour
,(self
,) + _args
, _kwargs
)
1202 def SetDefaultCellFont(self
, *_args
, **_kwargs
):
1203 val
= apply(gridc
.wxGrid_SetDefaultCellFont
,(self
,) + _args
, _kwargs
)
1205 def SetCellFont(self
, *_args
, **_kwargs
):
1206 val
= apply(gridc
.wxGrid_SetCellFont
,(self
,) + _args
, _kwargs
)
1208 def SetDefaultCellAlignment(self
, *_args
, **_kwargs
):
1209 val
= apply(gridc
.wxGrid_SetDefaultCellAlignment
,(self
,) + _args
, _kwargs
)
1211 def SetCellAlignment(self
, *_args
, **_kwargs
):
1212 val
= apply(gridc
.wxGrid_SetCellAlignment
,(self
,) + _args
, _kwargs
)
1214 def SetDefaultRenderer(self
, *_args
, **_kwargs
):
1215 val
= apply(gridc
.wxGrid_SetDefaultRenderer
,(self
,) + _args
, _kwargs
)
1217 def SetCellRenderer(self
, *_args
, **_kwargs
):
1218 val
= apply(gridc
.wxGrid_SetCellRenderer
,(self
,) + _args
, _kwargs
)
1220 def GetDefaultRenderer(self
, *_args
, **_kwargs
):
1221 val
= apply(gridc
.wxGrid_GetDefaultRenderer
,(self
,) + _args
, _kwargs
)
1222 if val
: val
= wxGridCellRendererPtr(val
)
1224 def GetCellRenderer(self
, *_args
, **_kwargs
):
1225 val
= apply(gridc
.wxGrid_GetCellRenderer
,(self
,) + _args
, _kwargs
)
1226 if val
: val
= wxGridCellRendererPtr(val
)
1228 def SetDefaultEditor(self
, *_args
, **_kwargs
):
1229 val
= apply(gridc
.wxGrid_SetDefaultEditor
,(self
,) + _args
, _kwargs
)
1231 def SetCellEditor(self
, *_args
, **_kwargs
):
1232 val
= apply(gridc
.wxGrid_SetCellEditor
,(self
,) + _args
, _kwargs
)
1234 def GetDefaultEditor(self
, *_args
, **_kwargs
):
1235 val
= apply(gridc
.wxGrid_GetDefaultEditor
,(self
,) + _args
, _kwargs
)
1236 if val
: val
= wxGridCellEditorPtr(val
)
1238 def GetCellEditor(self
, *_args
, **_kwargs
):
1239 val
= apply(gridc
.wxGrid_GetCellEditor
,(self
,) + _args
, _kwargs
)
1240 if val
: val
= wxGridCellEditorPtr(val
)
1242 def GetCellValue(self
, *_args
, **_kwargs
):
1243 val
= apply(gridc
.wxGrid_GetCellValue
,(self
,) + _args
, _kwargs
)
1245 def SetCellValue(self
, *_args
, **_kwargs
):
1246 val
= apply(gridc
.wxGrid_SetCellValue
,(self
,) + _args
, _kwargs
)
1248 def IsReadOnly(self
, *_args
, **_kwargs
):
1249 val
= apply(gridc
.wxGrid_IsReadOnly
,(self
,) + _args
, _kwargs
)
1251 def SetReadOnly(self
, *_args
, **_kwargs
):
1252 val
= apply(gridc
.wxGrid_SetReadOnly
,(self
,) + _args
, _kwargs
)
1254 def SelectRow(self
, *_args
, **_kwargs
):
1255 val
= apply(gridc
.wxGrid_SelectRow
,(self
,) + _args
, _kwargs
)
1257 def SelectCol(self
, *_args
, **_kwargs
):
1258 val
= apply(gridc
.wxGrid_SelectCol
,(self
,) + _args
, _kwargs
)
1260 def SelectBlock(self
, *_args
, **_kwargs
):
1261 val
= apply(gridc
.wxGrid_SelectBlock
,(self
,) + _args
, _kwargs
)
1263 def SelectAll(self
, *_args
, **_kwargs
):
1264 val
= apply(gridc
.wxGrid_SelectAll
,(self
,) + _args
, _kwargs
)
1266 def IsSelection(self
, *_args
, **_kwargs
):
1267 val
= apply(gridc
.wxGrid_IsSelection
,(self
,) + _args
, _kwargs
)
1269 def ClearSelection(self
, *_args
, **_kwargs
):
1270 val
= apply(gridc
.wxGrid_ClearSelection
,(self
,) + _args
, _kwargs
)
1272 def IsInSelection(self
, *_args
, **_kwargs
):
1273 val
= apply(gridc
.wxGrid_IsInSelection
,(self
,) + _args
, _kwargs
)
1275 def BlockToDeviceRect(self
, *_args
, **_kwargs
):
1276 val
= apply(gridc
.wxGrid_BlockToDeviceRect
,(self
,) + _args
, _kwargs
)
1277 if val
: val
= wxRectPtr(val
) ; val
.thisown
= 1
1279 def GetSelectionBackground(self
, *_args
, **_kwargs
):
1280 val
= apply(gridc
.wxGrid_GetSelectionBackground
,(self
,) + _args
, _kwargs
)
1281 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
1283 def GetSelectionForeground(self
, *_args
, **_kwargs
):
1284 val
= apply(gridc
.wxGrid_GetSelectionForeground
,(self
,) + _args
, _kwargs
)
1285 if val
: val
= wxColourPtr(val
) ; val
.thisown
= 1
1287 def SetSelectionBackground(self
, *_args
, **_kwargs
):
1288 val
= apply(gridc
.wxGrid_SetSelectionBackground
,(self
,) + _args
, _kwargs
)
1290 def SetSelectionForeground(self
, *_args
, **_kwargs
):
1291 val
= apply(gridc
.wxGrid_SetSelectionForeground
,(self
,) + _args
, _kwargs
)
1293 def RegisterDataType(self
, *_args
, **_kwargs
):
1294 val
= apply(gridc
.wxGrid_RegisterDataType
,(self
,) + _args
, _kwargs
)
1296 def GetDefaultEditorForCell(self
, *_args
, **_kwargs
):
1297 val
= apply(gridc
.wxGrid_GetDefaultEditorForCell
,(self
,) + _args
, _kwargs
)
1298 if val
: val
= wxGridCellEditorPtr(val
)
1300 def GetDefaultRendererForCell(self
, *_args
, **_kwargs
):
1301 val
= apply(gridc
.wxGrid_GetDefaultRendererForCell
,(self
,) + _args
, _kwargs
)
1302 if val
: val
= wxGridCellRendererPtr(val
)
1304 def GetDefaultEditorForType(self
, *_args
, **_kwargs
):
1305 val
= apply(gridc
.wxGrid_GetDefaultEditorForType
,(self
,) + _args
, _kwargs
)
1306 if val
: val
= wxGridCellEditorPtr(val
)
1308 def GetDefaultRendererForType(self
, *_args
, **_kwargs
):
1309 val
= apply(gridc
.wxGrid_GetDefaultRendererForType
,(self
,) + _args
, _kwargs
)
1310 if val
: val
= wxGridCellRendererPtr(val
)
1312 def SetMargins(self
, *_args
, **_kwargs
):
1313 val
= apply(gridc
.wxGrid_SetMargins
,(self
,) + _args
, _kwargs
)
1316 return "<C wxGrid instance at %s>" % (self
.this
,)
1317 class wxGrid(wxGridPtr
):
1318 def __init__(self
,*_args
,**_kwargs
):
1319 self
.this
= apply(gridc
.new_wxGrid
,_args
,_kwargs
)
1325 class wxGridEventPtr(wxNotifyEventPtr
):
1326 def __init__(self
,this
):
1329 def GetRow(self
, *_args
, **_kwargs
):
1330 val
= apply(gridc
.wxGridEvent_GetRow
,(self
,) + _args
, _kwargs
)
1332 def GetCol(self
, *_args
, **_kwargs
):
1333 val
= apply(gridc
.wxGridEvent_GetCol
,(self
,) + _args
, _kwargs
)
1335 def GetPosition(self
, *_args
, **_kwargs
):
1336 val
= apply(gridc
.wxGridEvent_GetPosition
,(self
,) + _args
, _kwargs
)
1337 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
1339 def Selecting(self
, *_args
, **_kwargs
):
1340 val
= apply(gridc
.wxGridEvent_Selecting
,(self
,) + _args
, _kwargs
)
1342 def ControlDown(self
, *_args
, **_kwargs
):
1343 val
= apply(gridc
.wxGridEvent_ControlDown
,(self
,) + _args
, _kwargs
)
1345 def MetaDown(self
, *_args
, **_kwargs
):
1346 val
= apply(gridc
.wxGridEvent_MetaDown
,(self
,) + _args
, _kwargs
)
1348 def ShiftDown(self
, *_args
, **_kwargs
):
1349 val
= apply(gridc
.wxGridEvent_ShiftDown
,(self
,) + _args
, _kwargs
)
1351 def AltDown(self
, *_args
, **_kwargs
):
1352 val
= apply(gridc
.wxGridEvent_AltDown
,(self
,) + _args
, _kwargs
)
1355 return "<C wxGridEvent instance at %s>" % (self
.this
,)
1356 class wxGridEvent(wxGridEventPtr
):
1357 def __init__(self
,*_args
,**_kwargs
):
1358 self
.this
= apply(gridc
.new_wxGridEvent
,_args
,_kwargs
)
1364 class wxGridSizeEventPtr(wxNotifyEventPtr
):
1365 def __init__(self
,this
):
1368 def GetRowOrCol(self
, *_args
, **_kwargs
):
1369 val
= apply(gridc
.wxGridSizeEvent_GetRowOrCol
,(self
,) + _args
, _kwargs
)
1371 def GetPosition(self
, *_args
, **_kwargs
):
1372 val
= apply(gridc
.wxGridSizeEvent_GetPosition
,(self
,) + _args
, _kwargs
)
1373 if val
: val
= wxPointPtr(val
) ; val
.thisown
= 1
1375 def ControlDown(self
, *_args
, **_kwargs
):
1376 val
= apply(gridc
.wxGridSizeEvent_ControlDown
,(self
,) + _args
, _kwargs
)
1378 def MetaDown(self
, *_args
, **_kwargs
):
1379 val
= apply(gridc
.wxGridSizeEvent_MetaDown
,(self
,) + _args
, _kwargs
)
1381 def ShiftDown(self
, *_args
, **_kwargs
):
1382 val
= apply(gridc
.wxGridSizeEvent_ShiftDown
,(self
,) + _args
, _kwargs
)
1384 def AltDown(self
, *_args
, **_kwargs
):
1385 val
= apply(gridc
.wxGridSizeEvent_AltDown
,(self
,) + _args
, _kwargs
)
1388 return "<C wxGridSizeEvent instance at %s>" % (self
.this
,)
1389 class wxGridSizeEvent(wxGridSizeEventPtr
):
1390 def __init__(self
,*_args
,**_kwargs
):
1391 self
.this
= apply(gridc
.new_wxGridSizeEvent
,_args
,_kwargs
)
1397 class wxGridRangeSelectEventPtr(wxNotifyEventPtr
):
1398 def __init__(self
,this
):
1401 def GetTopLeftCoords(self
, *_args
, **_kwargs
):
1402 val
= apply(gridc
.wxGridRangeSelectEvent_GetTopLeftCoords
,(self
,) + _args
, _kwargs
)
1403 if val
: val
= wxGridCellCoordsPtr(val
) ; val
.thisown
= 1
1405 def GetBottomRightCoords(self
, *_args
, **_kwargs
):
1406 val
= apply(gridc
.wxGridRangeSelectEvent_GetBottomRightCoords
,(self
,) + _args
, _kwargs
)
1407 if val
: val
= wxGridCellCoordsPtr(val
) ; val
.thisown
= 1
1409 def GetTopRow(self
, *_args
, **_kwargs
):
1410 val
= apply(gridc
.wxGridRangeSelectEvent_GetTopRow
,(self
,) + _args
, _kwargs
)
1412 def GetBottomRow(self
, *_args
, **_kwargs
):
1413 val
= apply(gridc
.wxGridRangeSelectEvent_GetBottomRow
,(self
,) + _args
, _kwargs
)
1415 def GetLeftCol(self
, *_args
, **_kwargs
):
1416 val
= apply(gridc
.wxGridRangeSelectEvent_GetLeftCol
,(self
,) + _args
, _kwargs
)
1418 def GetRightCol(self
, *_args
, **_kwargs
):
1419 val
= apply(gridc
.wxGridRangeSelectEvent_GetRightCol
,(self
,) + _args
, _kwargs
)
1421 def Selecting(self
, *_args
, **_kwargs
):
1422 val
= apply(gridc
.wxGridRangeSelectEvent_Selecting
,(self
,) + _args
, _kwargs
)
1424 def ControlDown(self
, *_args
, **_kwargs
):
1425 val
= apply(gridc
.wxGridRangeSelectEvent_ControlDown
,(self
,) + _args
, _kwargs
)
1427 def MetaDown(self
, *_args
, **_kwargs
):
1428 val
= apply(gridc
.wxGridRangeSelectEvent_MetaDown
,(self
,) + _args
, _kwargs
)
1430 def ShiftDown(self
, *_args
, **_kwargs
):
1431 val
= apply(gridc
.wxGridRangeSelectEvent_ShiftDown
,(self
,) + _args
, _kwargs
)
1433 def AltDown(self
, *_args
, **_kwargs
):
1434 val
= apply(gridc
.wxGridRangeSelectEvent_AltDown
,(self
,) + _args
, _kwargs
)
1437 return "<C wxGridRangeSelectEvent instance at %s>" % (self
.this
,)
1438 class wxGridRangeSelectEvent(wxGridRangeSelectEventPtr
):
1439 def __init__(self
,*_args
,**_kwargs
):
1440 self
.this
= apply(gridc
.new_wxGridRangeSelectEvent
,_args
,_kwargs
)
1448 #-------------- FUNCTION WRAPPERS ------------------
1452 #-------------- VARIABLE WRAPPERS ------------------
1454 wxGRID_VALUE_STRING
= gridc
.wxGRID_VALUE_STRING
1455 wxGRID_VALUE_BOOL
= gridc
.wxGRID_VALUE_BOOL
1456 wxGRID_VALUE_NUMBER
= gridc
.wxGRID_VALUE_NUMBER
1457 wxGRID_VALUE_FLOAT
= gridc
.wxGRID_VALUE_FLOAT
1458 wxGRID_VALUE_CHOICE
= gridc
.wxGRID_VALUE_CHOICE
1459 wxGRID_VALUE_TEXT
= gridc
.wxGRID_VALUE_TEXT
1460 wxGRID_VALUE_LONG
= gridc
.wxGRID_VALUE_LONG
1462 wxGridNoCellCoords
= wxGridCellCoordsPtr(gridc
.cvar
.wxGridNoCellCoords
)
1463 wxGridNoCellRect
= wxRectPtr(gridc
.cvar
.wxGridNoCellRect
)
1464 wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
= gridc
.wxGRIDTABLE_REQUEST_VIEW_GET_VALUES
1465 wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
= gridc
.wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES
1466 wxGRIDTABLE_NOTIFY_ROWS_INSERTED
= gridc
.wxGRIDTABLE_NOTIFY_ROWS_INSERTED
1467 wxGRIDTABLE_NOTIFY_ROWS_APPENDED
= gridc
.wxGRIDTABLE_NOTIFY_ROWS_APPENDED
1468 wxGRIDTABLE_NOTIFY_ROWS_DELETED
= gridc
.wxGRIDTABLE_NOTIFY_ROWS_DELETED
1469 wxGRIDTABLE_NOTIFY_COLS_INSERTED
= gridc
.wxGRIDTABLE_NOTIFY_COLS_INSERTED
1470 wxGRIDTABLE_NOTIFY_COLS_APPENDED
= gridc
.wxGRIDTABLE_NOTIFY_COLS_APPENDED
1471 wxGRIDTABLE_NOTIFY_COLS_DELETED
= gridc
.wxGRIDTABLE_NOTIFY_COLS_DELETED
1472 wxEVT_GRID_CELL_LEFT_CLICK
= gridc
.wxEVT_GRID_CELL_LEFT_CLICK
1473 wxEVT_GRID_CELL_RIGHT_CLICK
= gridc
.wxEVT_GRID_CELL_RIGHT_CLICK
1474 wxEVT_GRID_CELL_LEFT_DCLICK
= gridc
.wxEVT_GRID_CELL_LEFT_DCLICK
1475 wxEVT_GRID_CELL_RIGHT_DCLICK
= gridc
.wxEVT_GRID_CELL_RIGHT_DCLICK
1476 wxEVT_GRID_LABEL_LEFT_CLICK
= gridc
.wxEVT_GRID_LABEL_LEFT_CLICK
1477 wxEVT_GRID_LABEL_RIGHT_CLICK
= gridc
.wxEVT_GRID_LABEL_RIGHT_CLICK
1478 wxEVT_GRID_LABEL_LEFT_DCLICK
= gridc
.wxEVT_GRID_LABEL_LEFT_DCLICK
1479 wxEVT_GRID_LABEL_RIGHT_DCLICK
= gridc
.wxEVT_GRID_LABEL_RIGHT_DCLICK
1480 wxEVT_GRID_ROW_SIZE
= gridc
.wxEVT_GRID_ROW_SIZE
1481 wxEVT_GRID_COL_SIZE
= gridc
.wxEVT_GRID_COL_SIZE
1482 wxEVT_GRID_RANGE_SELECT
= gridc
.wxEVT_GRID_RANGE_SELECT
1483 wxEVT_GRID_CELL_CHANGE
= gridc
.wxEVT_GRID_CELL_CHANGE
1484 wxEVT_GRID_SELECT_CELL
= gridc
.wxEVT_GRID_SELECT_CELL
1485 wxEVT_GRID_EDITOR_SHOWN
= gridc
.wxEVT_GRID_EDITOR_SHOWN
1486 wxEVT_GRID_EDITOR_HIDDEN
= gridc
.wxEVT_GRID_EDITOR_HIDDEN
1489 #-------------- USER INCLUDE -----------------------
1493 # Stuff these names into the wx namespace so wxPyConstructObject can find them
1495 wx
.wxGridEventPtr
= wxGridEventPtr
1496 wx
.wxGridSizeEventPtr
= wxGridSizeEventPtr
1497 wx
.wxGridRangeSelectEventPtr
= wxGridRangeSelectEventPtr
1498 wx
.wxGridCellRendererPtr
= wxGridCellRendererPtr
1499 wx
.wxPyGridCellRendererPtr
= wxPyGridCellRendererPtr
1500 wx
.wxGridCellEditorPtr
= wxGridCellEditorPtr
1501 wx
.wxPyGridCellEditorPtr
= wxPyGridCellEditorPtr
1502 wx
.wxGridCellAttrPtr
= wxGridCellAttrPtr
1503 wx
.wxGridCellAttrProviderPtr
= wxGridCellAttrProviderPtr
1504 wx
.wxPyGridCellAttrProviderPtr
= wxPyGridCellAttrProviderPtr
1505 wx
.wxGridTableBasePtr
= wxGridTableBasePtr
1506 wx
.wxPyGridTableBasePtr
= wxPyGridTableBasePtr
1507 wx
.wxGridTableMessagePtr
= wxGridTableMessagePtr
1508 wx
.wxGridCellCoordsPtr
= wxGridCellCoordsPtr
1509 wx
.wxGridPtr
= wxGridPtr