]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/windows2.py
added functions to read/write several elements at once (patch 754986)
[wxWidgets.git] / wxPython / src / gtk / windows2.py
CommitLineData
8ab979d7
RD
1# This file was created automatically by SWIG.
2import windows2c
3
4from misc import *
5
6from gdi import *
7
a323d3bd
RD
8from fonts import *
9
8ab979d7
RD
10from windows import *
11
b1462dfa
RD
12from clip_dnd import *
13
8ab979d7
RD
14from controls import *
15
16from events import *
b8b8dda7 17import wx
bb0054cd 18class wxNotebookEventPtr(wxNotifyEventPtr):
8ab979d7
RD
19 def __init__(self,this):
20 self.this = this
21 self.thisown = 0
1d99702e 22 def GetSelection(self, *_args, **_kwargs):
1fded56b 23 val = windows2c.wxNotebookEvent_GetSelection(self, *_args, **_kwargs)
8ab979d7 24 return val
1d99702e 25 def GetOldSelection(self, *_args, **_kwargs):
1fded56b 26 val = windows2c.wxNotebookEvent_GetOldSelection(self, *_args, **_kwargs)
8ab979d7 27 return val
1d99702e 28 def SetOldSelection(self, *_args, **_kwargs):
1fded56b 29 val = windows2c.wxNotebookEvent_SetOldSelection(self, *_args, **_kwargs)
bb0054cd 30 return val
1d99702e 31 def SetSelection(self, *_args, **_kwargs):
1fded56b 32 val = windows2c.wxNotebookEvent_SetSelection(self, *_args, **_kwargs)
bb0054cd 33 return val
8ab979d7 34 def __repr__(self):
1fded56b 35 return "<%s.%s instance; proxy of C++ wxNotebookEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
8ab979d7 36class wxNotebookEvent(wxNotebookEventPtr):
aa2a5b86 37 def __init__(self,*_args,**_kwargs):
1fded56b 38 self.this = windows2c.new_wxNotebookEvent(*_args,**_kwargs)
aa2a5b86 39 self.thisown = 1
8ab979d7
RD
40
41
42
43
44class wxNotebookPtr(wxControlPtr):
45 def __init__(self,this):
46 self.this = this
47 self.thisown = 0
aa2a5b86 48 def Create(self, *_args, **_kwargs):
1fded56b 49 val = windows2c.wxNotebook_Create(self, *_args, **_kwargs)
aa2a5b86 50 return val
1d99702e 51 def GetPageCount(self, *_args, **_kwargs):
1fded56b 52 val = windows2c.wxNotebook_GetPageCount(self, *_args, **_kwargs)
8ab979d7 53 return val
1d99702e 54 def SetSelection(self, *_args, **_kwargs):
1fded56b 55 val = windows2c.wxNotebook_SetSelection(self, *_args, **_kwargs)
8ab979d7 56 return val
1d99702e 57 def AdvanceSelection(self, *_args, **_kwargs):
1fded56b 58 val = windows2c.wxNotebook_AdvanceSelection(self, *_args, **_kwargs)
8ab979d7 59 return val
1d99702e 60 def GetSelection(self, *_args, **_kwargs):
1fded56b 61 val = windows2c.wxNotebook_GetSelection(self, *_args, **_kwargs)
8ab979d7 62 return val
1d99702e 63 def SetPageText(self, *_args, **_kwargs):
1fded56b 64 val = windows2c.wxNotebook_SetPageText(self, *_args, **_kwargs)
8ab979d7 65 return val
1d99702e 66 def GetPageText(self, *_args, **_kwargs):
1fded56b 67 val = windows2c.wxNotebook_GetPageText(self, *_args, **_kwargs)
8ab979d7 68 return val
1d99702e 69 def SetImageList(self, *_args, **_kwargs):
1fded56b 70 val = windows2c.wxNotebook_SetImageList(self, *_args, **_kwargs)
8ab979d7 71 return val
059a841c 72 def AssignImageList(self, *_args, **_kwargs):
1fded56b 73 val = windows2c.wxNotebook_AssignImageList(self, *_args, **_kwargs)
059a841c
RD
74 _args[0].thisown = 0
75 return val
1d99702e 76 def GetImageList(self, *_args, **_kwargs):
1fded56b 77 val = windows2c.wxNotebook_GetImageList(self, *_args, **_kwargs)
8ab979d7 78 return val
1d99702e 79 def GetPageImage(self, *_args, **_kwargs):
1fded56b 80 val = windows2c.wxNotebook_GetPageImage(self, *_args, **_kwargs)
8ab979d7 81 return val
1d99702e 82 def SetPageImage(self, *_args, **_kwargs):
1fded56b 83 val = windows2c.wxNotebook_SetPageImage(self, *_args, **_kwargs)
8ab979d7 84 return val
1d99702e 85 def GetRowCount(self, *_args, **_kwargs):
1fded56b 86 val = windows2c.wxNotebook_GetRowCount(self, *_args, **_kwargs)
8ab979d7 87 return val
c368d904 88 def SetPageSize(self, *_args, **_kwargs):
1fded56b 89 val = windows2c.wxNotebook_SetPageSize(self, *_args, **_kwargs)
c368d904
RD
90 return val
91 def SetPadding(self, *_args, **_kwargs):
1fded56b 92 val = windows2c.wxNotebook_SetPadding(self, *_args, **_kwargs)
c368d904 93 return val
1d99702e 94 def DeletePage(self, *_args, **_kwargs):
1fded56b 95 val = windows2c.wxNotebook_DeletePage(self, *_args, **_kwargs)
8ab979d7 96 return val
1d99702e 97 def RemovePage(self, *_args, **_kwargs):
1fded56b 98 val = windows2c.wxNotebook_RemovePage(self, *_args, **_kwargs)
cf694132 99 return val
1d99702e 100 def DeleteAllPages(self, *_args, **_kwargs):
1fded56b 101 val = windows2c.wxNotebook_DeleteAllPages(self, *_args, **_kwargs)
8ab979d7 102 return val
1d99702e 103 def AddPage(self, *_args, **_kwargs):
1fded56b 104 val = windows2c.wxNotebook_AddPage(self, *_args, **_kwargs)
8ab979d7 105 return val
c368d904 106 def InsertPage(self, *_args, **_kwargs):
1fded56b 107 val = windows2c.wxNotebook_InsertPage(self, *_args, **_kwargs)
c368d904 108 return val
1d99702e 109 def GetPage(self, *_args, **_kwargs):
1fded56b 110 val = windows2c.wxNotebook_GetPage(self, *_args, **_kwargs)
8ab979d7 111 return val
1d99702e 112 def ResizeChildren(self, *_args, **_kwargs):
1fded56b 113 val = windows2c.wxNotebook_ResizeChildren(self, *_args, **_kwargs)
cf694132 114 return val
8ab979d7 115 def __repr__(self):
1fded56b 116 return "<%s.%s instance; proxy of C++ wxNotebook instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
8ab979d7 117class wxNotebook(wxNotebookPtr):
1d99702e 118 def __init__(self,*_args,**_kwargs):
1fded56b 119 self.this = windows2c.new_wxNotebook(*_args,**_kwargs)
8ab979d7 120 self.thisown = 1
0220cbc1 121 self._setOORInfo(self)
9c039d08
RD
122
123
124
aa2a5b86 125def wxPreNotebook(*_args,**_kwargs):
1fded56b 126 val = wxNotebookPtr(windows2c.new_wxPreNotebook(*_args,**_kwargs))
aa2a5b86 127 val.thisown = 1
17c0e08c 128 val._setOORInfo(val)
aa2a5b86
RD
129 return val
130
9c039d08 131
298ae144 132class wxSplitterEventPtr(wxNotifyEventPtr):
bb0054cd
RD
133 def __init__(self,this):
134 self.this = this
135 self.thisown = 0
1d99702e 136 def GetSashPosition(self, *_args, **_kwargs):
1fded56b 137 val = windows2c.wxSplitterEvent_GetSashPosition(self, *_args, **_kwargs)
bb0054cd 138 return val
1d99702e 139 def GetX(self, *_args, **_kwargs):
1fded56b 140 val = windows2c.wxSplitterEvent_GetX(self, *_args, **_kwargs)
bb0054cd 141 return val
1d99702e 142 def GetY(self, *_args, **_kwargs):
1fded56b 143 val = windows2c.wxSplitterEvent_GetY(self, *_args, **_kwargs)
bb0054cd 144 return val
1d99702e 145 def GetWindowBeingRemoved(self, *_args, **_kwargs):
1fded56b 146 val = windows2c.wxSplitterEvent_GetWindowBeingRemoved(self, *_args, **_kwargs)
bb0054cd 147 return val
1d99702e 148 def SetSashPosition(self, *_args, **_kwargs):
1fded56b 149 val = windows2c.wxSplitterEvent_SetSashPosition(self, *_args, **_kwargs)
bb0054cd
RD
150 return val
151 def __repr__(self):
1fded56b 152 return "<%s.%s instance; proxy of C++ wxSplitterEvent instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
bb0054cd 153class wxSplitterEvent(wxSplitterEventPtr):
aa2a5b86 154 def __init__(self,*_args,**_kwargs):
1fded56b 155 self.this = windows2c.new_wxSplitterEvent(*_args,**_kwargs)
aa2a5b86 156 self.thisown = 1
bb0054cd
RD
157
158
159
160
9c039d08
RD
161class wxSplitterWindowPtr(wxWindowPtr):
162 def __init__(self,this):
163 self.this = this
164 self.thisown = 0
aa2a5b86 165 def Create(self, *_args, **_kwargs):
1fded56b 166 val = windows2c.wxSplitterWindow_Create(self, *_args, **_kwargs)
9c039d08 167 return val
1d99702e 168 def GetWindow1(self, *_args, **_kwargs):
1fded56b 169 val = windows2c.wxSplitterWindow_GetWindow1(self, *_args, **_kwargs)
9c039d08 170 return val
1d99702e 171 def GetWindow2(self, *_args, **_kwargs):
1fded56b 172 val = windows2c.wxSplitterWindow_GetWindow2(self, *_args, **_kwargs)
9c039d08 173 return val
aa2a5b86 174 def SetSplitMode(self, *_args, **_kwargs):
1fded56b 175 val = windows2c.wxSplitterWindow_SetSplitMode(self, *_args, **_kwargs)
aa2a5b86
RD
176 return val
177 def GetSplitMode(self, *_args, **_kwargs):
1fded56b 178 val = windows2c.wxSplitterWindow_GetSplitMode(self, *_args, **_kwargs)
aa2a5b86 179 return val
1d99702e 180 def Initialize(self, *_args, **_kwargs):
1fded56b 181 val = windows2c.wxSplitterWindow_Initialize(self, *_args, **_kwargs)
9c039d08 182 return val
aa2a5b86 183 def SplitVertically(self, *_args, **_kwargs):
1fded56b 184 val = windows2c.wxSplitterWindow_SplitVertically(self, *_args, **_kwargs)
aa2a5b86
RD
185 return val
186 def SplitHorizontally(self, *_args, **_kwargs):
1fded56b 187 val = windows2c.wxSplitterWindow_SplitHorizontally(self, *_args, **_kwargs)
aa2a5b86
RD
188 return val
189 def Unsplit(self, *_args, **_kwargs):
1fded56b 190 val = windows2c.wxSplitterWindow_Unsplit(self, *_args, **_kwargs)
9c039d08 191 return val
9d8bd15f 192 def ReplaceWindow(self, *_args, **_kwargs):
1fded56b 193 val = windows2c.wxSplitterWindow_ReplaceWindow(self, *_args, **_kwargs)
9d8bd15f 194 return val
aa2a5b86 195 def IsSplit(self, *_args, **_kwargs):
1fded56b 196 val = windows2c.wxSplitterWindow_IsSplit(self, *_args, **_kwargs)
aa2a5b86
RD
197 return val
198 def SetSashSize(self, *_args, **_kwargs):
1fded56b 199 val = windows2c.wxSplitterWindow_SetSashSize(self, *_args, **_kwargs)
aa2a5b86 200 return val
1d99702e 201 def SetBorderSize(self, *_args, **_kwargs):
1fded56b 202 val = windows2c.wxSplitterWindow_SetBorderSize(self, *_args, **_kwargs)
b639c3c5 203 return val
aa2a5b86 204 def GetSashSize(self, *_args, **_kwargs):
1fded56b 205 val = windows2c.wxSplitterWindow_GetSashSize(self, *_args, **_kwargs)
aa2a5b86
RD
206 return val
207 def GetBorderSize(self, *_args, **_kwargs):
1fded56b 208 val = windows2c.wxSplitterWindow_GetBorderSize(self, *_args, **_kwargs)
aa2a5b86 209 return val
1d99702e 210 def SetSashPosition(self, *_args, **_kwargs):
1fded56b 211 val = windows2c.wxSplitterWindow_SetSashPosition(self, *_args, **_kwargs)
9c039d08 212 return val
aa2a5b86 213 def GetSashPosition(self, *_args, **_kwargs):
1fded56b 214 val = windows2c.wxSplitterWindow_GetSashPosition(self, *_args, **_kwargs)
b639c3c5 215 return val
1d99702e 216 def SetMinimumPaneSize(self, *_args, **_kwargs):
1fded56b 217 val = windows2c.wxSplitterWindow_SetMinimumPaneSize(self, *_args, **_kwargs)
9c039d08 218 return val
aa2a5b86 219 def GetMinimumPaneSize(self, *_args, **_kwargs):
1fded56b 220 val = windows2c.wxSplitterWindow_GetMinimumPaneSize(self, *_args, **_kwargs)
9c039d08 221 return val
8381e4cd 222 def SizeWindows(self, *_args, **_kwargs):
1fded56b 223 val = windows2c.wxSplitterWindow_SizeWindows(self, *_args, **_kwargs)
8381e4cd
RD
224 return val
225 def SetNeedUpdating(self, *_args, **_kwargs):
1fded56b 226 val = windows2c.wxSplitterWindow_SetNeedUpdating(self, *_args, **_kwargs)
8381e4cd
RD
227 return val
228 def GetNeedUpdating(self, *_args, **_kwargs):
1fded56b 229 val = windows2c.wxSplitterWindow_GetNeedUpdating(self, *_args, **_kwargs)
8381e4cd 230 return val
9c039d08 231 def __repr__(self):
1fded56b 232 return "<%s.%s instance; proxy of C++ wxSplitterWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
9c039d08 233class wxSplitterWindow(wxSplitterWindowPtr):
1d99702e 234 def __init__(self,*_args,**_kwargs):
1fded56b 235 self.this = windows2c.new_wxSplitterWindow(*_args,**_kwargs)
9c039d08 236 self.thisown = 1
0220cbc1 237 self._setOORInfo(self)
b639c3c5
RD
238
239
240
aa2a5b86 241def wxPreSplitterWindow(*_args,**_kwargs):
1fded56b 242 val = wxSplitterWindowPtr(windows2c.new_wxPreSplitterWindow(*_args,**_kwargs))
aa2a5b86 243 val.thisown = 1
17c0e08c 244 val._setOORInfo(val)
aa2a5b86
RD
245 return val
246
b639c3c5 247
c8c000ef
RD
248class wxPyWindowPtr(wxWindowPtr):
249 def __init__(self,this):
250 self.this = this
251 self.thisown = 0
252 def _setCallbackInfo(self, *_args, **_kwargs):
1fded56b 253 val = windows2c.wxPyWindow__setCallbackInfo(self, *_args, **_kwargs)
c8c000ef
RD
254 return val
255 def base_DoMoveWindow(self, *_args, **_kwargs):
1fded56b 256 val = windows2c.wxPyWindow_base_DoMoveWindow(self, *_args, **_kwargs)
c8c000ef
RD
257 return val
258 def base_DoSetSize(self, *_args, **_kwargs):
1fded56b 259 val = windows2c.wxPyWindow_base_DoSetSize(self, *_args, **_kwargs)
c8c000ef
RD
260 return val
261 def base_DoSetClientSize(self, *_args, **_kwargs):
1fded56b 262 val = windows2c.wxPyWindow_base_DoSetClientSize(self, *_args, **_kwargs)
c8c000ef
RD
263 return val
264 def base_DoSetVirtualSize(self, *_args, **_kwargs):
1fded56b 265 val = windows2c.wxPyWindow_base_DoSetVirtualSize(self, *_args, **_kwargs)
c8c000ef
RD
266 return val
267 def base_DoGetSize(self, *_args, **_kwargs):
1fded56b 268 val = windows2c.wxPyWindow_base_DoGetSize(self, *_args, **_kwargs)
c8c000ef
RD
269 return val
270 def base_DoGetClientSize(self, *_args, **_kwargs):
1fded56b 271 val = windows2c.wxPyWindow_base_DoGetClientSize(self, *_args, **_kwargs)
c8c000ef
RD
272 return val
273 def base_DoGetPosition(self, *_args, **_kwargs):
1fded56b 274 val = windows2c.wxPyWindow_base_DoGetPosition(self, *_args, **_kwargs)
c8c000ef
RD
275 return val
276 def base_DoGetVirtualSize(self, *_args, **_kwargs):
1fded56b 277 val = windows2c.wxPyWindow_base_DoGetVirtualSize(self, *_args, **_kwargs)
c8c000ef
RD
278 if val: val = wxSizePtr(val) ; val.thisown = 1
279 return val
280 def base_DoGetBestSize(self, *_args, **_kwargs):
1fded56b 281 val = windows2c.wxPyWindow_base_DoGetBestSize(self, *_args, **_kwargs)
c8c000ef
RD
282 if val: val = wxSizePtr(val) ; val.thisown = 1
283 return val
284 def base_InitDialog(self, *_args, **_kwargs):
1fded56b 285 val = windows2c.wxPyWindow_base_InitDialog(self, *_args, **_kwargs)
c8c000ef
RD
286 return val
287 def base_TransferDataToWindow(self, *_args, **_kwargs):
1fded56b 288 val = windows2c.wxPyWindow_base_TransferDataToWindow(self, *_args, **_kwargs)
c8c000ef
RD
289 return val
290 def base_TransferDataFromWindow(self, *_args, **_kwargs):
1fded56b 291 val = windows2c.wxPyWindow_base_TransferDataFromWindow(self, *_args, **_kwargs)
c8c000ef
RD
292 return val
293 def base_Validate(self, *_args, **_kwargs):
1fded56b 294 val = windows2c.wxPyWindow_base_Validate(self, *_args, **_kwargs)
c8c000ef
RD
295 return val
296 def base_AcceptsFocus(self, *_args, **_kwargs):
1fded56b 297 val = windows2c.wxPyWindow_base_AcceptsFocus(self, *_args, **_kwargs)
c8c000ef
RD
298 return val
299 def base_AcceptsFocusFromKeyboard(self, *_args, **_kwargs):
1fded56b 300 val = windows2c.wxPyWindow_base_AcceptsFocusFromKeyboard(self, *_args, **_kwargs)
c8c000ef
RD
301 return val
302 def base_GetMaxSize(self, *_args, **_kwargs):
1fded56b 303 val = windows2c.wxPyWindow_base_GetMaxSize(self, *_args, **_kwargs)
c8c000ef
RD
304 if val: val = wxSizePtr(val) ; val.thisown = 1
305 return val
57ee4c3b 306 def base_AddChild(self, *_args, **_kwargs):
1fded56b 307 val = windows2c.wxPyWindow_base_AddChild(self, *_args, **_kwargs)
57ee4c3b
RD
308 return val
309 def base_RemoveChild(self, *_args, **_kwargs):
1fded56b 310 val = windows2c.wxPyWindow_base_RemoveChild(self, *_args, **_kwargs)
57ee4c3b 311 return val
c8c000ef 312 def __repr__(self):
1fded56b 313 return "<%s.%s instance; proxy of C++ wxPyWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
c8c000ef
RD
314class wxPyWindow(wxPyWindowPtr):
315 def __init__(self,*_args,**_kwargs):
1fded56b 316 self.this = windows2c.new_wxPyWindow(*_args,**_kwargs)
c8c000ef
RD
317 self.thisown = 1
318 self._setCallbackInfo(self, wxPyWindow)
319 self._setOORInfo(self)
320
321
322
323
324class wxPyControlPtr(wxControlPtr):
325 def __init__(self,this):
326 self.this = this
327 self.thisown = 0
328 def _setCallbackInfo(self, *_args, **_kwargs):
1fded56b 329 val = windows2c.wxPyControl__setCallbackInfo(self, *_args, **_kwargs)
c8c000ef
RD
330 return val
331 def base_DoMoveWindow(self, *_args, **_kwargs):
1fded56b 332 val = windows2c.wxPyControl_base_DoMoveWindow(self, *_args, **_kwargs)
c8c000ef
RD
333 return val
334 def base_DoSetSize(self, *_args, **_kwargs):
1fded56b 335 val = windows2c.wxPyControl_base_DoSetSize(self, *_args, **_kwargs)
c8c000ef
RD
336 return val
337 def base_DoSetClientSize(self, *_args, **_kwargs):
1fded56b 338 val = windows2c.wxPyControl_base_DoSetClientSize(self, *_args, **_kwargs)
c8c000ef
RD
339 return val
340 def base_DoSetVirtualSize(self, *_args, **_kwargs):
1fded56b 341 val = windows2c.wxPyControl_base_DoSetVirtualSize(self, *_args, **_kwargs)
c8c000ef
RD
342 return val
343 def base_DoGetSize(self, *_args, **_kwargs):
1fded56b 344 val = windows2c.wxPyControl_base_DoGetSize(self, *_args, **_kwargs)
c8c000ef
RD
345 return val
346 def base_DoGetClientSize(self, *_args, **_kwargs):
1fded56b 347 val = windows2c.wxPyControl_base_DoGetClientSize(self, *_args, **_kwargs)
c8c000ef
RD
348 return val
349 def base_DoGetPosition(self, *_args, **_kwargs):
1fded56b 350 val = windows2c.wxPyControl_base_DoGetPosition(self, *_args, **_kwargs)
c8c000ef
RD
351 return val
352 def base_DoGetVirtualSize(self, *_args, **_kwargs):
1fded56b 353 val = windows2c.wxPyControl_base_DoGetVirtualSize(self, *_args, **_kwargs)
c8c000ef
RD
354 if val: val = wxSizePtr(val) ; val.thisown = 1
355 return val
356 def base_DoGetBestSize(self, *_args, **_kwargs):
1fded56b 357 val = windows2c.wxPyControl_base_DoGetBestSize(self, *_args, **_kwargs)
c8c000ef
RD
358 if val: val = wxSizePtr(val) ; val.thisown = 1
359 return val
360 def base_InitDialog(self, *_args, **_kwargs):
1fded56b 361 val = windows2c.wxPyControl_base_InitDialog(self, *_args, **_kwargs)
c8c000ef
RD
362 return val
363 def base_TransferDataToWindow(self, *_args, **_kwargs):
1fded56b 364 val = windows2c.wxPyControl_base_TransferDataToWindow(self, *_args, **_kwargs)
c8c000ef
RD
365 return val
366 def base_TransferDataFromWindow(self, *_args, **_kwargs):
1fded56b 367 val = windows2c.wxPyControl_base_TransferDataFromWindow(self, *_args, **_kwargs)
c8c000ef
RD
368 return val
369 def base_Validate(self, *_args, **_kwargs):
1fded56b 370 val = windows2c.wxPyControl_base_Validate(self, *_args, **_kwargs)
c8c000ef
RD
371 return val
372 def base_AcceptsFocus(self, *_args, **_kwargs):
1fded56b 373 val = windows2c.wxPyControl_base_AcceptsFocus(self, *_args, **_kwargs)
c8c000ef
RD
374 return val
375 def base_AcceptsFocusFromKeyboard(self, *_args, **_kwargs):
1fded56b 376 val = windows2c.wxPyControl_base_AcceptsFocusFromKeyboard(self, *_args, **_kwargs)
c8c000ef
RD
377 return val
378 def base_GetMaxSize(self, *_args, **_kwargs):
1fded56b 379 val = windows2c.wxPyControl_base_GetMaxSize(self, *_args, **_kwargs)
c8c000ef
RD
380 if val: val = wxSizePtr(val) ; val.thisown = 1
381 return val
57ee4c3b 382 def base_AddChild(self, *_args, **_kwargs):
1fded56b 383 val = windows2c.wxPyControl_base_AddChild(self, *_args, **_kwargs)
57ee4c3b
RD
384 return val
385 def base_RemoveChild(self, *_args, **_kwargs):
1fded56b 386 val = windows2c.wxPyControl_base_RemoveChild(self, *_args, **_kwargs)
57ee4c3b 387 return val
c8c000ef 388 def __repr__(self):
1fded56b 389 return "<%s.%s instance; proxy of C++ wxPyControl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
c8c000ef
RD
390class wxPyControl(wxPyControlPtr):
391 def __init__(self,*_args,**_kwargs):
1fded56b 392 self.this = windows2c.new_wxPyControl(*_args,**_kwargs)
c8c000ef
RD
393 self.thisown = 1
394 self._setCallbackInfo(self, wxPyControl)
395 self._setOORInfo(self)
396
397
398
399
7ba3ed2c
RD
400class wxPyPanelPtr(wxPanelPtr):
401 def __init__(self,this):
402 self.this = this
403 self.thisown = 0
404 def _setCallbackInfo(self, *_args, **_kwargs):
1fded56b 405 val = windows2c.wxPyPanel__setCallbackInfo(self, *_args, **_kwargs)
7ba3ed2c
RD
406 return val
407 def base_DoMoveWindow(self, *_args, **_kwargs):
1fded56b 408 val = windows2c.wxPyPanel_base_DoMoveWindow(self, *_args, **_kwargs)
7ba3ed2c
RD
409 return val
410 def base_DoSetSize(self, *_args, **_kwargs):
1fded56b 411 val = windows2c.wxPyPanel_base_DoSetSize(self, *_args, **_kwargs)
7ba3ed2c
RD
412 return val
413 def base_DoSetClientSize(self, *_args, **_kwargs):
1fded56b 414 val = windows2c.wxPyPanel_base_DoSetClientSize(self, *_args, **_kwargs)
7ba3ed2c
RD
415 return val
416 def base_DoSetVirtualSize(self, *_args, **_kwargs):
1fded56b 417 val = windows2c.wxPyPanel_base_DoSetVirtualSize(self, *_args, **_kwargs)
7ba3ed2c
RD
418 return val
419 def base_DoGetSize(self, *_args, **_kwargs):
1fded56b 420 val = windows2c.wxPyPanel_base_DoGetSize(self, *_args, **_kwargs)
7ba3ed2c
RD
421 return val
422 def base_DoGetClientSize(self, *_args, **_kwargs):
1fded56b 423 val = windows2c.wxPyPanel_base_DoGetClientSize(self, *_args, **_kwargs)
7ba3ed2c
RD
424 return val
425 def base_DoGetPosition(self, *_args, **_kwargs):
1fded56b 426 val = windows2c.wxPyPanel_base_DoGetPosition(self, *_args, **_kwargs)
7ba3ed2c
RD
427 return val
428 def base_DoGetVirtualSize(self, *_args, **_kwargs):
1fded56b 429 val = windows2c.wxPyPanel_base_DoGetVirtualSize(self, *_args, **_kwargs)
7ba3ed2c
RD
430 if val: val = wxSizePtr(val) ; val.thisown = 1
431 return val
432 def base_DoGetBestSize(self, *_args, **_kwargs):
1fded56b 433 val = windows2c.wxPyPanel_base_DoGetBestSize(self, *_args, **_kwargs)
7ba3ed2c
RD
434 if val: val = wxSizePtr(val) ; val.thisown = 1
435 return val
436 def base_InitDialog(self, *_args, **_kwargs):
1fded56b 437 val = windows2c.wxPyPanel_base_InitDialog(self, *_args, **_kwargs)
7ba3ed2c
RD
438 return val
439 def base_TransferDataToWindow(self, *_args, **_kwargs):
1fded56b 440 val = windows2c.wxPyPanel_base_TransferDataToWindow(self, *_args, **_kwargs)
7ba3ed2c
RD
441 return val
442 def base_TransferDataFromWindow(self, *_args, **_kwargs):
1fded56b 443 val = windows2c.wxPyPanel_base_TransferDataFromWindow(self, *_args, **_kwargs)
7ba3ed2c
RD
444 return val
445 def base_Validate(self, *_args, **_kwargs):
1fded56b 446 val = windows2c.wxPyPanel_base_Validate(self, *_args, **_kwargs)
7ba3ed2c
RD
447 return val
448 def base_AcceptsFocus(self, *_args, **_kwargs):
1fded56b 449 val = windows2c.wxPyPanel_base_AcceptsFocus(self, *_args, **_kwargs)
7ba3ed2c
RD
450 return val
451 def base_AcceptsFocusFromKeyboard(self, *_args, **_kwargs):
1fded56b 452 val = windows2c.wxPyPanel_base_AcceptsFocusFromKeyboard(self, *_args, **_kwargs)
7ba3ed2c
RD
453 return val
454 def base_GetMaxSize(self, *_args, **_kwargs):
1fded56b 455 val = windows2c.wxPyPanel_base_GetMaxSize(self, *_args, **_kwargs)
7ba3ed2c
RD
456 if val: val = wxSizePtr(val) ; val.thisown = 1
457 return val
57ee4c3b 458 def base_AddChild(self, *_args, **_kwargs):
1fded56b 459 val = windows2c.wxPyPanel_base_AddChild(self, *_args, **_kwargs)
57ee4c3b
RD
460 return val
461 def base_RemoveChild(self, *_args, **_kwargs):
1fded56b 462 val = windows2c.wxPyPanel_base_RemoveChild(self, *_args, **_kwargs)
57ee4c3b 463 return val
7ba3ed2c 464 def __repr__(self):
1fded56b 465 return "<%s.%s instance; proxy of C++ wxPyPanel instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
7ba3ed2c
RD
466class wxPyPanel(wxPyPanelPtr):
467 def __init__(self,*_args,**_kwargs):
1fded56b 468 self.this = windows2c.new_wxPyPanel(*_args,**_kwargs)
7ba3ed2c
RD
469 self.thisown = 1
470 self._setCallbackInfo(self, wxPyPanel)
471 self._setOORInfo(self)
472
473
474
475
8ab979d7
RD
476
477
478#-------------- FUNCTION WRAPPERS ------------------
479
480
481
482#-------------- VARIABLE WRAPPERS ------------------
483
9c4165ad
RD
484wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED = windows2c.wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
485wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING = windows2c.wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
486wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING = windows2c.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
487wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED = windows2c.wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
488wxEVT_COMMAND_SPLITTER_UNSPLIT = windows2c.wxEVT_COMMAND_SPLITTER_UNSPLIT
489wxEVT_COMMAND_SPLITTER_DOUBLECLICKED = windows2c.wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
f6bcfd97
BP
490wxSPLIT_HORIZONTAL = windows2c.wxSPLIT_HORIZONTAL
491wxSPLIT_VERTICAL = windows2c.wxSPLIT_VERTICAL
492wxSPLIT_DRAG_NONE = windows2c.wxSPLIT_DRAG_NONE
493wxSPLIT_DRAG_DRAGGING = windows2c.wxSPLIT_DRAG_DRAGGING
494wxSPLIT_DRAG_LEFT_DOWN = windows2c.wxSPLIT_DRAG_LEFT_DOWN