1 # This file was created automatically by SWIG.
12 from clip_dnd
import *
14 from windows2
import *
16 from controls
import *
24 from stattool
import *
26 class wxSashEventPtr(wxCommandEventPtr
):
27 def __init__(self
,this
):
30 def SetEdge(self
, *_args
, **_kwargs
):
31 val
= windows3c
.wxSashEvent_SetEdge(self
, *_args
, **_kwargs
)
33 def GetEdge(self
, *_args
, **_kwargs
):
34 val
= windows3c
.wxSashEvent_GetEdge(self
, *_args
, **_kwargs
)
36 def SetDragRect(self
, *_args
, **_kwargs
):
37 val
= windows3c
.wxSashEvent_SetDragRect(self
, *_args
, **_kwargs
)
39 def GetDragRect(self
, *_args
, **_kwargs
):
40 val
= windows3c
.wxSashEvent_GetDragRect(self
, *_args
, **_kwargs
)
41 if val
: val
= wxRectPtr(val
) ; val
.thisown
= 1
43 def SetDragStatus(self
, *_args
, **_kwargs
):
44 val
= windows3c
.wxSashEvent_SetDragStatus(self
, *_args
, **_kwargs
)
46 def GetDragStatus(self
, *_args
, **_kwargs
):
47 val
= windows3c
.wxSashEvent_GetDragStatus(self
, *_args
, **_kwargs
)
50 return "<%s.%s instance; proxy of C++ wxSashEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
51 class wxSashEvent(wxSashEventPtr
):
52 def __init__(self
,*_args
,**_kwargs
):
53 self
.this
= windows3c
.new_wxSashEvent(*_args
,**_kwargs
)
59 class wxSashWindowPtr(wxWindowPtr
):
60 def __init__(self
,this
):
63 def Create(self
, *_args
, **_kwargs
):
64 val
= windows3c
.wxSashWindow_Create(self
, *_args
, **_kwargs
)
66 def GetSashVisible(self
, *_args
, **_kwargs
):
67 val
= windows3c
.wxSashWindow_GetSashVisible(self
, *_args
, **_kwargs
)
69 def GetDefaultBorderSize(self
, *_args
, **_kwargs
):
70 val
= windows3c
.wxSashWindow_GetDefaultBorderSize(self
, *_args
, **_kwargs
)
72 def GetEdgeMargin(self
, *_args
, **_kwargs
):
73 val
= windows3c
.wxSashWindow_GetEdgeMargin(self
, *_args
, **_kwargs
)
75 def GetExtraBorderSize(self
, *_args
, **_kwargs
):
76 val
= windows3c
.wxSashWindow_GetExtraBorderSize(self
, *_args
, **_kwargs
)
78 def GetMaximumSizeX(self
, *_args
, **_kwargs
):
79 val
= windows3c
.wxSashWindow_GetMaximumSizeX(self
, *_args
, **_kwargs
)
81 def GetMaximumSizeY(self
, *_args
, **_kwargs
):
82 val
= windows3c
.wxSashWindow_GetMaximumSizeY(self
, *_args
, **_kwargs
)
84 def GetMinimumSizeX(self
, *_args
, **_kwargs
):
85 val
= windows3c
.wxSashWindow_GetMinimumSizeX(self
, *_args
, **_kwargs
)
87 def GetMinimumSizeY(self
, *_args
, **_kwargs
):
88 val
= windows3c
.wxSashWindow_GetMinimumSizeY(self
, *_args
, **_kwargs
)
90 def HasBorder(self
, *_args
, **_kwargs
):
91 val
= windows3c
.wxSashWindow_HasBorder(self
, *_args
, **_kwargs
)
93 def SetDefaultBorderSize(self
, *_args
, **_kwargs
):
94 val
= windows3c
.wxSashWindow_SetDefaultBorderSize(self
, *_args
, **_kwargs
)
96 def SetExtraBorderSize(self
, *_args
, **_kwargs
):
97 val
= windows3c
.wxSashWindow_SetExtraBorderSize(self
, *_args
, **_kwargs
)
99 def SetMaximumSizeX(self
, *_args
, **_kwargs
):
100 val
= windows3c
.wxSashWindow_SetMaximumSizeX(self
, *_args
, **_kwargs
)
102 def SetMaximumSizeY(self
, *_args
, **_kwargs
):
103 val
= windows3c
.wxSashWindow_SetMaximumSizeY(self
, *_args
, **_kwargs
)
105 def SetMinimumSizeX(self
, *_args
, **_kwargs
):
106 val
= windows3c
.wxSashWindow_SetMinimumSizeX(self
, *_args
, **_kwargs
)
108 def SetMinimumSizeY(self
, *_args
, **_kwargs
):
109 val
= windows3c
.wxSashWindow_SetMinimumSizeY(self
, *_args
, **_kwargs
)
111 def SetSashVisible(self
, *_args
, **_kwargs
):
112 val
= windows3c
.wxSashWindow_SetSashVisible(self
, *_args
, **_kwargs
)
114 def SetSashBorder(self
, *_args
, **_kwargs
):
115 val
= windows3c
.wxSashWindow_SetSashBorder(self
, *_args
, **_kwargs
)
118 return "<%s.%s instance; proxy of C++ wxSashWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
119 class wxSashWindow(wxSashWindowPtr
):
120 def __init__(self
,*_args
,**_kwargs
):
121 self
.this
= windows3c
.new_wxSashWindow(*_args
,**_kwargs
)
123 self
._setOORInfo
(self
)
127 def wxPreSashWindow(*_args
,**_kwargs
):
128 val
= wxSashWindowPtr(windows3c
.new_wxPreSashWindow(*_args
,**_kwargs
))
134 class wxQueryLayoutInfoEventPtr(wxEventPtr
):
135 def __init__(self
,this
):
138 def SetRequestedLength(self
, *_args
, **_kwargs
):
139 val
= windows3c
.wxQueryLayoutInfoEvent_SetRequestedLength(self
, *_args
, **_kwargs
)
141 def GetRequestedLength(self
, *_args
, **_kwargs
):
142 val
= windows3c
.wxQueryLayoutInfoEvent_GetRequestedLength(self
, *_args
, **_kwargs
)
144 def SetFlags(self
, *_args
, **_kwargs
):
145 val
= windows3c
.wxQueryLayoutInfoEvent_SetFlags(self
, *_args
, **_kwargs
)
147 def GetFlags(self
, *_args
, **_kwargs
):
148 val
= windows3c
.wxQueryLayoutInfoEvent_GetFlags(self
, *_args
, **_kwargs
)
150 def SetSize(self
, *_args
, **_kwargs
):
151 val
= windows3c
.wxQueryLayoutInfoEvent_SetSize(self
, *_args
, **_kwargs
)
153 def GetSize(self
, *_args
, **_kwargs
):
154 val
= windows3c
.wxQueryLayoutInfoEvent_GetSize(self
, *_args
, **_kwargs
)
155 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
157 def SetOrientation(self
, *_args
, **_kwargs
):
158 val
= windows3c
.wxQueryLayoutInfoEvent_SetOrientation(self
, *_args
, **_kwargs
)
160 def GetOrientation(self
, *_args
, **_kwargs
):
161 val
= windows3c
.wxQueryLayoutInfoEvent_GetOrientation(self
, *_args
, **_kwargs
)
163 def SetAlignment(self
, *_args
, **_kwargs
):
164 val
= windows3c
.wxQueryLayoutInfoEvent_SetAlignment(self
, *_args
, **_kwargs
)
166 def GetAlignment(self
, *_args
, **_kwargs
):
167 val
= windows3c
.wxQueryLayoutInfoEvent_GetAlignment(self
, *_args
, **_kwargs
)
170 return "<%s.%s instance; proxy of C++ wxQueryLayoutInfoEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
171 class wxQueryLayoutInfoEvent(wxQueryLayoutInfoEventPtr
):
172 def __init__(self
,*_args
,**_kwargs
):
173 self
.this
= windows3c
.new_wxQueryLayoutInfoEvent(*_args
,**_kwargs
)
179 class wxCalculateLayoutEventPtr(wxEventPtr
):
180 def __init__(self
,this
):
183 def SetFlags(self
, *_args
, **_kwargs
):
184 val
= windows3c
.wxCalculateLayoutEvent_SetFlags(self
, *_args
, **_kwargs
)
186 def GetFlags(self
, *_args
, **_kwargs
):
187 val
= windows3c
.wxCalculateLayoutEvent_GetFlags(self
, *_args
, **_kwargs
)
189 def SetRect(self
, *_args
, **_kwargs
):
190 val
= windows3c
.wxCalculateLayoutEvent_SetRect(self
, *_args
, **_kwargs
)
192 def GetRect(self
, *_args
, **_kwargs
):
193 val
= windows3c
.wxCalculateLayoutEvent_GetRect(self
, *_args
, **_kwargs
)
194 if val
: val
= wxRectPtr(val
) ; val
.thisown
= 1
197 return "<%s.%s instance; proxy of C++ wxCalculateLayoutEvent instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
198 class wxCalculateLayoutEvent(wxCalculateLayoutEventPtr
):
199 def __init__(self
,*_args
,**_kwargs
):
200 self
.this
= windows3c
.new_wxCalculateLayoutEvent(*_args
,**_kwargs
)
206 class wxSashLayoutWindowPtr(wxSashWindowPtr
):
207 def __init__(self
,this
):
210 def Create(self
, *_args
, **_kwargs
):
211 val
= windows3c
.wxSashLayoutWindow_Create(self
, *_args
, **_kwargs
)
213 def GetAlignment(self
, *_args
, **_kwargs
):
214 val
= windows3c
.wxSashLayoutWindow_GetAlignment(self
, *_args
, **_kwargs
)
216 def GetOrientation(self
, *_args
, **_kwargs
):
217 val
= windows3c
.wxSashLayoutWindow_GetOrientation(self
, *_args
, **_kwargs
)
219 def SetAlignment(self
, *_args
, **_kwargs
):
220 val
= windows3c
.wxSashLayoutWindow_SetAlignment(self
, *_args
, **_kwargs
)
222 def SetDefaultSize(self
, *_args
, **_kwargs
):
223 val
= windows3c
.wxSashLayoutWindow_SetDefaultSize(self
, *_args
, **_kwargs
)
225 def SetOrientation(self
, *_args
, **_kwargs
):
226 val
= windows3c
.wxSashLayoutWindow_SetOrientation(self
, *_args
, **_kwargs
)
229 return "<%s.%s instance; proxy of C++ wxSashLayoutWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
230 class wxSashLayoutWindow(wxSashLayoutWindowPtr
):
231 def __init__(self
,*_args
,**_kwargs
):
232 self
.this
= windows3c
.new_wxSashLayoutWindow(*_args
,**_kwargs
)
234 self
._setOORInfo
(self
)
238 def wxPreSashLayoutWindow(*_args
,**_kwargs
):
239 val
= wxSashLayoutWindowPtr(windows3c
.new_wxPreSashLayoutWindow(*_args
,**_kwargs
))
245 class wxLayoutAlgorithmPtr(wxObjectPtr
):
246 def __init__(self
,this
):
249 def __del__(self
, delfunc
=windows3c
.delete_wxLayoutAlgorithm
):
250 if self
.thisown
== 1:
255 def LayoutMDIFrame(self
, *_args
, **_kwargs
):
256 val
= windows3c
.wxLayoutAlgorithm_LayoutMDIFrame(self
, *_args
, **_kwargs
)
258 def LayoutFrame(self
, *_args
, **_kwargs
):
259 val
= windows3c
.wxLayoutAlgorithm_LayoutFrame(self
, *_args
, **_kwargs
)
261 def LayoutWindow(self
, *_args
, **_kwargs
):
262 val
= windows3c
.wxLayoutAlgorithm_LayoutWindow(self
, *_args
, **_kwargs
)
265 return "<%s.%s instance; proxy of C++ wxLayoutAlgorithm instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
266 class wxLayoutAlgorithm(wxLayoutAlgorithmPtr
):
267 def __init__(self
,*_args
,**_kwargs
):
268 self
.this
= windows3c
.new_wxLayoutAlgorithm(*_args
,**_kwargs
)
274 class wxPopupWindowPtr(wxWindowPtr
):
275 def __init__(self
,this
):
278 def Create(self
, *_args
, **_kwargs
):
279 val
= windows3c
.wxPopupWindow_Create(self
, *_args
, **_kwargs
)
281 def Position(self
, *_args
, **_kwargs
):
282 val
= windows3c
.wxPopupWindow_Position(self
, *_args
, **_kwargs
)
285 return "<%s.%s instance; proxy of C++ wxPopupWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
286 class wxPopupWindow(wxPopupWindowPtr
):
287 def __init__(self
,*_args
,**_kwargs
):
288 self
.this
= windows3c
.new_wxPopupWindow(*_args
,**_kwargs
)
290 self
._setOORInfo
(self
)
294 def wxPrePopupWindow(*_args
,**_kwargs
):
295 val
= wxPopupWindowPtr(windows3c
.new_wxPrePopupWindow(*_args
,**_kwargs
))
301 class wxPopupTransientWindowPtr(wxPopupWindowPtr
):
302 def __init__(self
,this
):
305 def _setCallbackInfo(self
, *_args
, **_kwargs
):
306 val
= windows3c
.wxPopupTransientWindow__setCallbackInfo(self
, *_args
, **_kwargs
)
308 def Popup(self
, *_args
, **_kwargs
):
309 val
= windows3c
.wxPopupTransientWindow_Popup(self
, *_args
, **_kwargs
)
311 def Dismiss(self
, *_args
, **_kwargs
):
312 val
= windows3c
.wxPopupTransientWindow_Dismiss(self
, *_args
, **_kwargs
)
315 return "<%s.%s instance; proxy of C++ wxPopupTransientWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
316 class wxPopupTransientWindow(wxPopupTransientWindowPtr
):
317 def __init__(self
,*_args
,**_kwargs
):
318 self
.this
= windows3c
.new_wxPopupTransientWindow(*_args
,**_kwargs
)
320 self
._setCallbackInfo
(self
, wxPopupTransientWindow
)
321 self
._setOORInfo
(self
)
325 def wxPrePopupTransientWindow(*_args
,**_kwargs
):
326 val
= wxPopupTransientWindowPtr(windows3c
.new_wxPrePopupTransientWindow(*_args
,**_kwargs
))
332 class wxTipWindowPtr(wxPopupTransientWindowPtr
):
333 def __init__(self
,this
):
336 def SetBoundingRect(self
, *_args
, **_kwargs
):
337 val
= windows3c
.wxTipWindow_SetBoundingRect(self
, *_args
, **_kwargs
)
339 def Close(self
, *_args
, **_kwargs
):
340 val
= windows3c
.wxTipWindow_Close(self
, *_args
, **_kwargs
)
343 return "<%s.%s instance; proxy of C++ wxTipWindow instance at %s>" % (self
.__class
__.__module
__, self
.__class
__.__name
__, self
.this
)
344 class wxTipWindow(wxTipWindowPtr
):
345 def __init__(self
,*_args
,**_kwargs
):
346 self
.this
= windows3c
.new_wxTipWindow(*_args
,**_kwargs
)
348 self
._setOORInfo
(self
)
355 #-------------- FUNCTION WRAPPERS ------------------
359 #-------------- VARIABLE WRAPPERS ------------------
361 wxSASH_TOP
= windows3c
.wxSASH_TOP
362 wxSASH_RIGHT
= windows3c
.wxSASH_RIGHT
363 wxSASH_BOTTOM
= windows3c
.wxSASH_BOTTOM
364 wxSASH_LEFT
= windows3c
.wxSASH_LEFT
365 wxSASH_NONE
= windows3c
.wxSASH_NONE
366 wxEVT_SASH_DRAGGED
= windows3c
.wxEVT_SASH_DRAGGED
367 wxSW_3D
= windows3c
.wxSW_3D
368 wxSW_3DSASH
= windows3c
.wxSW_3DSASH
369 wxSW_3DBORDER
= windows3c
.wxSW_3DBORDER
370 wxSW_BORDER
= windows3c
.wxSW_BORDER
371 wxSASH_STATUS_OK
= windows3c
.wxSASH_STATUS_OK
372 wxSASH_STATUS_OUT_OF_RANGE
= windows3c
.wxSASH_STATUS_OUT_OF_RANGE
373 wxLAYOUT_HORIZONTAL
= windows3c
.wxLAYOUT_HORIZONTAL
374 wxLAYOUT_VERTICAL
= windows3c
.wxLAYOUT_VERTICAL
375 wxLAYOUT_NONE
= windows3c
.wxLAYOUT_NONE
376 wxLAYOUT_TOP
= windows3c
.wxLAYOUT_TOP
377 wxLAYOUT_LEFT
= windows3c
.wxLAYOUT_LEFT
378 wxLAYOUT_RIGHT
= windows3c
.wxLAYOUT_RIGHT
379 wxLAYOUT_BOTTOM
= windows3c
.wxLAYOUT_BOTTOM
380 wxEVT_QUERY_LAYOUT_INFO
= windows3c
.wxEVT_QUERY_LAYOUT_INFO
381 wxEVT_CALCULATE_LAYOUT
= windows3c
.wxEVT_CALCULATE_LAYOUT