]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/windows2.py
wxPython 2.1b1: Very minor changes needed for wxGTK
[wxWidgets.git] / utils / wxPython / src / gtk / windows2.py
1 # This file was created automatically by SWIG.
2 import windows2c
3
4 from misc import *
5
6 from gdi import *
7
8 from windows import *
9
10 from controls import *
11
12 from events import *
13 import wx
14 class wxGridCellPtr :
15 def __init__(self,this):
16 self.this = this
17 self.thisown = 0
18 def __del__(self):
19 if self.thisown == 1 :
20 windows2c.delete_wxGridCell(self.this)
21 def GetTextValue(self):
22 val = windows2c.wxGridCell_GetTextValue(self.this)
23 return val
24 def SetTextValue(self,arg0):
25 val = windows2c.wxGridCell_SetTextValue(self.this,arg0)
26 return val
27 def GetFont(self):
28 val = windows2c.wxGridCell_GetFont(self.this)
29 val = wxFontPtr(val)
30 return val
31 def SetFont(self,arg0):
32 val = windows2c.wxGridCell_SetFont(self.this,arg0.this)
33 return val
34 def GetTextColour(self):
35 val = windows2c.wxGridCell_GetTextColour(self.this)
36 val = wxColourPtr(val)
37 return val
38 def SetTextColour(self,arg0):
39 val = windows2c.wxGridCell_SetTextColour(self.this,arg0.this)
40 return val
41 def GetBackgroundColour(self):
42 val = windows2c.wxGridCell_GetBackgroundColour(self.this)
43 val = wxColourPtr(val)
44 return val
45 def SetBackgroundColour(self,arg0):
46 val = windows2c.wxGridCell_SetBackgroundColour(self.this,arg0.this)
47 return val
48 def GetBackgroundBrush(self):
49 val = windows2c.wxGridCell_GetBackgroundBrush(self.this)
50 val = wxBrushPtr(val)
51 return val
52 def GetAlignment(self):
53 val = windows2c.wxGridCell_GetAlignment(self.this)
54 return val
55 def SetAlignment(self,arg0):
56 val = windows2c.wxGridCell_SetAlignment(self.this,arg0)
57 return val
58 def GetCellBitmap(self):
59 val = windows2c.wxGridCell_GetCellBitmap(self.this)
60 val = wxBitmapPtr(val)
61 return val
62 def SetCellBitmap(self,arg0):
63 val = windows2c.wxGridCell_SetCellBitmap(self.this,arg0.this)
64 return val
65 def __repr__(self):
66 return "<C wxGridCell instance>"
67 class wxGridCell(wxGridCellPtr):
68 def __init__(self) :
69 self.this = windows2c.new_wxGridCell()
70 self.thisown = 1
71
72
73
74
75 class wxGridPtr(wxPanelPtr):
76 def __init__(self,this):
77 self.this = this
78 self.thisown = 0
79 def AdjustScrollbars(self):
80 val = windows2c.wxGrid_AdjustScrollbars(self.this)
81 return val
82 def AppendCols(self,*args):
83 val = apply(windows2c.wxGrid_AppendCols,(self.this,)+args)
84 return val
85 def AppendRows(self,*args):
86 val = apply(windows2c.wxGrid_AppendRows,(self.this,)+args)
87 return val
88 def BeginBatch(self):
89 val = windows2c.wxGrid_BeginBatch(self.this)
90 return val
91 def CellHitTest(self,arg0,arg1):
92 val = windows2c.wxGrid_CellHitTest(self.this,arg0,arg1)
93 return val
94 def CreateGrid(self,arg0,arg1,*args):
95 val = apply(windows2c.wxGrid_CreateGrid,(self.this,arg0,arg1,)+args)
96 return val
97 def CurrentCellVisible(self):
98 val = windows2c.wxGrid_CurrentCellVisible(self.this)
99 return val
100 def DeleteCols(self,*args):
101 val = apply(windows2c.wxGrid_DeleteCols,(self.this,)+args)
102 return val
103 def DeleteRows(self,*args):
104 val = apply(windows2c.wxGrid_DeleteRows,(self.this,)+args)
105 return val
106 def EndBatch(self):
107 val = windows2c.wxGrid_EndBatch(self.this)
108 return val
109 def GetBatchCount(self):
110 val = windows2c.wxGrid_GetBatchCount(self.this)
111 return val
112 def GetCell(self,arg0,arg1):
113 val = windows2c.wxGrid_GetCell(self.this,arg0,arg1)
114 val = wxGridCellPtr(val)
115 return val
116 def GetCellAlignment(self,arg0,arg1):
117 val = windows2c.wxGrid_GetCellAlignment(self.this,arg0,arg1)
118 return val
119 def GetDefCellAlignment(self):
120 val = windows2c.wxGrid_GetDefCellAlignment(self.this)
121 return val
122 def GetCellBackgroundColour(self,arg0,arg1):
123 val = windows2c.wxGrid_GetCellBackgroundColour(self.this,arg0,arg1)
124 val = wxColourPtr(val)
125 return val
126 def GetDefCellBackgroundColour(self):
127 val = windows2c.wxGrid_GetDefCellBackgroundColour(self.this)
128 val = wxColourPtr(val)
129 return val
130 def GetCellTextColour(self,arg0,arg1):
131 val = windows2c.wxGrid_GetCellTextColour(self.this,arg0,arg1)
132 val = wxColourPtr(val)
133 return val
134 def GetDefCellTextColour(self):
135 val = windows2c.wxGrid_GetDefCellTextColour(self.this)
136 val = wxColourPtr(val)
137 return val
138 def GetCellTextFont(self,arg0,arg1):
139 val = windows2c.wxGrid_GetCellTextFont(self.this,arg0,arg1)
140 val = wxFontPtr(val)
141 return val
142 def GetDefCellTextFont(self):
143 val = windows2c.wxGrid_GetDefCellTextFont(self.this)
144 val = wxFontPtr(val)
145 return val
146 def GetCellValue(self,arg0,arg1):
147 val = windows2c.wxGrid_GetCellValue(self.this,arg0,arg1)
148 return val
149 def GetCols(self):
150 val = windows2c.wxGrid_GetCols(self.this)
151 return val
152 def GetColumnWidth(self,arg0):
153 val = windows2c.wxGrid_GetColumnWidth(self.this,arg0)
154 return val
155 def GetCurrentRect(self):
156 val = windows2c.wxGrid_GetCurrentRect(self.this)
157 val = wxRectPtr(val)
158 val.thisown = 1
159 return val
160 def GetCursorColumn(self):
161 val = windows2c.wxGrid_GetCursorColumn(self.this)
162 return val
163 def GetCursorRow(self):
164 val = windows2c.wxGrid_GetCursorRow(self.this)
165 return val
166 def GetEditable(self):
167 val = windows2c.wxGrid_GetEditable(self.this)
168 return val
169 def GetHorizScrollBar(self):
170 val = windows2c.wxGrid_GetHorizScrollBar(self.this)
171 val = wxScrollBarPtr(val)
172 return val
173 def GetLabelAlignment(self,arg0):
174 val = windows2c.wxGrid_GetLabelAlignment(self.this,arg0)
175 return val
176 def GetLabelBackgroundColour(self):
177 val = windows2c.wxGrid_GetLabelBackgroundColour(self.this)
178 val = wxColourPtr(val)
179 return val
180 def GetLabelSize(self,arg0):
181 val = windows2c.wxGrid_GetLabelSize(self.this,arg0)
182 return val
183 def GetLabelTextColour(self):
184 val = windows2c.wxGrid_GetLabelTextColour(self.this)
185 val = wxColourPtr(val)
186 return val
187 def GetLabelTextFont(self):
188 val = windows2c.wxGrid_GetLabelTextFont(self.this)
189 val = wxFontPtr(val)
190 return val
191 def GetLabelValue(self,arg0,arg1):
192 val = windows2c.wxGrid_GetLabelValue(self.this,arg0,arg1)
193 return val
194 def GetRowHeight(self,arg0):
195 val = windows2c.wxGrid_GetRowHeight(self.this,arg0)
196 return val
197 def GetRows(self):
198 val = windows2c.wxGrid_GetRows(self.this)
199 return val
200 def GetScrollPosX(self):
201 val = windows2c.wxGrid_GetScrollPosX(self.this)
202 return val
203 def GetScrollPosY(self):
204 val = windows2c.wxGrid_GetScrollPosY(self.this)
205 return val
206 def GetTextItem(self):
207 val = windows2c.wxGrid_GetTextItem(self.this)
208 val = wxTextCtrlPtr(val)
209 return val
210 def GetVertScrollBar(self):
211 val = windows2c.wxGrid_GetVertScrollBar(self.this)
212 val = wxScrollBarPtr(val)
213 return val
214 def InsertCols(self,*args):
215 val = apply(windows2c.wxGrid_InsertCols,(self.this,)+args)
216 return val
217 def InsertRows(self,*args):
218 val = apply(windows2c.wxGrid_InsertRows,(self.this,)+args)
219 return val
220 def OnActivate(self,arg0):
221 val = windows2c.wxGrid_OnActivate(self.this,arg0)
222 return val
223 def SetCellAlignment(self,arg0,arg1,arg2):
224 val = windows2c.wxGrid_SetCellAlignment(self.this,arg0,arg1,arg2)
225 return val
226 def SetDefCellAlignment(self,arg0):
227 val = windows2c.wxGrid_SetDefCellAlignment(self.this,arg0)
228 return val
229 def SetCellBackgroundColour(self,arg0,arg1,arg2):
230 val = windows2c.wxGrid_SetCellBackgroundColour(self.this,arg0.this,arg1,arg2)
231 return val
232 def SetDefCellBackgroundColour(self,arg0):
233 val = windows2c.wxGrid_SetDefCellBackgroundColour(self.this,arg0.this)
234 return val
235 def SetCellTextColour(self,arg0,arg1,arg2):
236 val = windows2c.wxGrid_SetCellTextColour(self.this,arg0.this,arg1,arg2)
237 return val
238 def SetDefCellTextColour(self,arg0):
239 val = windows2c.wxGrid_SetDefCellTextColour(self.this,arg0.this)
240 return val
241 def SetCellTextFont(self,arg0,arg1,arg2):
242 val = windows2c.wxGrid_SetCellTextFont(self.this,arg0.this,arg1,arg2)
243 return val
244 def SetDefCellTextFont(self,arg0):
245 val = windows2c.wxGrid_SetDefCellTextFont(self.this,arg0.this)
246 return val
247 def SetCellValue(self,arg0,arg1,arg2):
248 val = windows2c.wxGrid_SetCellValue(self.this,arg0,arg1,arg2)
249 return val
250 def SetColumnWidth(self,arg0,arg1):
251 val = windows2c.wxGrid_SetColumnWidth(self.this,arg0,arg1)
252 return val
253 def SetDividerPen(self,arg0):
254 val = windows2c.wxGrid_SetDividerPen(self.this,arg0.this)
255 return val
256 def SetEditable(self,arg0):
257 val = windows2c.wxGrid_SetEditable(self.this,arg0)
258 return val
259 def SetGridCursor(self,arg0,arg1):
260 val = windows2c.wxGrid_SetGridCursor(self.this,arg0,arg1)
261 return val
262 def SetLabelAlignment(self,arg0,arg1):
263 val = windows2c.wxGrid_SetLabelAlignment(self.this,arg0,arg1)
264 return val
265 def SetLabelBackgroundColour(self,arg0):
266 val = windows2c.wxGrid_SetLabelBackgroundColour(self.this,arg0.this)
267 return val
268 def SetLabelSize(self,arg0,arg1):
269 val = windows2c.wxGrid_SetLabelSize(self.this,arg0,arg1)
270 return val
271 def SetLabelTextColour(self,arg0):
272 val = windows2c.wxGrid_SetLabelTextColour(self.this,arg0.this)
273 return val
274 def SetLabelTextFont(self,arg0):
275 val = windows2c.wxGrid_SetLabelTextFont(self.this,arg0.this)
276 return val
277 def SetLabelValue(self,arg0,arg1,arg2):
278 val = windows2c.wxGrid_SetLabelValue(self.this,arg0,arg1,arg2)
279 return val
280 def SetRowHeight(self,arg0,arg1):
281 val = windows2c.wxGrid_SetRowHeight(self.this,arg0,arg1)
282 return val
283 def UpdateDimensions(self):
284 val = windows2c.wxGrid_UpdateDimensions(self.this)
285 return val
286 def __repr__(self):
287 return "<C wxGrid instance>"
288 class wxGrid(wxGridPtr):
289 def __init__(self,arg0,arg1,*args) :
290 argl = map(None,args)
291 try: argl[0] = argl[0].this
292 except: pass
293 try: argl[1] = argl[1].this
294 except: pass
295 args = tuple(argl)
296 self.this = apply(windows2c.new_wxGrid,(arg0.this,arg1,)+args)
297 self.thisown = 1
298 wx._StdWindowCallbacks(self)
299 wx._checkForCallback(self, 'OnSelectCell', wxEVT_GRID_SELECT_CELL)
300 wx._checkForCallback(self, 'OnCreateCell', wxEVT_GRID_CREATE_CELL)
301 wx._checkForCallback(self, 'OnChangeLabels', wxEVT_GRID_CHANGE_LABELS)
302 wx._checkForCallback(self, 'OnChangeSelectionLabel', wxEVT_GRID_CHANGE_SEL_LABEL)
303 wx._checkForCallback(self, 'OnCellChange', wxEVT_GRID_CELL_CHANGE)
304 wx._checkForCallback(self, 'OnCellLeftClick', wxEVT_GRID_CELL_LCLICK)
305 wx._checkForCallback(self, 'OnCellRightClick', wxEVT_GRID_CELL_RCLICK)
306 wx._checkForCallback(self, 'OnLabelLeftClick', wxEVT_GRID_LABEL_LCLICK)
307 wx._checkForCallback(self, 'OnLabelRightClick', wxEVT_GRID_LABEL_RCLICK)
308
309
310
311
312 class wxGridEventPtr(wxEventPtr):
313 def __init__(self,this):
314 self.this = this
315 self.thisown = 0
316 def __setattr__(self,name,value):
317 if name == "m_row" :
318 windows2c.wxGridEvent_m_row_set(self.this,value)
319 return
320 if name == "m_col" :
321 windows2c.wxGridEvent_m_col_set(self.this,value)
322 return
323 if name == "m_x" :
324 windows2c.wxGridEvent_m_x_set(self.this,value)
325 return
326 if name == "m_y" :
327 windows2c.wxGridEvent_m_y_set(self.this,value)
328 return
329 if name == "m_control" :
330 windows2c.wxGridEvent_m_control_set(self.this,value)
331 return
332 if name == "m_shift" :
333 windows2c.wxGridEvent_m_shift_set(self.this,value)
334 return
335 if name == "m_cell" :
336 windows2c.wxGridEvent_m_cell_set(self.this,value.this)
337 return
338 self.__dict__[name] = value
339 def __getattr__(self,name):
340 if name == "m_row" :
341 return windows2c.wxGridEvent_m_row_get(self.this)
342 if name == "m_col" :
343 return windows2c.wxGridEvent_m_col_get(self.this)
344 if name == "m_x" :
345 return windows2c.wxGridEvent_m_x_get(self.this)
346 if name == "m_y" :
347 return windows2c.wxGridEvent_m_y_get(self.this)
348 if name == "m_control" :
349 return windows2c.wxGridEvent_m_control_get(self.this)
350 if name == "m_shift" :
351 return windows2c.wxGridEvent_m_shift_get(self.this)
352 if name == "m_cell" :
353 return wxGridCellPtr(windows2c.wxGridEvent_m_cell_get(self.this))
354 raise AttributeError,name
355 def __repr__(self):
356 return "<C wxGridEvent instance>"
357 class wxGridEvent(wxGridEventPtr):
358 def __init__(self,this):
359 self.this = this
360
361
362
363
364 class wxNotebookEventPtr(wxNotifyEventPtr):
365 def __init__(self,this):
366 self.this = this
367 self.thisown = 0
368 def GetSelection(self):
369 val = windows2c.wxNotebookEvent_GetSelection(self.this)
370 return val
371 def GetOldSelection(self):
372 val = windows2c.wxNotebookEvent_GetOldSelection(self.this)
373 return val
374 def SetOldSelection(self,arg0):
375 val = windows2c.wxNotebookEvent_SetOldSelection(self.this,arg0)
376 return val
377 def SetSelection(self,arg0):
378 val = windows2c.wxNotebookEvent_SetSelection(self.this,arg0)
379 return val
380 def __repr__(self):
381 return "<C wxNotebookEvent instance>"
382 class wxNotebookEvent(wxNotebookEventPtr):
383 def __init__(self,this):
384 self.this = this
385
386
387
388
389 class wxNotebookPtr(wxControlPtr):
390 def __init__(self,this):
391 self.this = this
392 self.thisown = 0
393 def GetPageCount(self):
394 val = windows2c.wxNotebook_GetPageCount(self.this)
395 return val
396 def SetSelection(self,arg0):
397 val = windows2c.wxNotebook_SetSelection(self.this,arg0)
398 return val
399 def AdvanceSelection(self,*args):
400 val = apply(windows2c.wxNotebook_AdvanceSelection,(self.this,)+args)
401 return val
402 def GetSelection(self):
403 val = windows2c.wxNotebook_GetSelection(self.this)
404 return val
405 def SetPageText(self,arg0,arg1):
406 val = windows2c.wxNotebook_SetPageText(self.this,arg0,arg1)
407 return val
408 def GetPageText(self,arg0):
409 val = windows2c.wxNotebook_GetPageText(self.this,arg0)
410 return val
411 def SetImageList(self,arg0):
412 val = windows2c.wxNotebook_SetImageList(self.this,arg0.this)
413 return val
414 def GetImageList(self):
415 val = windows2c.wxNotebook_GetImageList(self.this)
416 val = wxImageListPtr(val)
417 return val
418 def GetPageImage(self,arg0):
419 val = windows2c.wxNotebook_GetPageImage(self.this,arg0)
420 return val
421 def SetPageImage(self,arg0,arg1):
422 val = windows2c.wxNotebook_SetPageImage(self.this,arg0,arg1)
423 return val
424 def GetRowCount(self):
425 val = windows2c.wxNotebook_GetRowCount(self.this)
426 return val
427 def DeletePage(self,arg0):
428 val = windows2c.wxNotebook_DeletePage(self.this,arg0)
429 return val
430 def RemovePage(self,arg0):
431 val = windows2c.wxNotebook_RemovePage(self.this,arg0)
432 return val
433 def DeleteAllPages(self):
434 val = windows2c.wxNotebook_DeleteAllPages(self.this)
435 return val
436 def AddPage(self,arg0,arg1,*args):
437 val = apply(windows2c.wxNotebook_AddPage,(self.this,arg0.this,arg1,)+args)
438 return val
439 def GetPage(self,arg0):
440 val = windows2c.wxNotebook_GetPage(self.this,arg0)
441 val = wxWindowPtr(val)
442 return val
443 def ResizeChildren(self):
444 val = windows2c.wxNotebook_ResizeChildren(self.this)
445 return val
446 def __repr__(self):
447 return "<C wxNotebook instance>"
448 class wxNotebook(wxNotebookPtr):
449 def __init__(self,arg0,arg1,*args) :
450 argl = map(None,args)
451 try: argl[0] = argl[0].this
452 except: pass
453 try: argl[1] = argl[1].this
454 except: pass
455 args = tuple(argl)
456 self.this = apply(windows2c.new_wxNotebook,(arg0.this,arg1,)+args)
457 self.thisown = 1
458 wx._StdWindowCallbacks(self)
459
460
461
462
463 class wxSplitterEventPtr(wxCommandEventPtr):
464 def __init__(self,this):
465 self.this = this
466 self.thisown = 0
467 def GetSashPosition(self):
468 val = windows2c.wxSplitterEvent_GetSashPosition(self.this)
469 return val
470 def GetX(self):
471 val = windows2c.wxSplitterEvent_GetX(self.this)
472 return val
473 def GetY(self):
474 val = windows2c.wxSplitterEvent_GetY(self.this)
475 return val
476 def GetWindowBeingRemoved(self):
477 val = windows2c.wxSplitterEvent_GetWindowBeingRemoved(self.this)
478 val = wxWindowPtr(val)
479 return val
480 def SetSashPosition(self,arg0):
481 val = windows2c.wxSplitterEvent_SetSashPosition(self.this,arg0)
482 return val
483 def __repr__(self):
484 return "<C wxSplitterEvent instance>"
485 class wxSplitterEvent(wxSplitterEventPtr):
486 def __init__(self,this):
487 self.this = this
488
489
490
491
492 class wxSplitterWindowPtr(wxWindowPtr):
493 def __init__(self,this):
494 self.this = this
495 self.thisown = 0
496 def GetBorderSize(self):
497 val = windows2c.wxSplitterWindow_GetBorderSize(self.this)
498 return val
499 def GetMinimumPaneSize(self):
500 val = windows2c.wxSplitterWindow_GetMinimumPaneSize(self.this)
501 return val
502 def GetSashPosition(self):
503 val = windows2c.wxSplitterWindow_GetSashPosition(self.this)
504 return val
505 def GetSashSize(self):
506 val = windows2c.wxSplitterWindow_GetSashSize(self.this)
507 return val
508 def GetSplitMode(self):
509 val = windows2c.wxSplitterWindow_GetSplitMode(self.this)
510 return val
511 def GetWindow1(self):
512 val = windows2c.wxSplitterWindow_GetWindow1(self.this)
513 val = wxWindowPtr(val)
514 return val
515 def GetWindow2(self):
516 val = windows2c.wxSplitterWindow_GetWindow2(self.this)
517 val = wxWindowPtr(val)
518 return val
519 def Initialize(self,arg0):
520 val = windows2c.wxSplitterWindow_Initialize(self.this,arg0.this)
521 return val
522 def IsSplit(self):
523 val = windows2c.wxSplitterWindow_IsSplit(self.this)
524 return val
525 def SetBorderSize(self,arg0):
526 val = windows2c.wxSplitterWindow_SetBorderSize(self.this,arg0)
527 return val
528 def SetSashPosition(self,arg0,*args):
529 val = apply(windows2c.wxSplitterWindow_SetSashPosition,(self.this,arg0,)+args)
530 return val
531 def SetSashSize(self,arg0):
532 val = windows2c.wxSplitterWindow_SetSashSize(self.this,arg0)
533 return val
534 def SetMinimumPaneSize(self,arg0):
535 val = windows2c.wxSplitterWindow_SetMinimumPaneSize(self.this,arg0)
536 return val
537 def SetSplitMode(self,arg0):
538 val = windows2c.wxSplitterWindow_SetSplitMode(self.this,arg0)
539 return val
540 def SplitHorizontally(self,arg0,arg1,*args):
541 val = apply(windows2c.wxSplitterWindow_SplitHorizontally,(self.this,arg0.this,arg1.this,)+args)
542 return val
543 def SplitVertically(self,arg0,arg1,*args):
544 val = apply(windows2c.wxSplitterWindow_SplitVertically,(self.this,arg0.this,arg1.this,)+args)
545 return val
546 def Unsplit(self,*args):
547 argl = map(None,args)
548 try: argl[0] = argl[0].this
549 except: pass
550 args = tuple(argl)
551 val = apply(windows2c.wxSplitterWindow_Unsplit,(self.this,)+args)
552 return val
553 def __repr__(self):
554 return "<C wxSplitterWindow instance>"
555 class wxSplitterWindow(wxSplitterWindowPtr):
556 def __init__(self,arg0,arg1,*args) :
557 argl = map(None,args)
558 try: argl[0] = argl[0].this
559 except: pass
560 try: argl[1] = argl[1].this
561 except: pass
562 args = tuple(argl)
563 self.this = apply(windows2c.new_wxSplitterWindow,(arg0.this,arg1,)+args)
564 self.thisown = 1
565 wx._StdWindowCallbacks(self)
566
567
568
569
570
571
572 #-------------- FUNCTION WRAPPERS ------------------
573
574
575
576 #-------------- VARIABLE WRAPPERS ------------------
577
578 wxGRID_TEXT_CTRL = windows2c.wxGRID_TEXT_CTRL
579 wxGRID_HSCROLL = windows2c.wxGRID_HSCROLL
580 wxGRID_VSCROLL = windows2c.wxGRID_VSCROLL
581 wxEVT_GRID_SELECT_CELL = windows2c.wxEVT_GRID_SELECT_CELL
582 wxEVT_GRID_CREATE_CELL = windows2c.wxEVT_GRID_CREATE_CELL
583 wxEVT_GRID_CHANGE_LABELS = windows2c.wxEVT_GRID_CHANGE_LABELS
584 wxEVT_GRID_CHANGE_SEL_LABEL = windows2c.wxEVT_GRID_CHANGE_SEL_LABEL
585 wxEVT_GRID_CELL_CHANGE = windows2c.wxEVT_GRID_CELL_CHANGE
586 wxEVT_GRID_CELL_LCLICK = windows2c.wxEVT_GRID_CELL_LCLICK
587 wxEVT_GRID_CELL_RCLICK = windows2c.wxEVT_GRID_CELL_RCLICK
588 wxEVT_GRID_LABEL_LCLICK = windows2c.wxEVT_GRID_LABEL_LCLICK
589 wxEVT_GRID_LABEL_RCLICK = windows2c.wxEVT_GRID_LABEL_RCLICK