1 # This file was created automatically by SWIG.
10 from windows2
import *
12 from controls
import *
20 from stattool
import *
22 class wxSashEventPtr(wxCommandEventPtr
):
23 def __init__(self
,this
):
26 def SetEdge(self
,arg0
):
27 val
= windows3c
.wxSashEvent_SetEdge(self
.this
,arg0
)
30 val
= windows3c
.wxSashEvent_GetEdge(self
.this
)
32 def SetDragRect(self
,arg0
):
33 val
= windows3c
.wxSashEvent_SetDragRect(self
.this
,arg0
.this
)
35 def GetDragRect(self
):
36 val
= windows3c
.wxSashEvent_GetDragRect(self
.this
)
40 def SetDragStatus(self
,arg0
):
41 val
= windows3c
.wxSashEvent_SetDragStatus(self
.this
,arg0
)
43 def GetDragStatus(self
):
44 val
= windows3c
.wxSashEvent_GetDragStatus(self
.this
)
47 return "<C wxSashEvent instance>"
48 class wxSashEvent(wxSashEventPtr
):
49 def __init__(self
,this
):
55 class wxSashWindowPtr(wxWindowPtr
):
56 def __init__(self
,this
):
59 def GetSashVisible(self
,arg0
):
60 val
= windows3c
.wxSashWindow_GetSashVisible(self
.this
,arg0
)
62 def GetDefaultBorderSize(self
):
63 val
= windows3c
.wxSashWindow_GetDefaultBorderSize(self
.this
)
65 def GetEdgeMargin(self
,arg0
):
66 val
= windows3c
.wxSashWindow_GetEdgeMargin(self
.this
,arg0
)
68 def GetExtraBorderSize(self
):
69 val
= windows3c
.wxSashWindow_GetExtraBorderSize(self
.this
)
71 def GetMaximumSizeX(self
):
72 val
= windows3c
.wxSashWindow_GetMaximumSizeX(self
.this
)
74 def GetMaximumSizeY(self
):
75 val
= windows3c
.wxSashWindow_GetMaximumSizeY(self
.this
)
77 def GetMinimumSizeX(self
):
78 val
= windows3c
.wxSashWindow_GetMinimumSizeX(self
.this
)
80 def GetMinimumSizeY(self
):
81 val
= windows3c
.wxSashWindow_GetMinimumSizeY(self
.this
)
83 def HasBorder(self
,arg0
):
84 val
= windows3c
.wxSashWindow_HasBorder(self
.this
,arg0
)
86 def SetDefaultBorderSize(self
,arg0
):
87 val
= windows3c
.wxSashWindow_SetDefaultBorderSize(self
.this
,arg0
)
89 def SetExtraBorderSize(self
,arg0
):
90 val
= windows3c
.wxSashWindow_SetExtraBorderSize(self
.this
,arg0
)
92 def SetMaximumSizeX(self
,arg0
):
93 val
= windows3c
.wxSashWindow_SetMaximumSizeX(self
.this
,arg0
)
95 def SetMaximumSizeY(self
,arg0
):
96 val
= windows3c
.wxSashWindow_SetMaximumSizeY(self
.this
,arg0
)
98 def SetMinimumSizeX(self
,arg0
):
99 val
= windows3c
.wxSashWindow_SetMinimumSizeX(self
.this
,arg0
)
101 def SetMinimumSizeY(self
,arg0
):
102 val
= windows3c
.wxSashWindow_SetMinimumSizeY(self
.this
,arg0
)
104 def SetSashVisible(self
,arg0
,arg1
):
105 val
= windows3c
.wxSashWindow_SetSashVisible(self
.this
,arg0
,arg1
)
107 def SetSashBorder(self
,arg0
,arg1
):
108 val
= windows3c
.wxSashWindow_SetSashBorder(self
.this
,arg0
,arg1
)
111 return "<C wxSashWindow instance>"
112 class wxSashWindow(wxSashWindowPtr
):
113 def __init__(self
,arg0
,arg1
,*args
) :
114 argl
= map(None,args
)
115 try: argl
[0] = argl
[0].this
117 try: argl
[1] = argl
[1].this
120 self
.this
= apply(windows3c
.new_wxSashWindow
,(arg0
.this
,arg1
,)+args
)
122 wx
._StdWindowCallbacks
(self
)
127 class wxQueryLayoutInfoEventPtr(wxEventPtr
):
128 def __init__(self
,this
):
131 def SetRequestedLength(self
,arg0
):
132 val
= windows3c
.wxQueryLayoutInfoEvent_SetRequestedLength(self
.this
,arg0
)
134 def GetRequestedLength(self
):
135 val
= windows3c
.wxQueryLayoutInfoEvent_GetRequestedLength(self
.this
)
137 def SetFlags(self
,arg0
):
138 val
= windows3c
.wxQueryLayoutInfoEvent_SetFlags(self
.this
,arg0
)
141 val
= windows3c
.wxQueryLayoutInfoEvent_GetFlags(self
.this
)
143 def SetSize(self
,arg0
):
144 val
= windows3c
.wxQueryLayoutInfoEvent_SetSize(self
.this
,arg0
.this
)
147 val
= windows3c
.wxQueryLayoutInfoEvent_GetSize(self
.this
)
151 def SetOrientation(self
,arg0
):
152 val
= windows3c
.wxQueryLayoutInfoEvent_SetOrientation(self
.this
,arg0
)
154 def GetOrientation(self
):
155 val
= windows3c
.wxQueryLayoutInfoEvent_GetOrientation(self
.this
)
157 def SetAlignment(self
,arg0
):
158 val
= windows3c
.wxQueryLayoutInfoEvent_SetAlignment(self
.this
,arg0
)
160 def GetAlignment(self
):
161 val
= windows3c
.wxQueryLayoutInfoEvent_GetAlignment(self
.this
)
164 return "<C wxQueryLayoutInfoEvent instance>"
165 class wxQueryLayoutInfoEvent(wxQueryLayoutInfoEventPtr
):
166 def __init__(self
,this
):
172 class wxCalculateLayoutEventPtr(wxEventPtr
):
173 def __init__(self
,this
):
176 def SetFlags(self
,arg0
):
177 val
= windows3c
.wxCalculateLayoutEvent_SetFlags(self
.this
,arg0
)
180 val
= windows3c
.wxCalculateLayoutEvent_GetFlags(self
.this
)
182 def SetRect(self
,arg0
):
183 val
= windows3c
.wxCalculateLayoutEvent_SetRect(self
.this
,arg0
.this
)
186 val
= windows3c
.wxCalculateLayoutEvent_GetRect(self
.this
)
191 return "<C wxCalculateLayoutEvent instance>"
192 class wxCalculateLayoutEvent(wxCalculateLayoutEventPtr
):
193 def __init__(self
,this
):
199 class wxSashLayoutWindowPtr(wxSashWindowPtr
):
200 def __init__(self
,this
):
203 def GetAlignment(self
):
204 val
= windows3c
.wxSashLayoutWindow_GetAlignment(self
.this
)
206 def GetOrientation(self
):
207 val
= windows3c
.wxSashLayoutWindow_GetOrientation(self
.this
)
209 def SetAlignment(self
,arg0
):
210 val
= windows3c
.wxSashLayoutWindow_SetAlignment(self
.this
,arg0
)
212 def SetDefaultSize(self
,arg0
):
213 val
= windows3c
.wxSashLayoutWindow_SetDefaultSize(self
.this
,arg0
.this
)
215 def SetOrientation(self
,arg0
):
216 val
= windows3c
.wxSashLayoutWindow_SetOrientation(self
.this
,arg0
)
219 return "<C wxSashLayoutWindow instance>"
220 class wxSashLayoutWindow(wxSashLayoutWindowPtr
):
221 def __init__(self
,arg0
,arg1
,*args
) :
222 argl
= map(None,args
)
223 try: argl
[0] = argl
[0].this
225 try: argl
[1] = argl
[1].this
228 self
.this
= apply(windows3c
.new_wxSashLayoutWindow
,(arg0
.this
,arg1
,)+args
)
230 wx
._StdWindowCallbacks
(self
)
231 wx
._checkForCallback
(self
, 'OnCalculateLayout', wxEVT_CALCULATE_LAYOUT
)
232 wx
._checkForCallback
(self
, 'OnQueryLayoutInfo', wxEVT_QUERY_LAYOUT_INFO
)
237 class wxLayoutAlgorithmPtr
:
238 def __init__(self
,this
):
242 if self
.thisown
== 1 :
243 windows3c
.delete_wxLayoutAlgorithm(self
.this
)
244 def LayoutMDIFrame(self
,arg0
,*args
):
245 argl
= map(None,args
)
246 try: argl
[0] = argl
[0].this
249 val
= apply(windows3c
.wxLayoutAlgorithm_LayoutMDIFrame
,(self
.this
,arg0
.this
,)+args
)
251 def LayoutFrame(self
,arg0
,*args
):
252 argl
= map(None,args
)
253 try: argl
[0] = argl
[0].this
256 val
= apply(windows3c
.wxLayoutAlgorithm_LayoutFrame
,(self
.this
,arg0
.this
,)+args
)
259 return "<C wxLayoutAlgorithm instance>"
260 class wxLayoutAlgorithm(wxLayoutAlgorithmPtr
):
262 self
.this
= windows3c
.new_wxLayoutAlgorithm()
270 #-------------- FUNCTION WRAPPERS ------------------
274 #-------------- VARIABLE WRAPPERS ------------------
276 wxSASH_TOP
= windows3c
.wxSASH_TOP
277 wxSASH_RIGHT
= windows3c
.wxSASH_RIGHT
278 wxSASH_BOTTOM
= windows3c
.wxSASH_BOTTOM
279 wxSASH_LEFT
= windows3c
.wxSASH_LEFT
280 wxSASH_NONE
= windows3c
.wxSASH_NONE
281 wxEVT_SASH_DRAGGED
= windows3c
.wxEVT_SASH_DRAGGED
282 wxSW_3D
= windows3c
.wxSW_3D
283 wxSASH_STATUS_OK
= windows3c
.wxSASH_STATUS_OK
284 wxSASH_STATUS_OUT_OF_RANGE
= windows3c
.wxSASH_STATUS_OUT_OF_RANGE
285 wxLAYOUT_HORIZONTAL
= windows3c
.wxLAYOUT_HORIZONTAL
286 wxLAYOUT_VERTICAL
= windows3c
.wxLAYOUT_VERTICAL
287 wxLAYOUT_NONE
= windows3c
.wxLAYOUT_NONE
288 wxLAYOUT_TOP
= windows3c
.wxLAYOUT_TOP
289 wxLAYOUT_LEFT
= windows3c
.wxLAYOUT_LEFT
290 wxLAYOUT_RIGHT
= windows3c
.wxLAYOUT_RIGHT
291 wxLAYOUT_BOTTOM
= windows3c
.wxLAYOUT_BOTTOM
292 wxEVT_QUERY_LAYOUT_INFO
= windows3c
.wxEVT_QUERY_LAYOUT_INFO
293 wxEVT_CALCULATE_LAYOUT
= windows3c
.wxEVT_CALCULATE_LAYOUT