]>
Commit | Line | Data |
---|---|---|
9c039d08 RD |
1 | # This file was created automatically by SWIG. |
2 | import stattoolc | |
3 | ||
4 | from misc import * | |
5 | ||
6 | from windows import * | |
7 | ||
8 | from gdi import * | |
9 | ||
b1462dfa RD |
10 | from clip_dnd import * |
11 | ||
9c039d08 RD |
12 | from controls import * |
13 | ||
14 | from events import * | |
b8b8dda7 | 15 | import wx |
9c039d08 RD |
16 | class wxStatusBarPtr(wxWindowPtr): |
17 | def __init__(self,this): | |
18 | self.this = this | |
19 | self.thisown = 0 | |
1d99702e RD |
20 | def GetFieldRect(self, *_args, **_kwargs): |
21 | val = apply(stattoolc.wxStatusBar_GetFieldRect,(self,) + _args, _kwargs) | |
22 | if val: val = wxRectPtr(val) ; val.thisown = 1 | |
9c039d08 | 23 | return val |
1d99702e RD |
24 | def GetFieldsCount(self, *_args, **_kwargs): |
25 | val = apply(stattoolc.wxStatusBar_GetFieldsCount,(self,) + _args, _kwargs) | |
9c039d08 | 26 | return val |
1d99702e RD |
27 | def GetStatusText(self, *_args, **_kwargs): |
28 | val = apply(stattoolc.wxStatusBar_GetStatusText,(self,) + _args, _kwargs) | |
9c039d08 | 29 | return val |
26b9cf27 RD |
30 | def GetBorderX(self, *_args, **_kwargs): |
31 | val = apply(stattoolc.wxStatusBar_GetBorderX,(self,) + _args, _kwargs) | |
9c039d08 | 32 | return val |
26b9cf27 RD |
33 | def GetBorderY(self, *_args, **_kwargs): |
34 | val = apply(stattoolc.wxStatusBar_GetBorderY,(self,) + _args, _kwargs) | |
9c039d08 | 35 | return val |
1d99702e RD |
36 | def SetFieldsCount(self, *_args, **_kwargs): |
37 | val = apply(stattoolc.wxStatusBar_SetFieldsCount,(self,) + _args, _kwargs) | |
9c039d08 | 38 | return val |
1d99702e RD |
39 | def SetStatusText(self, *_args, **_kwargs): |
40 | val = apply(stattoolc.wxStatusBar_SetStatusText,(self,) + _args, _kwargs) | |
9c039d08 | 41 | return val |
1d99702e RD |
42 | def SetStatusWidths(self, *_args, **_kwargs): |
43 | val = apply(stattoolc.wxStatusBar_SetStatusWidths,(self,) + _args, _kwargs) | |
9c039d08 | 44 | return val |
26b9cf27 RD |
45 | def SetMinHeight(self, *_args, **_kwargs): |
46 | val = apply(stattoolc.wxStatusBar_SetMinHeight,(self,) + _args, _kwargs) | |
47 | return val | |
9c039d08 | 48 | def __repr__(self): |
1d99702e | 49 | return "<C wxStatusBar instance at %s>" % (self.this,) |
9c039d08 | 50 | class wxStatusBar(wxStatusBarPtr): |
1d99702e RD |
51 | def __init__(self,*_args,**_kwargs): |
52 | self.this = apply(stattoolc.new_wxStatusBar,_args,_kwargs) | |
9c039d08 | 53 | self.thisown = 1 |
f6bcfd97 | 54 | #wx._StdWindowCallbacks(self) |
9c039d08 RD |
55 | |
56 | ||
57 | ||
58 | ||
9b3d3bc4 | 59 | class wxToolBarToolBasePtr : |
9c039d08 RD |
60 | def __init__(self,this): |
61 | self.this = this | |
62 | self.thisown = 0 | |
9b3d3bc4 RD |
63 | def Destroy(self, *_args, **_kwargs): |
64 | val = apply(stattoolc.wxToolBarToolBase_Destroy,(self,) + _args, _kwargs) | |
9c039d08 | 65 | return val |
9b3d3bc4 RD |
66 | def GetId(self, *_args, **_kwargs): |
67 | val = apply(stattoolc.wxToolBarToolBase_GetId,(self,) + _args, _kwargs) | |
9c039d08 | 68 | return val |
6999b0d8 | 69 | def GetControl(self, *_args, **_kwargs): |
9b3d3bc4 | 70 | val = apply(stattoolc.wxToolBarToolBase_GetControl,(self,) + _args, _kwargs) |
6999b0d8 RD |
71 | if val: val = wxControlPtr(val) |
72 | return val | |
9b3d3bc4 RD |
73 | def GetToolBar(self, *_args, **_kwargs): |
74 | val = apply(stattoolc.wxToolBarToolBase_GetToolBar,(self,) + _args, _kwargs) | |
75 | if val: val = wxToolBarBasePtr(val) | |
76 | return val | |
77 | def IsButton(self, *_args, **_kwargs): | |
78 | val = apply(stattoolc.wxToolBarToolBase_IsButton,(self,) + _args, _kwargs) | |
79 | return val | |
80 | def IsControl(self, *_args, **_kwargs): | |
81 | val = apply(stattoolc.wxToolBarToolBase_IsControl,(self,) + _args, _kwargs) | |
82 | return val | |
83 | def IsSeparator(self, *_args, **_kwargs): | |
84 | val = apply(stattoolc.wxToolBarToolBase_IsSeparator,(self,) + _args, _kwargs) | |
85 | return val | |
86 | def GetStyle(self, *_args, **_kwargs): | |
87 | val = apply(stattoolc.wxToolBarToolBase_GetStyle,(self,) + _args, _kwargs) | |
88 | return val | |
89 | def IsEnabled(self, *_args, **_kwargs): | |
90 | val = apply(stattoolc.wxToolBarToolBase_IsEnabled,(self,) + _args, _kwargs) | |
91 | return val | |
92 | def IsToggled(self, *_args, **_kwargs): | |
93 | val = apply(stattoolc.wxToolBarToolBase_IsToggled,(self,) + _args, _kwargs) | |
94 | return val | |
95 | def CanBeToggled(self, *_args, **_kwargs): | |
96 | val = apply(stattoolc.wxToolBarToolBase_CanBeToggled,(self,) + _args, _kwargs) | |
97 | return val | |
98 | def GetBitmap1(self, *_args, **_kwargs): | |
99 | val = apply(stattoolc.wxToolBarToolBase_GetBitmap1,(self,) + _args, _kwargs) | |
100 | if val: val = wxBitmapPtr(val) | |
101 | return val | |
102 | def GetBitmap2(self, *_args, **_kwargs): | |
103 | val = apply(stattoolc.wxToolBarToolBase_GetBitmap2,(self,) + _args, _kwargs) | |
104 | if val: val = wxBitmapPtr(val) | |
105 | return val | |
106 | def GetBitmap(self, *_args, **_kwargs): | |
107 | val = apply(stattoolc.wxToolBarToolBase_GetBitmap,(self,) + _args, _kwargs) | |
108 | if val: val = wxBitmapPtr(val) | |
109 | return val | |
110 | def GetShortHelp(self, *_args, **_kwargs): | |
111 | val = apply(stattoolc.wxToolBarToolBase_GetShortHelp,(self,) + _args, _kwargs) | |
112 | return val | |
113 | def GetLongHelp(self, *_args, **_kwargs): | |
114 | val = apply(stattoolc.wxToolBarToolBase_GetLongHelp,(self,) + _args, _kwargs) | |
115 | return val | |
116 | def Enable(self, *_args, **_kwargs): | |
117 | val = apply(stattoolc.wxToolBarToolBase_Enable,(self,) + _args, _kwargs) | |
118 | return val | |
119 | def Toggle(self, *_args, **_kwargs): | |
120 | val = apply(stattoolc.wxToolBarToolBase_Toggle,(self,) + _args, _kwargs) | |
121 | return val | |
122 | def SetToggle(self, *_args, **_kwargs): | |
123 | val = apply(stattoolc.wxToolBarToolBase_SetToggle,(self,) + _args, _kwargs) | |
124 | return val | |
125 | def SetShortHelp(self, *_args, **_kwargs): | |
126 | val = apply(stattoolc.wxToolBarToolBase_SetShortHelp,(self,) + _args, _kwargs) | |
127 | return val | |
128 | def SetLongHelp(self, *_args, **_kwargs): | |
129 | val = apply(stattoolc.wxToolBarToolBase_SetLongHelp,(self,) + _args, _kwargs) | |
130 | return val | |
131 | def SetBitmap1(self, *_args, **_kwargs): | |
132 | val = apply(stattoolc.wxToolBarToolBase_SetBitmap1,(self,) + _args, _kwargs) | |
133 | return val | |
134 | def SetBitmap2(self, *_args, **_kwargs): | |
135 | val = apply(stattoolc.wxToolBarToolBase_SetBitmap2,(self,) + _args, _kwargs) | |
136 | return val | |
137 | def Detach(self, *_args, **_kwargs): | |
138 | val = apply(stattoolc.wxToolBarToolBase_Detach,(self,) + _args, _kwargs) | |
139 | return val | |
140 | def Attach(self, *_args, **_kwargs): | |
141 | val = apply(stattoolc.wxToolBarToolBase_Attach,(self,) + _args, _kwargs) | |
142 | return val | |
143 | def GetClientData(self, *_args, **_kwargs): | |
144 | val = apply(stattoolc.wxToolBarToolBase_GetClientData,(self,) + _args, _kwargs) | |
145 | return val | |
146 | def SetClientData(self, *_args, **_kwargs): | |
147 | val = apply(stattoolc.wxToolBarToolBase_SetClientData,(self,) + _args, _kwargs) | |
148 | return val | |
9c039d08 | 149 | def __repr__(self): |
9b3d3bc4 RD |
150 | return "<C wxToolBarToolBase instance at %s>" % (self.this,) |
151 | class wxToolBarToolBase(wxToolBarToolBasePtr): | |
152 | def __init__(self,this): | |
153 | self.this = this | |
9c039d08 RD |
154 | |
155 | ||
156 | ||
157 | ||
9b3d3bc4 | 158 | class wxToolBarBasePtr(wxControlPtr): |
9c039d08 RD |
159 | def __init__(self,this): |
160 | self.this = this | |
161 | self.thisown = 0 | |
9b3d3bc4 RD |
162 | def AddTool(self, *_args, **_kwargs): |
163 | val = apply(stattoolc.wxToolBarBase_AddTool,(self,) + _args, _kwargs) | |
164 | if val: val = wxToolBarToolBasePtr(val) | |
6999b0d8 | 165 | return val |
9b3d3bc4 RD |
166 | def AddSimpleTool(self, *_args, **_kwargs): |
167 | val = apply(stattoolc.wxToolBarBase_AddSimpleTool,(self,) + _args, _kwargs) | |
168 | if val: val = wxToolBarToolBasePtr(val) | |
9c039d08 | 169 | return val |
9b3d3bc4 RD |
170 | def InsertTool(self, *_args, **_kwargs): |
171 | val = apply(stattoolc.wxToolBarBase_InsertTool,(self,) + _args, _kwargs) | |
172 | if val: val = wxToolBarToolBasePtr(val) | |
6999b0d8 | 173 | return val |
9b3d3bc4 RD |
174 | def InsertSimpleTool(self, *_args, **_kwargs): |
175 | val = apply(stattoolc.wxToolBarBase_InsertSimpleTool,(self,) + _args, _kwargs) | |
176 | if val: val = wxToolBarToolBasePtr(val) | |
08127323 | 177 | return val |
9b3d3bc4 RD |
178 | def AddControl(self, *_args, **_kwargs): |
179 | val = apply(stattoolc.wxToolBarBase_AddControl,(self,) + _args, _kwargs) | |
180 | if val: val = wxToolBarToolBasePtr(val) | |
9c039d08 | 181 | return val |
9b3d3bc4 RD |
182 | def InsertControl(self, *_args, **_kwargs): |
183 | val = apply(stattoolc.wxToolBarBase_InsertControl,(self,) + _args, _kwargs) | |
184 | if val: val = wxToolBarToolBasePtr(val) | |
9c039d08 | 185 | return val |
9b3d3bc4 RD |
186 | def AddSeparator(self, *_args, **_kwargs): |
187 | val = apply(stattoolc.wxToolBarBase_AddSeparator,(self,) + _args, _kwargs) | |
188 | if val: val = wxToolBarToolBasePtr(val) | |
9c039d08 | 189 | return val |
9b3d3bc4 RD |
190 | def InsertSeparator(self, *_args, **_kwargs): |
191 | val = apply(stattoolc.wxToolBarBase_InsertSeparator,(self,) + _args, _kwargs) | |
192 | if val: val = wxToolBarToolBasePtr(val) | |
9c039d08 | 193 | return val |
9b3d3bc4 RD |
194 | def RemoveTool(self, *_args, **_kwargs): |
195 | val = apply(stattoolc.wxToolBarBase_RemoveTool,(self,) + _args, _kwargs) | |
196 | if val: val = wxToolBarToolBasePtr(val) | |
9c039d08 | 197 | return val |
9b3d3bc4 RD |
198 | def DeleteToolByPos(self, *_args, **_kwargs): |
199 | val = apply(stattoolc.wxToolBarBase_DeleteToolByPos,(self,) + _args, _kwargs) | |
be4d9c1f | 200 | return val |
9b3d3bc4 RD |
201 | def DeleteTool(self, *_args, **_kwargs): |
202 | val = apply(stattoolc.wxToolBarBase_DeleteTool,(self,) + _args, _kwargs) | |
6999b0d8 | 203 | return val |
9b3d3bc4 RD |
204 | def ClearTools(self, *_args, **_kwargs): |
205 | val = apply(stattoolc.wxToolBarBase_ClearTools,(self,) + _args, _kwargs) | |
9c039d08 | 206 | return val |
9b3d3bc4 RD |
207 | def Realize(self, *_args, **_kwargs): |
208 | val = apply(stattoolc.wxToolBarBase_Realize,(self,) + _args, _kwargs) | |
9c039d08 | 209 | return val |
9b3d3bc4 RD |
210 | def EnableTool(self, *_args, **_kwargs): |
211 | val = apply(stattoolc.wxToolBarBase_EnableTool,(self,) + _args, _kwargs) | |
9c039d08 | 212 | return val |
9b3d3bc4 RD |
213 | def ToggleTool(self, *_args, **_kwargs): |
214 | val = apply(stattoolc.wxToolBarBase_ToggleTool,(self,) + _args, _kwargs) | |
9c039d08 | 215 | return val |
9b3d3bc4 RD |
216 | def SetToggle(self, *_args, **_kwargs): |
217 | val = apply(stattoolc.wxToolBarBase_SetToggle,(self,) + _args, _kwargs) | |
9c039d08 | 218 | return val |
9b3d3bc4 RD |
219 | def GetToolClientData(self, *_args, **_kwargs): |
220 | val = apply(stattoolc.wxToolBarBase_GetToolClientData,(self,) + _args, _kwargs) | |
221 | return val | |
222 | def SetToolClientData(self, *_args, **_kwargs): | |
223 | val = apply(stattoolc.wxToolBarBase_SetToolClientData,(self,) + _args, _kwargs) | |
9c039d08 | 224 | return val |
1d99702e | 225 | def GetToolState(self, *_args, **_kwargs): |
9b3d3bc4 | 226 | val = apply(stattoolc.wxToolBarBase_GetToolState,(self,) + _args, _kwargs) |
9c039d08 | 227 | return val |
9b3d3bc4 RD |
228 | def GetToolEnabled(self, *_args, **_kwargs): |
229 | val = apply(stattoolc.wxToolBarBase_GetToolEnabled,(self,) + _args, _kwargs) | |
230 | return val | |
231 | def SetToolShortHelp(self, *_args, **_kwargs): | |
232 | val = apply(stattoolc.wxToolBarBase_SetToolShortHelp,(self,) + _args, _kwargs) | |
233 | return val | |
234 | def GetToolShortHelp(self, *_args, **_kwargs): | |
235 | val = apply(stattoolc.wxToolBarBase_GetToolShortHelp,(self,) + _args, _kwargs) | |
9c039d08 | 236 | return val |
1d99702e | 237 | def SetToolLongHelp(self, *_args, **_kwargs): |
9b3d3bc4 | 238 | val = apply(stattoolc.wxToolBarBase_SetToolLongHelp,(self,) + _args, _kwargs) |
9c039d08 | 239 | return val |
9b3d3bc4 RD |
240 | def GetToolLongHelp(self, *_args, **_kwargs): |
241 | val = apply(stattoolc.wxToolBarBase_GetToolLongHelp,(self,) + _args, _kwargs) | |
242 | return val | |
243 | def SetMarginsXY(self, *_args, **_kwargs): | |
244 | val = apply(stattoolc.wxToolBarBase_SetMarginsXY,(self,) + _args, _kwargs) | |
d5c9047a | 245 | return val |
1d99702e | 246 | def SetMargins(self, *_args, **_kwargs): |
9b3d3bc4 | 247 | val = apply(stattoolc.wxToolBarBase_SetMargins,(self,) + _args, _kwargs) |
d5c9047a | 248 | return val |
1d99702e | 249 | def SetToolPacking(self, *_args, **_kwargs): |
9b3d3bc4 | 250 | val = apply(stattoolc.wxToolBarBase_SetToolPacking,(self,) + _args, _kwargs) |
9c039d08 | 251 | return val |
1d99702e | 252 | def SetToolSeparation(self, *_args, **_kwargs): |
9b3d3bc4 | 253 | val = apply(stattoolc.wxToolBarBase_SetToolSeparation,(self,) + _args, _kwargs) |
9c039d08 | 254 | return val |
9b3d3bc4 RD |
255 | def GetToolMargins(self, *_args, **_kwargs): |
256 | val = apply(stattoolc.wxToolBarBase_GetToolMargins,(self,) + _args, _kwargs) | |
257 | if val: val = wxSizePtr(val) ; val.thisown = 1 | |
9c039d08 | 258 | return val |
83b18bab RD |
259 | def GetMargins(self, *_args, **_kwargs): |
260 | val = apply(stattoolc.wxToolBarBase_GetMargins,(self,) + _args, _kwargs) | |
261 | if val: val = wxSizePtr(val) ; val.thisown = 1 | |
262 | return val | |
9b3d3bc4 RD |
263 | def GetToolPacking(self, *_args, **_kwargs): |
264 | val = apply(stattoolc.wxToolBarBase_GetToolPacking,(self,) + _args, _kwargs) | |
265 | return val | |
266 | def GetToolSeparation(self, *_args, **_kwargs): | |
267 | val = apply(stattoolc.wxToolBarBase_GetToolSeparation,(self,) + _args, _kwargs) | |
268 | return val | |
269 | def SetRows(self, *_args, **_kwargs): | |
270 | val = apply(stattoolc.wxToolBarBase_SetRows,(self,) + _args, _kwargs) | |
6999b0d8 RD |
271 | return val |
272 | def SetMaxRowsCols(self, *_args, **_kwargs): | |
9b3d3bc4 | 273 | val = apply(stattoolc.wxToolBarBase_SetMaxRowsCols,(self,) + _args, _kwargs) |
6999b0d8 RD |
274 | return val |
275 | def GetMaxRows(self, *_args, **_kwargs): | |
9b3d3bc4 | 276 | val = apply(stattoolc.wxToolBarBase_GetMaxRows,(self,) + _args, _kwargs) |
6999b0d8 RD |
277 | return val |
278 | def GetMaxCols(self, *_args, **_kwargs): | |
9b3d3bc4 RD |
279 | val = apply(stattoolc.wxToolBarBase_GetMaxCols,(self,) + _args, _kwargs) |
280 | return val | |
281 | def SetToolBitmapSize(self, *_args, **_kwargs): | |
282 | val = apply(stattoolc.wxToolBarBase_SetToolBitmapSize,(self,) + _args, _kwargs) | |
283 | return val | |
284 | def GetToolBitmapSize(self, *_args, **_kwargs): | |
285 | val = apply(stattoolc.wxToolBarBase_GetToolBitmapSize,(self,) + _args, _kwargs) | |
286 | if val: val = wxSizePtr(val) ; val.thisown = 1 | |
287 | return val | |
288 | def GetToolSize(self, *_args, **_kwargs): | |
289 | val = apply(stattoolc.wxToolBarBase_GetToolSize,(self,) + _args, _kwargs) | |
290 | if val: val = wxSizePtr(val) ; val.thisown = 1 | |
291 | return val | |
292 | def __repr__(self): | |
293 | return "<C wxToolBarBase instance at %s>" % (self.this,) | |
294 | class wxToolBarBase(wxToolBarBasePtr): | |
295 | def __init__(self,this): | |
296 | self.this = this | |
297 | ||
298 | ||
299 | ||
300 | ||
301 | class wxToolBarPtr(wxToolBarBasePtr): | |
302 | def __init__(self,this): | |
303 | self.this = this | |
304 | self.thisown = 0 | |
305 | def FindToolForPosition(self, *_args, **_kwargs): | |
306 | val = apply(stattoolc.wxToolBar_FindToolForPosition,(self,) + _args, _kwargs) | |
307 | if val: val = wxToolBarToolBasePtr(val) | |
6999b0d8 | 308 | return val |
9c039d08 | 309 | def __repr__(self): |
1d99702e | 310 | return "<C wxToolBar instance at %s>" % (self.this,) |
9c039d08 | 311 | class wxToolBar(wxToolBarPtr): |
1d99702e RD |
312 | def __init__(self,*_args,**_kwargs): |
313 | self.this = apply(stattoolc.new_wxToolBar,_args,_kwargs) | |
9c039d08 | 314 | self.thisown = 1 |
f6bcfd97 | 315 | #wx._StdWindowCallbacks(self) |
9c039d08 RD |
316 | |
317 | ||
318 | ||
319 | ||
9b3d3bc4 RD |
320 | class wxToolBarSimplePtr(wxToolBarBasePtr): |
321 | def __init__(self,this): | |
322 | self.this = this | |
323 | self.thisown = 0 | |
324 | def FindToolForPosition(self, *_args, **_kwargs): | |
325 | val = apply(stattoolc.wxToolBarSimple_FindToolForPosition,(self,) + _args, _kwargs) | |
326 | if val: val = wxToolBarToolBasePtr(val) | |
327 | return val | |
328 | def __repr__(self): | |
329 | return "<C wxToolBarSimple instance at %s>" % (self.this,) | |
330 | class wxToolBarSimple(wxToolBarSimplePtr): | |
331 | def __init__(self,*_args,**_kwargs): | |
332 | self.this = apply(stattoolc.new_wxToolBarSimple,_args,_kwargs) | |
333 | self.thisown = 1 | |
f6bcfd97 | 334 | #wx._StdWindowCallbacks(self) |
9b3d3bc4 RD |
335 | |
336 | ||
337 | ||
338 | ||
9c039d08 RD |
339 | |
340 | ||
341 | #-------------- FUNCTION WRAPPERS ------------------ | |
342 | ||
343 | ||
344 | ||
345 | #-------------- VARIABLE WRAPPERS ------------------ | |
346 | ||
9b3d3bc4 RD |
347 | wxTOOL_STYLE_BUTTON = stattoolc.wxTOOL_STYLE_BUTTON |
348 | wxTOOL_STYLE_SEPARATOR = stattoolc.wxTOOL_STYLE_SEPARATOR | |
349 | wxTOOL_STYLE_CONTROL = stattoolc.wxTOOL_STYLE_CONTROL |