1 # This file was created automatically by SWIG.
10 from clip_dnd
import *
12 from windows2
import *
14 from controls
import *
22 from stattool
import *
24 class wxSashEventPtr(wxCommandEventPtr
):
25 def __init__(self
,this
):
28 def SetEdge(self
, *_args
, **_kwargs
):
29 val
= apply(windows3c
.wxSashEvent_SetEdge
,(self
,) + _args
, _kwargs
)
31 def GetEdge(self
, *_args
, **_kwargs
):
32 val
= apply(windows3c
.wxSashEvent_GetEdge
,(self
,) + _args
, _kwargs
)
34 def SetDragRect(self
, *_args
, **_kwargs
):
35 val
= apply(windows3c
.wxSashEvent_SetDragRect
,(self
,) + _args
, _kwargs
)
37 def GetDragRect(self
, *_args
, **_kwargs
):
38 val
= apply(windows3c
.wxSashEvent_GetDragRect
,(self
,) + _args
, _kwargs
)
39 if val
: val
= wxRectPtr(val
) ; val
.thisown
= 1
41 def SetDragStatus(self
, *_args
, **_kwargs
):
42 val
= apply(windows3c
.wxSashEvent_SetDragStatus
,(self
,) + _args
, _kwargs
)
44 def GetDragStatus(self
, *_args
, **_kwargs
):
45 val
= apply(windows3c
.wxSashEvent_GetDragStatus
,(self
,) + _args
, _kwargs
)
48 return "<C wxSashEvent instance at %s>" % (self
.this
,)
49 class wxSashEvent(wxSashEventPtr
):
50 def __init__(self
,*_args
,**_kwargs
):
51 self
.this
= apply(windows3c
.new_wxSashEvent
,_args
,_kwargs
)
57 class wxSashWindowPtr(wxWindowPtr
):
58 def __init__(self
,this
):
61 def Create(self
, *_args
, **_kwargs
):
62 val
= apply(windows3c
.wxSashWindow_Create
,(self
,) + _args
, _kwargs
)
64 def GetSashVisible(self
, *_args
, **_kwargs
):
65 val
= apply(windows3c
.wxSashWindow_GetSashVisible
,(self
,) + _args
, _kwargs
)
67 def GetDefaultBorderSize(self
, *_args
, **_kwargs
):
68 val
= apply(windows3c
.wxSashWindow_GetDefaultBorderSize
,(self
,) + _args
, _kwargs
)
70 def GetEdgeMargin(self
, *_args
, **_kwargs
):
71 val
= apply(windows3c
.wxSashWindow_GetEdgeMargin
,(self
,) + _args
, _kwargs
)
73 def GetExtraBorderSize(self
, *_args
, **_kwargs
):
74 val
= apply(windows3c
.wxSashWindow_GetExtraBorderSize
,(self
,) + _args
, _kwargs
)
76 def GetMaximumSizeX(self
, *_args
, **_kwargs
):
77 val
= apply(windows3c
.wxSashWindow_GetMaximumSizeX
,(self
,) + _args
, _kwargs
)
79 def GetMaximumSizeY(self
, *_args
, **_kwargs
):
80 val
= apply(windows3c
.wxSashWindow_GetMaximumSizeY
,(self
,) + _args
, _kwargs
)
82 def GetMinimumSizeX(self
, *_args
, **_kwargs
):
83 val
= apply(windows3c
.wxSashWindow_GetMinimumSizeX
,(self
,) + _args
, _kwargs
)
85 def GetMinimumSizeY(self
, *_args
, **_kwargs
):
86 val
= apply(windows3c
.wxSashWindow_GetMinimumSizeY
,(self
,) + _args
, _kwargs
)
88 def HasBorder(self
, *_args
, **_kwargs
):
89 val
= apply(windows3c
.wxSashWindow_HasBorder
,(self
,) + _args
, _kwargs
)
91 def SetDefaultBorderSize(self
, *_args
, **_kwargs
):
92 val
= apply(windows3c
.wxSashWindow_SetDefaultBorderSize
,(self
,) + _args
, _kwargs
)
94 def SetExtraBorderSize(self
, *_args
, **_kwargs
):
95 val
= apply(windows3c
.wxSashWindow_SetExtraBorderSize
,(self
,) + _args
, _kwargs
)
97 def SetMaximumSizeX(self
, *_args
, **_kwargs
):
98 val
= apply(windows3c
.wxSashWindow_SetMaximumSizeX
,(self
,) + _args
, _kwargs
)
100 def SetMaximumSizeY(self
, *_args
, **_kwargs
):
101 val
= apply(windows3c
.wxSashWindow_SetMaximumSizeY
,(self
,) + _args
, _kwargs
)
103 def SetMinimumSizeX(self
, *_args
, **_kwargs
):
104 val
= apply(windows3c
.wxSashWindow_SetMinimumSizeX
,(self
,) + _args
, _kwargs
)
106 def SetMinimumSizeY(self
, *_args
, **_kwargs
):
107 val
= apply(windows3c
.wxSashWindow_SetMinimumSizeY
,(self
,) + _args
, _kwargs
)
109 def SetSashVisible(self
, *_args
, **_kwargs
):
110 val
= apply(windows3c
.wxSashWindow_SetSashVisible
,(self
,) + _args
, _kwargs
)
112 def SetSashBorder(self
, *_args
, **_kwargs
):
113 val
= apply(windows3c
.wxSashWindow_SetSashBorder
,(self
,) + _args
, _kwargs
)
116 return "<C wxSashWindow instance at %s>" % (self
.this
,)
117 class wxSashWindow(wxSashWindowPtr
):
118 def __init__(self
,*_args
,**_kwargs
):
119 self
.this
= apply(windows3c
.new_wxSashWindow
,_args
,_kwargs
)
121 self
._setOORInfo
(self
)
125 def wxPreSashWindow(*_args
,**_kwargs
):
126 val
= wxSashWindowPtr(apply(windows3c
.new_wxPreSashWindow
,_args
,_kwargs
))
132 class wxQueryLayoutInfoEventPtr(wxEventPtr
):
133 def __init__(self
,this
):
136 def SetRequestedLength(self
, *_args
, **_kwargs
):
137 val
= apply(windows3c
.wxQueryLayoutInfoEvent_SetRequestedLength
,(self
,) + _args
, _kwargs
)
139 def GetRequestedLength(self
, *_args
, **_kwargs
):
140 val
= apply(windows3c
.wxQueryLayoutInfoEvent_GetRequestedLength
,(self
,) + _args
, _kwargs
)
142 def SetFlags(self
, *_args
, **_kwargs
):
143 val
= apply(windows3c
.wxQueryLayoutInfoEvent_SetFlags
,(self
,) + _args
, _kwargs
)
145 def GetFlags(self
, *_args
, **_kwargs
):
146 val
= apply(windows3c
.wxQueryLayoutInfoEvent_GetFlags
,(self
,) + _args
, _kwargs
)
148 def SetSize(self
, *_args
, **_kwargs
):
149 val
= apply(windows3c
.wxQueryLayoutInfoEvent_SetSize
,(self
,) + _args
, _kwargs
)
151 def GetSize(self
, *_args
, **_kwargs
):
152 val
= apply(windows3c
.wxQueryLayoutInfoEvent_GetSize
,(self
,) + _args
, _kwargs
)
153 if val
: val
= wxSizePtr(val
) ; val
.thisown
= 1
155 def SetOrientation(self
, *_args
, **_kwargs
):
156 val
= apply(windows3c
.wxQueryLayoutInfoEvent_SetOrientation
,(self
,) + _args
, _kwargs
)
158 def GetOrientation(self
, *_args
, **_kwargs
):
159 val
= apply(windows3c
.wxQueryLayoutInfoEvent_GetOrientation
,(self
,) + _args
, _kwargs
)
161 def SetAlignment(self
, *_args
, **_kwargs
):
162 val
= apply(windows3c
.wxQueryLayoutInfoEvent_SetAlignment
,(self
,) + _args
, _kwargs
)
164 def GetAlignment(self
, *_args
, **_kwargs
):
165 val
= apply(windows3c
.wxQueryLayoutInfoEvent_GetAlignment
,(self
,) + _args
, _kwargs
)
168 return "<C wxQueryLayoutInfoEvent instance at %s>" % (self
.this
,)
169 class wxQueryLayoutInfoEvent(wxQueryLayoutInfoEventPtr
):
170 def __init__(self
,*_args
,**_kwargs
):
171 self
.this
= apply(windows3c
.new_wxQueryLayoutInfoEvent
,_args
,_kwargs
)
177 class wxCalculateLayoutEventPtr(wxEventPtr
):
178 def __init__(self
,this
):
181 def SetFlags(self
, *_args
, **_kwargs
):
182 val
= apply(windows3c
.wxCalculateLayoutEvent_SetFlags
,(self
,) + _args
, _kwargs
)
184 def GetFlags(self
, *_args
, **_kwargs
):
185 val
= apply(windows3c
.wxCalculateLayoutEvent_GetFlags
,(self
,) + _args
, _kwargs
)
187 def SetRect(self
, *_args
, **_kwargs
):
188 val
= apply(windows3c
.wxCalculateLayoutEvent_SetRect
,(self
,) + _args
, _kwargs
)
190 def GetRect(self
, *_args
, **_kwargs
):
191 val
= apply(windows3c
.wxCalculateLayoutEvent_GetRect
,(self
,) + _args
, _kwargs
)
192 if val
: val
= wxRectPtr(val
) ; val
.thisown
= 1
195 return "<C wxCalculateLayoutEvent instance at %s>" % (self
.this
,)
196 class wxCalculateLayoutEvent(wxCalculateLayoutEventPtr
):
197 def __init__(self
,*_args
,**_kwargs
):
198 self
.this
= apply(windows3c
.new_wxCalculateLayoutEvent
,_args
,_kwargs
)
204 class wxSashLayoutWindowPtr(wxSashWindowPtr
):
205 def __init__(self
,this
):
208 def Create(self
, *_args
, **_kwargs
):
209 val
= apply(windows3c
.wxSashLayoutWindow_Create
,(self
,) + _args
, _kwargs
)
211 def GetAlignment(self
, *_args
, **_kwargs
):
212 val
= apply(windows3c
.wxSashLayoutWindow_GetAlignment
,(self
,) + _args
, _kwargs
)
214 def GetOrientation(self
, *_args
, **_kwargs
):
215 val
= apply(windows3c
.wxSashLayoutWindow_GetOrientation
,(self
,) + _args
, _kwargs
)
217 def SetAlignment(self
, *_args
, **_kwargs
):
218 val
= apply(windows3c
.wxSashLayoutWindow_SetAlignment
,(self
,) + _args
, _kwargs
)
220 def SetDefaultSize(self
, *_args
, **_kwargs
):
221 val
= apply(windows3c
.wxSashLayoutWindow_SetDefaultSize
,(self
,) + _args
, _kwargs
)
223 def SetOrientation(self
, *_args
, **_kwargs
):
224 val
= apply(windows3c
.wxSashLayoutWindow_SetOrientation
,(self
,) + _args
, _kwargs
)
227 return "<C wxSashLayoutWindow instance at %s>" % (self
.this
,)
228 class wxSashLayoutWindow(wxSashLayoutWindowPtr
):
229 def __init__(self
,*_args
,**_kwargs
):
230 self
.this
= apply(windows3c
.new_wxSashLayoutWindow
,_args
,_kwargs
)
232 self
._setOORInfo
(self
)
236 def wxPreSashLayoutWindow(*_args
,**_kwargs
):
237 val
= wxSashLayoutWindowPtr(apply(windows3c
.new_wxPreSashLayoutWindow
,_args
,_kwargs
))
243 class wxLayoutAlgorithmPtr(wxObjectPtr
):
244 def __init__(self
,this
):
247 def __del__(self
,windows3c
=windows3c
):
248 if self
.thisown
== 1 :
249 windows3c
.delete_wxLayoutAlgorithm(self
)
250 def LayoutMDIFrame(self
, *_args
, **_kwargs
):
251 val
= apply(windows3c
.wxLayoutAlgorithm_LayoutMDIFrame
,(self
,) + _args
, _kwargs
)
253 def LayoutFrame(self
, *_args
, **_kwargs
):
254 val
= apply(windows3c
.wxLayoutAlgorithm_LayoutFrame
,(self
,) + _args
, _kwargs
)
256 def LayoutWindow(self
, *_args
, **_kwargs
):
257 val
= apply(windows3c
.wxLayoutAlgorithm_LayoutWindow
,(self
,) + _args
, _kwargs
)
260 return "<C wxLayoutAlgorithm instance at %s>" % (self
.this
,)
261 class wxLayoutAlgorithm(wxLayoutAlgorithmPtr
):
262 def __init__(self
,*_args
,**_kwargs
):
263 self
.this
= apply(windows3c
.new_wxLayoutAlgorithm
,_args
,_kwargs
)
271 #-------------- FUNCTION WRAPPERS ------------------
275 #-------------- VARIABLE WRAPPERS ------------------
277 wxSASH_TOP
= windows3c
.wxSASH_TOP
278 wxSASH_RIGHT
= windows3c
.wxSASH_RIGHT
279 wxSASH_BOTTOM
= windows3c
.wxSASH_BOTTOM
280 wxSASH_LEFT
= windows3c
.wxSASH_LEFT
281 wxSASH_NONE
= windows3c
.wxSASH_NONE
282 wxEVT_SASH_DRAGGED
= windows3c
.wxEVT_SASH_DRAGGED
283 wxSW_3D
= windows3c
.wxSW_3D
284 wxSW_3DSASH
= windows3c
.wxSW_3DSASH
285 wxSW_3DBORDER
= windows3c
.wxSW_3DBORDER
286 wxSW_BORDER
= windows3c
.wxSW_BORDER
287 wxSASH_STATUS_OK
= windows3c
.wxSASH_STATUS_OK
288 wxSASH_STATUS_OUT_OF_RANGE
= windows3c
.wxSASH_STATUS_OUT_OF_RANGE
289 wxLAYOUT_HORIZONTAL
= windows3c
.wxLAYOUT_HORIZONTAL
290 wxLAYOUT_VERTICAL
= windows3c
.wxLAYOUT_VERTICAL
291 wxLAYOUT_NONE
= windows3c
.wxLAYOUT_NONE
292 wxLAYOUT_TOP
= windows3c
.wxLAYOUT_TOP
293 wxLAYOUT_LEFT
= windows3c
.wxLAYOUT_LEFT
294 wxLAYOUT_RIGHT
= windows3c
.wxLAYOUT_RIGHT
295 wxLAYOUT_BOTTOM
= windows3c
.wxLAYOUT_BOTTOM
296 wxEVT_QUERY_LAYOUT_INFO
= windows3c
.wxEVT_QUERY_LAYOUT_INFO
297 wxEVT_CALCULATE_LAYOUT
= windows3c
.wxEVT_CALCULATE_LAYOUT