1 # This file was created automatically by SWIG.
10 from controls
import *
14 def __init__(self
,this
):
17 def GetTextValue(self
):
18 val
= windows2c
.wxGridCell_GetTextValue(self
.this
)
20 def SetTextValue(self
,arg0
):
21 val
= windows2c
.wxGridCell_SetTextValue(self
.this
,arg0
)
24 val
= windows2c
.wxGridCell_GetFont(self
.this
)
27 def SetFont(self
,arg0
):
28 val
= windows2c
.wxGridCell_SetFont(self
.this
,arg0
.this
)
30 def GetTextColour(self
):
31 val
= windows2c
.wxGridCell_GetTextColour(self
.this
)
32 val
= wxColourPtr(val
)
34 def SetTextColour(self
,arg0
):
35 val
= windows2c
.wxGridCell_SetTextColour(self
.this
,arg0
.this
)
37 def GetBackgroundColour(self
):
38 val
= windows2c
.wxGridCell_GetBackgroundColour(self
.this
)
39 val
= wxColourPtr(val
)
41 def SetBackgroundColour(self
,arg0
):
42 val
= windows2c
.wxGridCell_SetBackgroundColour(self
.this
,arg0
.this
)
44 def GetBackgroundBrush(self
):
45 val
= windows2c
.wxGridCell_GetBackgroundBrush(self
.this
)
48 def GetAlignment(self
):
49 val
= windows2c
.wxGridCell_GetAlignment(self
.this
)
51 def SetAlignment(self
,arg0
):
52 val
= windows2c
.wxGridCell_SetAlignment(self
.this
,arg0
)
54 def GetCellBitmap(self
):
55 val
= windows2c
.wxGridCell_GetCellBitmap(self
.this
)
56 val
= wxBitmapPtr(val
)
58 def SetCellBitmap(self
,arg0
):
59 val
= windows2c
.wxGridCell_SetCellBitmap(self
.this
,arg0
.this
)
62 return "<C wxGridCell instance>"
63 class wxGridCell(wxGridCellPtr
):
64 def __init__(self
,this
):
70 class wxGridPtr(wxPanelPtr
):
71 def __init__(self
,this
):
74 def AdjustScrollbars(self
):
75 val
= windows2c
.wxGrid_AdjustScrollbars(self
.this
)
77 def AppendCols(self
,*args
):
78 val
= apply(windows2c
.wxGrid_AppendCols
,(self
.this
,)+args
)
80 def AppendRows(self
,*args
):
81 val
= apply(windows2c
.wxGrid_AppendRows
,(self
.this
,)+args
)
84 val
= windows2c
.wxGrid_BeginBatch(self
.this
)
86 def CellHitTest(self
,arg0
,arg1
):
87 val
= windows2c
.wxGrid_CellHitTest(self
.this
,arg0
,arg1
)
89 def CreateGrid(self
,arg0
,arg1
,*args
):
90 val
= apply(windows2c
.wxGrid_CreateGrid
,(self
.this
,arg0
,arg1
,)+args
)
92 def CurrentCellVisible(self
):
93 val
= windows2c
.wxGrid_CurrentCellVisible(self
.this
)
95 def DeleteCols(self
,*args
):
96 val
= apply(windows2c
.wxGrid_DeleteCols
,(self
.this
,)+args
)
98 def DeleteRows(self
,*args
):
99 val
= apply(windows2c
.wxGrid_DeleteRows
,(self
.this
,)+args
)
102 val
= windows2c
.wxGrid_EndBatch(self
.this
)
104 def GetBatchCount(self
):
105 val
= windows2c
.wxGrid_GetBatchCount(self
.this
)
107 def GetCell(self
,arg0
,arg1
):
108 val
= windows2c
.wxGrid_GetCell(self
.this
,arg0
,arg1
)
109 val
= wxGridCellPtr(val
)
111 def GetCellAlignment(self
,arg0
,arg1
):
112 val
= windows2c
.wxGrid_GetCellAlignment(self
.this
,arg0
,arg1
)
114 def GetDefCellAlignment(self
):
115 val
= windows2c
.wxGrid_GetDefCellAlignment(self
.this
)
117 def GetCellBackgroundColour(self
,arg0
,arg1
):
118 val
= windows2c
.wxGrid_GetCellBackgroundColour(self
.this
,arg0
,arg1
)
119 val
= wxColourPtr(val
)
121 def GetDefCellBackgroundColour(self
):
122 val
= windows2c
.wxGrid_GetDefCellBackgroundColour(self
.this
)
123 val
= wxColourPtr(val
)
125 def GetCellTextColour(self
,arg0
,arg1
):
126 val
= windows2c
.wxGrid_GetCellTextColour(self
.this
,arg0
,arg1
)
127 val
= wxColourPtr(val
)
129 def GetDefCellTextColour(self
):
130 val
= windows2c
.wxGrid_GetDefCellTextColour(self
.this
)
131 val
= wxColourPtr(val
)
133 def GetCellTextFont(self
,arg0
,arg1
):
134 val
= windows2c
.wxGrid_GetCellTextFont(self
.this
,arg0
,arg1
)
137 def GetDefCellTextFont(self
):
138 val
= windows2c
.wxGrid_GetDefCellTextFont(self
.this
)
141 def GetCellValue(self
,arg0
,arg1
):
142 val
= windows2c
.wxGrid_GetCellValue(self
.this
,arg0
,arg1
)
145 val
= windows2c
.wxGrid_GetCols(self
.this
)
147 def GetColumnWidth(self
,arg0
):
148 val
= windows2c
.wxGrid_GetColumnWidth(self
.this
,arg0
)
150 def GetCurrentRect(self
):
151 val
= windows2c
.wxGrid_GetCurrentRect(self
.this
)
154 def GetCursorColumn(self
):
155 val
= windows2c
.wxGrid_GetCursorColumn(self
.this
)
157 def GetCursorRow(self
):
158 val
= windows2c
.wxGrid_GetCursorRow(self
.this
)
160 def GetEditable(self
):
161 val
= windows2c
.wxGrid_GetEditable(self
.this
)
163 def GetHorizScrollBar(self
):
164 val
= windows2c
.wxGrid_GetHorizScrollBar(self
.this
)
165 val
= wxScrollBarPtr(val
)
167 def GetLabelAlignment(self
,arg0
):
168 val
= windows2c
.wxGrid_GetLabelAlignment(self
.this
,arg0
)
170 def GetLabelBackgroundColour(self
):
171 val
= windows2c
.wxGrid_GetLabelBackgroundColour(self
.this
)
172 val
= wxColourPtr(val
)
174 def GetLabelSize(self
,arg0
):
175 val
= windows2c
.wxGrid_GetLabelSize(self
.this
,arg0
)
177 def GetLabelTextColour(self
):
178 val
= windows2c
.wxGrid_GetLabelTextColour(self
.this
)
179 val
= wxColourPtr(val
)
181 def GetLabelTextFont(self
):
182 val
= windows2c
.wxGrid_GetLabelTextFont(self
.this
)
185 def GetLabelValue(self
,arg0
,arg1
):
186 val
= windows2c
.wxGrid_GetLabelValue(self
.this
,arg0
,arg1
)
188 def GetRowHeight(self
,arg0
):
189 val
= windows2c
.wxGrid_GetRowHeight(self
.this
,arg0
)
192 val
= windows2c
.wxGrid_GetRows(self
.this
)
194 def GetScrollPosX(self
):
195 val
= windows2c
.wxGrid_GetScrollPosX(self
.this
)
197 def GetScrollPosY(self
):
198 val
= windows2c
.wxGrid_GetScrollPosY(self
.this
)
200 def GetTextItem(self
):
201 val
= windows2c
.wxGrid_GetTextItem(self
.this
)
202 val
= wxTextCtrlPtr(val
)
204 def GetVertScrollBar(self
):
205 val
= windows2c
.wxGrid_GetVertScrollBar(self
.this
)
206 val
= wxScrollBarPtr(val
)
208 def InsertCols(self
,*args
):
209 val
= apply(windows2c
.wxGrid_InsertCols
,(self
.this
,)+args
)
211 def InsertRows(self
,*args
):
212 val
= apply(windows2c
.wxGrid_InsertRows
,(self
.this
,)+args
)
214 def SetCellAlignment(self
,arg0
,arg1
,arg2
):
215 val
= windows2c
.wxGrid_SetCellAlignment(self
.this
,arg0
,arg1
,arg2
)
217 def SetDefCellAlignment(self
,arg0
):
218 val
= windows2c
.wxGrid_SetDefCellAlignment(self
.this
,arg0
)
220 def SetCellBackgroundColour(self
,arg0
,arg1
,arg2
):
221 val
= windows2c
.wxGrid_SetCellBackgroundColour(self
.this
,arg0
.this
,arg1
,arg2
)
223 def SetDefCellBackgroundColour(self
,arg0
):
224 val
= windows2c
.wxGrid_SetDefCellBackgroundColour(self
.this
,arg0
.this
)
226 def SetCellTextColour(self
,arg0
,arg1
,arg2
):
227 val
= windows2c
.wxGrid_SetCellTextColour(self
.this
,arg0
.this
,arg1
,arg2
)
229 def SetDefCellTextColour(self
,arg0
):
230 val
= windows2c
.wxGrid_SetDefCellTextColour(self
.this
,arg0
.this
)
232 def SetCellTextFont(self
,arg0
,arg1
,arg2
):
233 val
= windows2c
.wxGrid_SetCellTextFont(self
.this
,arg0
.this
,arg1
,arg2
)
235 def SetDefCellTextFont(self
,arg0
):
236 val
= windows2c
.wxGrid_SetDefCellTextFont(self
.this
,arg0
.this
)
238 def SetCellValue(self
,arg0
,arg1
,arg2
):
239 val
= windows2c
.wxGrid_SetCellValue(self
.this
,arg0
,arg1
,arg2
)
241 def SetColumnWidth(self
,arg0
,arg1
):
242 val
= windows2c
.wxGrid_SetColumnWidth(self
.this
,arg0
,arg1
)
244 def SetDividerPen(self
,arg0
):
245 val
= windows2c
.wxGrid_SetDividerPen(self
.this
,arg0
.this
)
247 def SetEditable(self
,arg0
):
248 val
= windows2c
.wxGrid_SetEditable(self
.this
,arg0
)
250 def SetGridCursor(self
,arg0
,arg1
):
251 val
= windows2c
.wxGrid_SetGridCursor(self
.this
,arg0
,arg1
)
253 def SetLabelAlignment(self
,arg0
,arg1
):
254 val
= windows2c
.wxGrid_SetLabelAlignment(self
.this
,arg0
,arg1
)
256 def SetLabelBackgroundColour(self
,arg0
):
257 val
= windows2c
.wxGrid_SetLabelBackgroundColour(self
.this
,arg0
.this
)
259 def SetLabelSize(self
,arg0
,arg1
):
260 val
= windows2c
.wxGrid_SetLabelSize(self
.this
,arg0
,arg1
)
262 def SetLabelTextColour(self
,arg0
):
263 val
= windows2c
.wxGrid_SetLabelTextColour(self
.this
,arg0
.this
)
265 def SetLabelTextFont(self
,arg0
):
266 val
= windows2c
.wxGrid_SetLabelTextFont(self
.this
,arg0
.this
)
268 def SetLabelValue(self
,arg0
,arg1
,arg2
):
269 val
= windows2c
.wxGrid_SetLabelValue(self
.this
,arg0
,arg1
,arg2
)
271 def SetRowHeight(self
,arg0
,arg1
):
272 val
= windows2c
.wxGrid_SetRowHeight(self
.this
,arg0
,arg1
)
274 def UpdateDimensions(self
):
275 val
= windows2c
.wxGrid_UpdateDimensions(self
.this
)
278 return "<C wxGrid instance>"
279 class wxGrid(wxGridPtr
):
280 def __init__(self
,arg0
,arg1
,*args
) :
281 argl
= map(None,args
)
282 try: argl
[0] = argl
[0].this
284 try: argl
[1] = argl
[1].this
287 self
.this
= apply(windows2c
.new_wxGrid
,(arg0
.this
,arg1
,)+args
)
293 class wxNotebookEventPtr(wxCommandEventPtr
):
294 def __init__(self
,this
):
297 def GetSelection(self
):
298 val
= windows2c
.wxNotebookEvent_GetSelection(self
.this
)
300 def GetOldSelection(self
):
301 val
= windows2c
.wxNotebookEvent_GetOldSelection(self
.this
)
304 return "<C wxNotebookEvent instance>"
305 class wxNotebookEvent(wxNotebookEventPtr
):
306 def __init__(self
,this
):
312 class wxNotebookPtr(wxControlPtr
):
313 def __init__(self
,this
):
316 def GetPageCount(self
):
317 val
= windows2c
.wxNotebook_GetPageCount(self
.this
)
319 def SetSelection(self
,arg0
):
320 val
= windows2c
.wxNotebook_SetSelection(self
.this
,arg0
)
322 def AdvanceSelection(self
,*args
):
323 val
= apply(windows2c
.wxNotebook_AdvanceSelection
,(self
.this
,)+args
)
325 def GetSelection(self
):
326 val
= windows2c
.wxNotebook_GetSelection(self
.this
)
328 def SetPageText(self
,arg0
,arg1
):
329 val
= windows2c
.wxNotebook_SetPageText(self
.this
,arg0
,arg1
)
331 def GetPageText(self
,arg0
):
332 val
= windows2c
.wxNotebook_GetPageText(self
.this
,arg0
)
334 def SetImageList(self
,arg0
):
335 val
= windows2c
.wxNotebook_SetImageList(self
.this
,arg0
)
337 def GetImageList(self
):
338 val
= windows2c
.wxNotebook_GetImageList(self
.this
)
340 def GetPageImage(self
,arg0
):
341 val
= windows2c
.wxNotebook_GetPageImage(self
.this
,arg0
)
343 def SetPageImage(self
,arg0
,arg1
):
344 val
= windows2c
.wxNotebook_SetPageImage(self
.this
,arg0
,arg1
)
346 def GetRowCount(self
):
347 val
= windows2c
.wxNotebook_GetRowCount(self
.this
)
349 def DeletePage(self
,arg0
):
350 val
= windows2c
.wxNotebook_DeletePage(self
.this
,arg0
)
352 def DeleteAllPages(self
):
353 val
= windows2c
.wxNotebook_DeleteAllPages(self
.this
)
355 def AddPage(self
,arg0
,arg1
,*args
):
356 val
= apply(windows2c
.wxNotebook_AddPage
,(self
.this
,arg0
.this
,arg1
,)+args
)
358 def GetPage(self
,arg0
):
359 val
= windows2c
.wxNotebook_GetPage(self
.this
,arg0
)
362 return "<C wxNotebook instance>"
363 class wxNotebook(wxNotebookPtr
):
364 def __init__(self
,arg0
,arg1
,*args
) :
365 argl
= map(None,args
)
366 try: argl
[0] = argl
[0].this
368 try: argl
[1] = argl
[1].this
371 self
.this
= apply(windows2c
.new_wxNotebook
,(arg0
.this
,arg1
,)+args
)
379 #-------------- FUNCTION WRAPPERS ------------------
383 #-------------- VARIABLE WRAPPERS ------------------
385 wxGRID_TEXT_CTRL
= windows2c
.wxGRID_TEXT_CTRL
386 wxGRID_HSCROLL
= windows2c
.wxGRID_HSCROLL
387 wxGRID_VSCROLL
= windows2c
.wxGRID_VSCROLL