]> git.saurik.com Git - wxWidgets.git/blame - utils/wxPython/src/windows2.py
uint -> size_t change
[wxWidgets.git] / utils / wxPython / src / windows2.py
CommitLineData
7bf85405
RD
1# This file was created automatically by SWIG.
2import windows2c
3
4from misc import *
5
6from gdi import *
7
8from windows import *
9
10from controls import *
11
12from events import *
13class wxGridCellPtr :
14 def __init__(self,this):
15 self.this = this
16 self.thisown = 0
17 def GetTextValue(self):
18 val = windows2c.wxGridCell_GetTextValue(self.this)
19 return val
20 def SetTextValue(self,arg0):
21 val = windows2c.wxGridCell_SetTextValue(self.this,arg0)
22 return val
23 def GetFont(self):
24 val = windows2c.wxGridCell_GetFont(self.this)
25 val = wxFontPtr(val)
26 return val
27 def SetFont(self,arg0):
28 val = windows2c.wxGridCell_SetFont(self.this,arg0.this)
29 return val
30 def GetTextColour(self):
31 val = windows2c.wxGridCell_GetTextColour(self.this)
32 val = wxColourPtr(val)
33 return val
34 def SetTextColour(self,arg0):
35 val = windows2c.wxGridCell_SetTextColour(self.this,arg0.this)
36 return val
37 def GetBackgroundColour(self):
38 val = windows2c.wxGridCell_GetBackgroundColour(self.this)
39 val = wxColourPtr(val)
40 return val
41 def SetBackgroundColour(self,arg0):
42 val = windows2c.wxGridCell_SetBackgroundColour(self.this,arg0.this)
43 return val
44 def GetBackgroundBrush(self):
45 val = windows2c.wxGridCell_GetBackgroundBrush(self.this)
46 val = wxBrushPtr(val)
47 return val
48 def GetAlignment(self):
49 val = windows2c.wxGridCell_GetAlignment(self.this)
50 return val
51 def SetAlignment(self,arg0):
52 val = windows2c.wxGridCell_SetAlignment(self.this,arg0)
53 return val
54 def GetCellBitmap(self):
55 val = windows2c.wxGridCell_GetCellBitmap(self.this)
56 val = wxBitmapPtr(val)
57 return val
58 def SetCellBitmap(self,arg0):
59 val = windows2c.wxGridCell_SetCellBitmap(self.this,arg0.this)
60 return val
61 def __repr__(self):
62 return "<C wxGridCell instance>"
63class wxGridCell(wxGridCellPtr):
64 def __init__(self,this):
65 self.this = this
66
67
68
69
70class wxGridPtr(wxPanelPtr):
71 def __init__(self,this):
72 self.this = this
73 self.thisown = 0
74 def AdjustScrollbars(self):
75 val = windows2c.wxGrid_AdjustScrollbars(self.this)
76 return val
77 def AppendCols(self,*args):
78 val = apply(windows2c.wxGrid_AppendCols,(self.this,)+args)
79 return val
80 def AppendRows(self,*args):
81 val = apply(windows2c.wxGrid_AppendRows,(self.this,)+args)
82 return val
83 def BeginBatch(self):
84 val = windows2c.wxGrid_BeginBatch(self.this)
85 return val
86 def CellHitTest(self,arg0,arg1):
87 val = windows2c.wxGrid_CellHitTest(self.this,arg0,arg1)
88 return val
89 def CreateGrid(self,arg0,arg1,*args):
90 val = apply(windows2c.wxGrid_CreateGrid,(self.this,arg0,arg1,)+args)
91 return val
92 def CurrentCellVisible(self):
93 val = windows2c.wxGrid_CurrentCellVisible(self.this)
94 return val
95 def DeleteCols(self,*args):
96 val = apply(windows2c.wxGrid_DeleteCols,(self.this,)+args)
97 return val
98 def DeleteRows(self,*args):
99 val = apply(windows2c.wxGrid_DeleteRows,(self.this,)+args)
100 return val
101 def EndBatch(self):
102 val = windows2c.wxGrid_EndBatch(self.this)
103 return val
104 def GetBatchCount(self):
105 val = windows2c.wxGrid_GetBatchCount(self.this)
106 return val
107 def GetCell(self,arg0,arg1):
108 val = windows2c.wxGrid_GetCell(self.this,arg0,arg1)
109 val = wxGridCellPtr(val)
110 return val
111 def GetCellAlignment(self,arg0,arg1):
112 val = windows2c.wxGrid_GetCellAlignment(self.this,arg0,arg1)
113 return val
114 def GetDefCellAlignment(self):
115 val = windows2c.wxGrid_GetDefCellAlignment(self.this)
116 return val
117 def GetCellBackgroundColour(self,arg0,arg1):
118 val = windows2c.wxGrid_GetCellBackgroundColour(self.this,arg0,arg1)
119 val = wxColourPtr(val)
120 return val
121 def GetDefCellBackgroundColour(self):
122 val = windows2c.wxGrid_GetDefCellBackgroundColour(self.this)
123 val = wxColourPtr(val)
124 return val
125 def GetCellTextColour(self,arg0,arg1):
126 val = windows2c.wxGrid_GetCellTextColour(self.this,arg0,arg1)
127 val = wxColourPtr(val)
128 return val
129 def GetDefCellTextColour(self):
130 val = windows2c.wxGrid_GetDefCellTextColour(self.this)
131 val = wxColourPtr(val)
132 return val
133 def GetCellTextFont(self,arg0,arg1):
134 val = windows2c.wxGrid_GetCellTextFont(self.this,arg0,arg1)
135 val = wxFontPtr(val)
136 return val
137 def GetDefCellTextFont(self):
138 val = windows2c.wxGrid_GetDefCellTextFont(self.this)
139 val = wxFontPtr(val)
140 return val
141 def GetCellValue(self,arg0,arg1):
142 val = windows2c.wxGrid_GetCellValue(self.this,arg0,arg1)
143 return val
144 def GetCols(self):
145 val = windows2c.wxGrid_GetCols(self.this)
146 return val
147 def GetColumnWidth(self,arg0):
148 val = windows2c.wxGrid_GetColumnWidth(self.this,arg0)
149 return val
150 def GetCurrentRect(self):
151 val = windows2c.wxGrid_GetCurrentRect(self.this)
152 val = wxRectPtr(val)
153 return val
154 def GetCursorColumn(self):
155 val = windows2c.wxGrid_GetCursorColumn(self.this)
156 return val
157 def GetCursorRow(self):
158 val = windows2c.wxGrid_GetCursorRow(self.this)
159 return val
160 def GetEditable(self):
161 val = windows2c.wxGrid_GetEditable(self.this)
162 return val
163 def GetHorizScrollBar(self):
164 val = windows2c.wxGrid_GetHorizScrollBar(self.this)
165 val = wxScrollBarPtr(val)
166 return val
167 def GetLabelAlignment(self,arg0):
168 val = windows2c.wxGrid_GetLabelAlignment(self.this,arg0)
169 return val
170 def GetLabelBackgroundColour(self):
171 val = windows2c.wxGrid_GetLabelBackgroundColour(self.this)
172 val = wxColourPtr(val)
173 return val
174 def GetLabelSize(self,arg0):
175 val = windows2c.wxGrid_GetLabelSize(self.this,arg0)
176 return val
177 def GetLabelTextColour(self):
178 val = windows2c.wxGrid_GetLabelTextColour(self.this)
179 val = wxColourPtr(val)
180 return val
181 def GetLabelTextFont(self):
182 val = windows2c.wxGrid_GetLabelTextFont(self.this)
183 val = wxFontPtr(val)
184 return val
185 def GetLabelValue(self,arg0,arg1):
186 val = windows2c.wxGrid_GetLabelValue(self.this,arg0,arg1)
187 return val
188 def GetRowHeight(self,arg0):
189 val = windows2c.wxGrid_GetRowHeight(self.this,arg0)
190 return val
191 def GetRows(self):
192 val = windows2c.wxGrid_GetRows(self.this)
193 return val
194 def GetScrollPosX(self):
195 val = windows2c.wxGrid_GetScrollPosX(self.this)
196 return val
197 def GetScrollPosY(self):
198 val = windows2c.wxGrid_GetScrollPosY(self.this)
199 return val
200 def GetTextItem(self):
201 val = windows2c.wxGrid_GetTextItem(self.this)
202 val = wxTextCtrlPtr(val)
203 return val
204 def GetVertScrollBar(self):
205 val = windows2c.wxGrid_GetVertScrollBar(self.this)
206 val = wxScrollBarPtr(val)
207 return val
208 def InsertCols(self,*args):
209 val = apply(windows2c.wxGrid_InsertCols,(self.this,)+args)
210 return val
211 def InsertRows(self,*args):
212 val = apply(windows2c.wxGrid_InsertRows,(self.this,)+args)
213 return val
214 def SetCellAlignment(self,arg0,arg1,arg2):
215 val = windows2c.wxGrid_SetCellAlignment(self.this,arg0,arg1,arg2)
216 return val
217 def SetDefCellAlignment(self,arg0):
218 val = windows2c.wxGrid_SetDefCellAlignment(self.this,arg0)
219 return val
220 def SetCellBackgroundColour(self,arg0,arg1,arg2):
221 val = windows2c.wxGrid_SetCellBackgroundColour(self.this,arg0.this,arg1,arg2)
222 return val
223 def SetDefCellBackgroundColour(self,arg0):
224 val = windows2c.wxGrid_SetDefCellBackgroundColour(self.this,arg0.this)
225 return val
226 def SetCellTextColour(self,arg0,arg1,arg2):
227 val = windows2c.wxGrid_SetCellTextColour(self.this,arg0.this,arg1,arg2)
228 return val
229 def SetDefCellTextColour(self,arg0):
230 val = windows2c.wxGrid_SetDefCellTextColour(self.this,arg0.this)
231 return val
232 def SetCellTextFont(self,arg0,arg1,arg2):
233 val = windows2c.wxGrid_SetCellTextFont(self.this,arg0.this,arg1,arg2)
234 return val
235 def SetDefCellTextFont(self,arg0):
236 val = windows2c.wxGrid_SetDefCellTextFont(self.this,arg0.this)
237 return val
238 def SetCellValue(self,arg0,arg1,arg2):
239 val = windows2c.wxGrid_SetCellValue(self.this,arg0,arg1,arg2)
240 return val
241 def SetColumnWidth(self,arg0,arg1):
242 val = windows2c.wxGrid_SetColumnWidth(self.this,arg0,arg1)
243 return val
244 def SetDividerPen(self,arg0):
245 val = windows2c.wxGrid_SetDividerPen(self.this,arg0.this)
246 return val
247 def SetEditable(self,arg0):
248 val = windows2c.wxGrid_SetEditable(self.this,arg0)
249 return val
250 def SetGridCursor(self,arg0,arg1):
251 val = windows2c.wxGrid_SetGridCursor(self.this,arg0,arg1)
252 return val
253 def SetLabelAlignment(self,arg0,arg1):
254 val = windows2c.wxGrid_SetLabelAlignment(self.this,arg0,arg1)
255 return val
256 def SetLabelBackgroundColour(self,arg0):
257 val = windows2c.wxGrid_SetLabelBackgroundColour(self.this,arg0.this)
258 return val
259 def SetLabelSize(self,arg0,arg1):
260 val = windows2c.wxGrid_SetLabelSize(self.this,arg0,arg1)
261 return val
262 def SetLabelTextColour(self,arg0):
263 val = windows2c.wxGrid_SetLabelTextColour(self.this,arg0.this)
264 return val
265 def SetLabelTextFont(self,arg0):
266 val = windows2c.wxGrid_SetLabelTextFont(self.this,arg0.this)
267 return val
268 def SetLabelValue(self,arg0,arg1,arg2):
269 val = windows2c.wxGrid_SetLabelValue(self.this,arg0,arg1,arg2)
270 return val
271 def SetRowHeight(self,arg0,arg1):
272 val = windows2c.wxGrid_SetRowHeight(self.this,arg0,arg1)
273 return val
274 def UpdateDimensions(self):
275 val = windows2c.wxGrid_UpdateDimensions(self.this)
276 return val
277 def __repr__(self):
278 return "<C wxGrid instance>"
279class wxGrid(wxGridPtr):
280 def __init__(self,arg0,arg1,*args) :
281 argl = map(None,args)
282 try: argl[0] = argl[0].this
283 except: pass
284 try: argl[1] = argl[1].this
285 except: pass
286 args = tuple(argl)
287 self.this = apply(windows2c.new_wxGrid,(arg0.this,arg1,)+args)
288 self.thisown = 1
289
290
291
292
293class wxNotebookEventPtr(wxCommandEventPtr):
294 def __init__(self,this):
295 self.this = this
296 self.thisown = 0
297 def GetSelection(self):
298 val = windows2c.wxNotebookEvent_GetSelection(self.this)
299 return val
300 def GetOldSelection(self):
301 val = windows2c.wxNotebookEvent_GetOldSelection(self.this)
302 return val
303 def __repr__(self):
304 return "<C wxNotebookEvent instance>"
305class wxNotebookEvent(wxNotebookEventPtr):
306 def __init__(self,this):
307 self.this = this
308
309
310
311
312class wxNotebookPtr(wxControlPtr):
313 def __init__(self,this):
314 self.this = this
315 self.thisown = 0
316 def GetPageCount(self):
317 val = windows2c.wxNotebook_GetPageCount(self.this)
318 return val
319 def SetSelection(self,arg0):
320 val = windows2c.wxNotebook_SetSelection(self.this,arg0)
321 return val
322 def AdvanceSelection(self,*args):
323 val = apply(windows2c.wxNotebook_AdvanceSelection,(self.this,)+args)
324 return val
325 def GetSelection(self):
326 val = windows2c.wxNotebook_GetSelection(self.this)
327 return val
328 def SetPageText(self,arg0,arg1):
329 val = windows2c.wxNotebook_SetPageText(self.this,arg0,arg1)
330 return val
331 def GetPageText(self,arg0):
332 val = windows2c.wxNotebook_GetPageText(self.this,arg0)
333 return val
334 def SetImageList(self,arg0):
335 val = windows2c.wxNotebook_SetImageList(self.this,arg0)
336 return val
337 def GetImageList(self):
338 val = windows2c.wxNotebook_GetImageList(self.this)
339 return val
340 def GetPageImage(self,arg0):
341 val = windows2c.wxNotebook_GetPageImage(self.this,arg0)
342 return val
343 def SetPageImage(self,arg0,arg1):
344 val = windows2c.wxNotebook_SetPageImage(self.this,arg0,arg1)
345 return val
346 def GetRowCount(self):
347 val = windows2c.wxNotebook_GetRowCount(self.this)
348 return val
349 def DeletePage(self,arg0):
350 val = windows2c.wxNotebook_DeletePage(self.this,arg0)
351 return val
352 def DeleteAllPages(self):
353 val = windows2c.wxNotebook_DeleteAllPages(self.this)
354 return val
355 def AddPage(self,arg0,arg1,*args):
356 val = apply(windows2c.wxNotebook_AddPage,(self.this,arg0.this,arg1,)+args)
357 return val
358 def InsertPage(self,arg0,arg1,arg2,*args):
359 val = apply(windows2c.wxNotebook_InsertPage,(self.this,arg0,arg1.this,arg2,)+args)
360 return val
361 def GetPage(self,arg0):
362 val = windows2c.wxNotebook_GetPage(self.this,arg0)
363 return val
364 def __repr__(self):
365 return "<C wxNotebook instance>"
366class wxNotebook(wxNotebookPtr):
367 def __init__(self,arg0,arg1,*args) :
368 argl = map(None,args)
369 try: argl[0] = argl[0].this
370 except: pass
371 try: argl[1] = argl[1].this
372 except: pass
373 args = tuple(argl)
374 self.this = apply(windows2c.new_wxNotebook,(arg0.this,arg1,)+args)
375 self.thisown = 1
376
377
378
379
380
381
382#-------------- FUNCTION WRAPPERS ------------------
383
384
385
386#-------------- VARIABLE WRAPPERS ------------------
387
388wxGRID_TEXT_CTRL = windows2c.wxGRID_TEXT_CTRL
389wxGRID_HSCROLL = windows2c.wxGRID_HSCROLL
390wxGRID_VSCROLL = windows2c.wxGRID_VSCROLL