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