]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/windows3.py
minimal now works in Unicode mode
[wxWidgets.git] / utils / wxPython / src / gtk / windows3.py
1 # This file was created automatically by SWIG.
2 import windows3c
3
4 from misc import *
5
6 from gdi import *
7
8 from windows import *
9
10 from windows2 import *
11
12 from controls import *
13
14 from events import *
15
16 from mdi import *
17
18 from frames import *
19
20 from stattool import *
21 import wx
22 class wxSashEventPtr(wxCommandEventPtr):
23 def __init__(self,this):
24 self.this = this
25 self.thisown = 0
26 def SetEdge(self,arg0):
27 val = windows3c.wxSashEvent_SetEdge(self.this,arg0)
28 return val
29 def GetEdge(self):
30 val = windows3c.wxSashEvent_GetEdge(self.this)
31 return val
32 def SetDragRect(self,arg0):
33 val = windows3c.wxSashEvent_SetDragRect(self.this,arg0.this)
34 return val
35 def GetDragRect(self):
36 val = windows3c.wxSashEvent_GetDragRect(self.this)
37 val = wxRectPtr(val)
38 val.thisown = 1
39 return val
40 def SetDragStatus(self,arg0):
41 val = windows3c.wxSashEvent_SetDragStatus(self.this,arg0)
42 return val
43 def GetDragStatus(self):
44 val = windows3c.wxSashEvent_GetDragStatus(self.this)
45 return val
46 def __repr__(self):
47 return "<C wxSashEvent instance>"
48 class wxSashEvent(wxSashEventPtr):
49 def __init__(self,this):
50 self.this = this
51
52
53
54
55 class wxSashWindowPtr(wxWindowPtr):
56 def __init__(self,this):
57 self.this = this
58 self.thisown = 0
59 def GetSashVisible(self,arg0):
60 val = windows3c.wxSashWindow_GetSashVisible(self.this,arg0)
61 return val
62 def GetDefaultBorderSize(self):
63 val = windows3c.wxSashWindow_GetDefaultBorderSize(self.this)
64 return val
65 def GetEdgeMargin(self,arg0):
66 val = windows3c.wxSashWindow_GetEdgeMargin(self.this,arg0)
67 return val
68 def GetExtraBorderSize(self):
69 val = windows3c.wxSashWindow_GetExtraBorderSize(self.this)
70 return val
71 def GetMaximumSizeX(self):
72 val = windows3c.wxSashWindow_GetMaximumSizeX(self.this)
73 return val
74 def GetMaximumSizeY(self):
75 val = windows3c.wxSashWindow_GetMaximumSizeY(self.this)
76 return val
77 def GetMinimumSizeX(self):
78 val = windows3c.wxSashWindow_GetMinimumSizeX(self.this)
79 return val
80 def GetMinimumSizeY(self):
81 val = windows3c.wxSashWindow_GetMinimumSizeY(self.this)
82 return val
83 def HasBorder(self,arg0):
84 val = windows3c.wxSashWindow_HasBorder(self.this,arg0)
85 return val
86 def SetDefaultBorderSize(self,arg0):
87 val = windows3c.wxSashWindow_SetDefaultBorderSize(self.this,arg0)
88 return val
89 def SetExtraBorderSize(self,arg0):
90 val = windows3c.wxSashWindow_SetExtraBorderSize(self.this,arg0)
91 return val
92 def SetMaximumSizeX(self,arg0):
93 val = windows3c.wxSashWindow_SetMaximumSizeX(self.this,arg0)
94 return val
95 def SetMaximumSizeY(self,arg0):
96 val = windows3c.wxSashWindow_SetMaximumSizeY(self.this,arg0)
97 return val
98 def SetMinimumSizeX(self,arg0):
99 val = windows3c.wxSashWindow_SetMinimumSizeX(self.this,arg0)
100 return val
101 def SetMinimumSizeY(self,arg0):
102 val = windows3c.wxSashWindow_SetMinimumSizeY(self.this,arg0)
103 return val
104 def SetSashVisible(self,arg0,arg1):
105 val = windows3c.wxSashWindow_SetSashVisible(self.this,arg0,arg1)
106 return val
107 def SetSashBorder(self,arg0,arg1):
108 val = windows3c.wxSashWindow_SetSashBorder(self.this,arg0,arg1)
109 return val
110 def __repr__(self):
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
116 except: pass
117 try: argl[1] = argl[1].this
118 except: pass
119 args = tuple(argl)
120 self.this = apply(windows3c.new_wxSashWindow,(arg0.this,arg1,)+args)
121 self.thisown = 1
122 wx._StdWindowCallbacks(self)
123
124
125
126
127 class wxQueryLayoutInfoEventPtr(wxEventPtr):
128 def __init__(self,this):
129 self.this = this
130 self.thisown = 0
131 def SetRequestedLength(self,arg0):
132 val = windows3c.wxQueryLayoutInfoEvent_SetRequestedLength(self.this,arg0)
133 return val
134 def GetRequestedLength(self):
135 val = windows3c.wxQueryLayoutInfoEvent_GetRequestedLength(self.this)
136 return val
137 def SetFlags(self,arg0):
138 val = windows3c.wxQueryLayoutInfoEvent_SetFlags(self.this,arg0)
139 return val
140 def GetFlags(self):
141 val = windows3c.wxQueryLayoutInfoEvent_GetFlags(self.this)
142 return val
143 def SetSize(self,arg0):
144 val = windows3c.wxQueryLayoutInfoEvent_SetSize(self.this,arg0.this)
145 return val
146 def GetSize(self):
147 val = windows3c.wxQueryLayoutInfoEvent_GetSize(self.this)
148 val = wxSizePtr(val)
149 val.thisown = 1
150 return val
151 def SetOrientation(self,arg0):
152 val = windows3c.wxQueryLayoutInfoEvent_SetOrientation(self.this,arg0)
153 return val
154 def GetOrientation(self):
155 val = windows3c.wxQueryLayoutInfoEvent_GetOrientation(self.this)
156 return val
157 def SetAlignment(self,arg0):
158 val = windows3c.wxQueryLayoutInfoEvent_SetAlignment(self.this,arg0)
159 return val
160 def GetAlignment(self):
161 val = windows3c.wxQueryLayoutInfoEvent_GetAlignment(self.this)
162 return val
163 def __repr__(self):
164 return "<C wxQueryLayoutInfoEvent instance>"
165 class wxQueryLayoutInfoEvent(wxQueryLayoutInfoEventPtr):
166 def __init__(self,this):
167 self.this = this
168
169
170
171
172 class wxCalculateLayoutEventPtr(wxEventPtr):
173 def __init__(self,this):
174 self.this = this
175 self.thisown = 0
176 def SetFlags(self,arg0):
177 val = windows3c.wxCalculateLayoutEvent_SetFlags(self.this,arg0)
178 return val
179 def GetFlags(self):
180 val = windows3c.wxCalculateLayoutEvent_GetFlags(self.this)
181 return val
182 def SetRect(self,arg0):
183 val = windows3c.wxCalculateLayoutEvent_SetRect(self.this,arg0.this)
184 return val
185 def GetRect(self):
186 val = windows3c.wxCalculateLayoutEvent_GetRect(self.this)
187 val = wxRectPtr(val)
188 val.thisown = 1
189 return val
190 def __repr__(self):
191 return "<C wxCalculateLayoutEvent instance>"
192 class wxCalculateLayoutEvent(wxCalculateLayoutEventPtr):
193 def __init__(self,this):
194 self.this = this
195
196
197
198
199 class wxSashLayoutWindowPtr(wxSashWindowPtr):
200 def __init__(self,this):
201 self.this = this
202 self.thisown = 0
203 def GetAlignment(self):
204 val = windows3c.wxSashLayoutWindow_GetAlignment(self.this)
205 return val
206 def GetOrientation(self):
207 val = windows3c.wxSashLayoutWindow_GetOrientation(self.this)
208 return val
209 def SetAlignment(self,arg0):
210 val = windows3c.wxSashLayoutWindow_SetAlignment(self.this,arg0)
211 return val
212 def SetDefaultSize(self,arg0):
213 val = windows3c.wxSashLayoutWindow_SetDefaultSize(self.this,arg0.this)
214 return val
215 def SetOrientation(self,arg0):
216 val = windows3c.wxSashLayoutWindow_SetOrientation(self.this,arg0)
217 return val
218 def __repr__(self):
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
224 except: pass
225 try: argl[1] = argl[1].this
226 except: pass
227 args = tuple(argl)
228 self.this = apply(windows3c.new_wxSashLayoutWindow,(arg0.this,arg1,)+args)
229 self.thisown = 1
230 wx._StdWindowCallbacks(self)
231 wx._checkForCallback(self, 'OnCalculateLayout', wxEVT_CALCULATE_LAYOUT)
232 wx._checkForCallback(self, 'OnQueryLayoutInfo', wxEVT_QUERY_LAYOUT_INFO)
233
234
235
236
237 class wxLayoutAlgorithmPtr :
238 def __init__(self,this):
239 self.this = this
240 self.thisown = 0
241 def __del__(self):
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
247 except: pass
248 args = tuple(argl)
249 val = apply(windows3c.wxLayoutAlgorithm_LayoutMDIFrame,(self.this,arg0.this,)+args)
250 return val
251 def LayoutFrame(self,arg0,*args):
252 argl = map(None,args)
253 try: argl[0] = argl[0].this
254 except: pass
255 args = tuple(argl)
256 val = apply(windows3c.wxLayoutAlgorithm_LayoutFrame,(self.this,arg0.this,)+args)
257 return val
258 def __repr__(self):
259 return "<C wxLayoutAlgorithm instance>"
260 class wxLayoutAlgorithm(wxLayoutAlgorithmPtr):
261 def __init__(self) :
262 self.this = windows3c.new_wxLayoutAlgorithm()
263 self.thisown = 1
264
265
266
267
268
269
270 #-------------- FUNCTION WRAPPERS ------------------
271
272
273
274 #-------------- VARIABLE WRAPPERS ------------------
275
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