]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/stattool.py
Mention wxCURSOR_BLANK
[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
0220cbc1 57 self._setOORInfo(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
17c0e08c 64 val._setOORInfo(val)
aa2a5b86
RD
65 return val
66
9c039d08 67
9df61a29 68class wxToolBarToolBasePtr(wxObjectPtr):
9c039d08
RD
69 def __init__(self,this):
70 self.this = this
71 self.thisown = 0
9b3d3bc4
RD
72 def Destroy(self, *_args, **_kwargs):
73 val = apply(stattoolc.wxToolBarToolBase_Destroy,(self,) + _args, _kwargs)
9c039d08 74 return val
9b3d3bc4
RD
75 def GetId(self, *_args, **_kwargs):
76 val = apply(stattoolc.wxToolBarToolBase_GetId,(self,) + _args, _kwargs)
9c039d08 77 return val
6999b0d8 78 def GetControl(self, *_args, **_kwargs):
9b3d3bc4 79 val = apply(stattoolc.wxToolBarToolBase_GetControl,(self,) + _args, _kwargs)
6999b0d8 80 return val
9b3d3bc4
RD
81 def GetToolBar(self, *_args, **_kwargs):
82 val = apply(stattoolc.wxToolBarToolBase_GetToolBar,(self,) + _args, _kwargs)
9b3d3bc4
RD
83 return val
84 def IsButton(self, *_args, **_kwargs):
85 val = apply(stattoolc.wxToolBarToolBase_IsButton,(self,) + _args, _kwargs)
86 return val
87 def IsControl(self, *_args, **_kwargs):
88 val = apply(stattoolc.wxToolBarToolBase_IsControl,(self,) + _args, _kwargs)
89 return val
90 def IsSeparator(self, *_args, **_kwargs):
91 val = apply(stattoolc.wxToolBarToolBase_IsSeparator,(self,) + _args, _kwargs)
92 return val
93 def GetStyle(self, *_args, **_kwargs):
94 val = apply(stattoolc.wxToolBarToolBase_GetStyle,(self,) + _args, _kwargs)
95 return val
be86ffe3
RD
96 def GetKind(self, *_args, **_kwargs):
97 val = apply(stattoolc.wxToolBarToolBase_GetKind,(self,) + _args, _kwargs)
98 return val
9b3d3bc4
RD
99 def IsEnabled(self, *_args, **_kwargs):
100 val = apply(stattoolc.wxToolBarToolBase_IsEnabled,(self,) + _args, _kwargs)
101 return val
102 def IsToggled(self, *_args, **_kwargs):
103 val = apply(stattoolc.wxToolBarToolBase_IsToggled,(self,) + _args, _kwargs)
104 return val
105 def CanBeToggled(self, *_args, **_kwargs):
106 val = apply(stattoolc.wxToolBarToolBase_CanBeToggled,(self,) + _args, _kwargs)
107 return val
f0972d1e
RD
108 def GetNormalBitmap(self, *_args, **_kwargs):
109 val = apply(stattoolc.wxToolBarToolBase_GetNormalBitmap,(self,) + _args, _kwargs)
110 if val: val = wxBitmapPtr(val)
9b3d3bc4 111 return val
f0972d1e
RD
112 def GetDisabledBitmap(self, *_args, **_kwargs):
113 val = apply(stattoolc.wxToolBarToolBase_GetDisabledBitmap,(self,) + _args, _kwargs)
114 if val: val = wxBitmapPtr(val)
9b3d3bc4
RD
115 return val
116 def GetBitmap(self, *_args, **_kwargs):
117 val = apply(stattoolc.wxToolBarToolBase_GetBitmap,(self,) + _args, _kwargs)
3e212503 118 if val: val = wxBitmapPtr(val) ; val.thisown = 1
9b3d3bc4 119 return val
f0972d1e
RD
120 def GetLabel(self, *_args, **_kwargs):
121 val = apply(stattoolc.wxToolBarToolBase_GetLabel,(self,) + _args, _kwargs)
122 return val
9b3d3bc4
RD
123 def GetShortHelp(self, *_args, **_kwargs):
124 val = apply(stattoolc.wxToolBarToolBase_GetShortHelp,(self,) + _args, _kwargs)
125 return val
126 def GetLongHelp(self, *_args, **_kwargs):
127 val = apply(stattoolc.wxToolBarToolBase_GetLongHelp,(self,) + _args, _kwargs)
128 return val
129 def Enable(self, *_args, **_kwargs):
130 val = apply(stattoolc.wxToolBarToolBase_Enable,(self,) + _args, _kwargs)
131 return val
132 def Toggle(self, *_args, **_kwargs):
133 val = apply(stattoolc.wxToolBarToolBase_Toggle,(self,) + _args, _kwargs)
134 return val
135 def SetToggle(self, *_args, **_kwargs):
136 val = apply(stattoolc.wxToolBarToolBase_SetToggle,(self,) + _args, _kwargs)
137 return val
138 def SetShortHelp(self, *_args, **_kwargs):
139 val = apply(stattoolc.wxToolBarToolBase_SetShortHelp,(self,) + _args, _kwargs)
140 return val
141 def SetLongHelp(self, *_args, **_kwargs):
142 val = apply(stattoolc.wxToolBarToolBase_SetLongHelp,(self,) + _args, _kwargs)
143 return val
f0972d1e
RD
144 def SetNormalBitmap(self, *_args, **_kwargs):
145 val = apply(stattoolc.wxToolBarToolBase_SetNormalBitmap,(self,) + _args, _kwargs)
9b3d3bc4 146 return val
f0972d1e
RD
147 def SetDisabledBitmap(self, *_args, **_kwargs):
148 val = apply(stattoolc.wxToolBarToolBase_SetDisabledBitmap,(self,) + _args, _kwargs)
149 return val
150 def SetLabel(self, *_args, **_kwargs):
151 val = apply(stattoolc.wxToolBarToolBase_SetLabel,(self,) + _args, _kwargs)
9b3d3bc4
RD
152 return val
153 def Detach(self, *_args, **_kwargs):
154 val = apply(stattoolc.wxToolBarToolBase_Detach,(self,) + _args, _kwargs)
155 return val
156 def Attach(self, *_args, **_kwargs):
157 val = apply(stattoolc.wxToolBarToolBase_Attach,(self,) + _args, _kwargs)
158 return val
159 def GetClientData(self, *_args, **_kwargs):
160 val = apply(stattoolc.wxToolBarToolBase_GetClientData,(self,) + _args, _kwargs)
161 return val
162 def SetClientData(self, *_args, **_kwargs):
163 val = apply(stattoolc.wxToolBarToolBase_SetClientData,(self,) + _args, _kwargs)
164 return val
9c039d08 165 def __repr__(self):
9b3d3bc4 166 return "<C wxToolBarToolBase instance at %s>" % (self.this,)
f0972d1e
RD
167
168 GetBitmap1 = GetNormalBitmap
169 GetBitmap2 = GetDisabledBitmap
170 SetBitmap1 = SetNormalBitmap
171 SetBitmap2 = SetDisabledBitmap
172
9b3d3bc4
RD
173class wxToolBarToolBase(wxToolBarToolBasePtr):
174 def __init__(self,this):
175 self.this = this
9c039d08
RD
176
177
178
179
9b3d3bc4 180class wxToolBarBasePtr(wxControlPtr):
9c039d08
RD
181 def __init__(self,this):
182 self.this = this
183 self.thisown = 0
9b3d3bc4
RD
184 def AddTool(self, *_args, **_kwargs):
185 val = apply(stattoolc.wxToolBarBase_AddTool,(self,) + _args, _kwargs)
6999b0d8 186 return val
9b3d3bc4
RD
187 def AddSimpleTool(self, *_args, **_kwargs):
188 val = apply(stattoolc.wxToolBarBase_AddSimpleTool,(self,) + _args, _kwargs)
9c039d08 189 return val
be86ffe3
RD
190 def AddCheckTool(self, *_args, **_kwargs):
191 val = apply(stattoolc.wxToolBarBase_AddCheckTool,(self,) + _args, _kwargs)
192 return val
193 def AddRadioTool(self, *_args, **_kwargs):
194 val = apply(stattoolc.wxToolBarBase_AddRadioTool,(self,) + _args, _kwargs)
195 return val
9b3d3bc4
RD
196 def InsertTool(self, *_args, **_kwargs):
197 val = apply(stattoolc.wxToolBarBase_InsertTool,(self,) + _args, _kwargs)
6999b0d8 198 return val
9b3d3bc4
RD
199 def InsertSimpleTool(self, *_args, **_kwargs):
200 val = apply(stattoolc.wxToolBarBase_InsertSimpleTool,(self,) + _args, _kwargs)
08127323 201 return val
9b3d3bc4
RD
202 def AddControl(self, *_args, **_kwargs):
203 val = apply(stattoolc.wxToolBarBase_AddControl,(self,) + _args, _kwargs)
9c039d08 204 return val
9b3d3bc4
RD
205 def InsertControl(self, *_args, **_kwargs):
206 val = apply(stattoolc.wxToolBarBase_InsertControl,(self,) + _args, _kwargs)
9c039d08 207 return val
9b3d3bc4
RD
208 def AddSeparator(self, *_args, **_kwargs):
209 val = apply(stattoolc.wxToolBarBase_AddSeparator,(self,) + _args, _kwargs)
9c039d08 210 return val
9b3d3bc4
RD
211 def InsertSeparator(self, *_args, **_kwargs):
212 val = apply(stattoolc.wxToolBarBase_InsertSeparator,(self,) + _args, _kwargs)
9c039d08 213 return val
9b3d3bc4
RD
214 def RemoveTool(self, *_args, **_kwargs):
215 val = apply(stattoolc.wxToolBarBase_RemoveTool,(self,) + _args, _kwargs)
9c039d08 216 return val
9b3d3bc4
RD
217 def DeleteToolByPos(self, *_args, **_kwargs):
218 val = apply(stattoolc.wxToolBarBase_DeleteToolByPos,(self,) + _args, _kwargs)
be4d9c1f 219 return val
9b3d3bc4
RD
220 def DeleteTool(self, *_args, **_kwargs):
221 val = apply(stattoolc.wxToolBarBase_DeleteTool,(self,) + _args, _kwargs)
6999b0d8 222 return val
9b3d3bc4
RD
223 def ClearTools(self, *_args, **_kwargs):
224 val = apply(stattoolc.wxToolBarBase_ClearTools,(self,) + _args, _kwargs)
9c039d08 225 return val
9b3d3bc4
RD
226 def Realize(self, *_args, **_kwargs):
227 val = apply(stattoolc.wxToolBarBase_Realize,(self,) + _args, _kwargs)
9c039d08 228 return val
9b3d3bc4
RD
229 def EnableTool(self, *_args, **_kwargs):
230 val = apply(stattoolc.wxToolBarBase_EnableTool,(self,) + _args, _kwargs)
9c039d08 231 return val
9b3d3bc4
RD
232 def ToggleTool(self, *_args, **_kwargs):
233 val = apply(stattoolc.wxToolBarBase_ToggleTool,(self,) + _args, _kwargs)
9c039d08 234 return val
9b3d3bc4
RD
235 def SetToggle(self, *_args, **_kwargs):
236 val = apply(stattoolc.wxToolBarBase_SetToggle,(self,) + _args, _kwargs)
9c039d08 237 return val
9b3d3bc4
RD
238 def GetToolClientData(self, *_args, **_kwargs):
239 val = apply(stattoolc.wxToolBarBase_GetToolClientData,(self,) + _args, _kwargs)
240 return val
241 def SetToolClientData(self, *_args, **_kwargs):
242 val = apply(stattoolc.wxToolBarBase_SetToolClientData,(self,) + _args, _kwargs)
9c039d08 243 return val
1d99702e 244 def GetToolState(self, *_args, **_kwargs):
9b3d3bc4 245 val = apply(stattoolc.wxToolBarBase_GetToolState,(self,) + _args, _kwargs)
9c039d08 246 return val
9b3d3bc4
RD
247 def GetToolEnabled(self, *_args, **_kwargs):
248 val = apply(stattoolc.wxToolBarBase_GetToolEnabled,(self,) + _args, _kwargs)
249 return val
250 def SetToolShortHelp(self, *_args, **_kwargs):
251 val = apply(stattoolc.wxToolBarBase_SetToolShortHelp,(self,) + _args, _kwargs)
252 return val
253 def GetToolShortHelp(self, *_args, **_kwargs):
254 val = apply(stattoolc.wxToolBarBase_GetToolShortHelp,(self,) + _args, _kwargs)
9c039d08 255 return val
1d99702e 256 def SetToolLongHelp(self, *_args, **_kwargs):
9b3d3bc4 257 val = apply(stattoolc.wxToolBarBase_SetToolLongHelp,(self,) + _args, _kwargs)
9c039d08 258 return val
9b3d3bc4
RD
259 def GetToolLongHelp(self, *_args, **_kwargs):
260 val = apply(stattoolc.wxToolBarBase_GetToolLongHelp,(self,) + _args, _kwargs)
261 return val
262 def SetMarginsXY(self, *_args, **_kwargs):
263 val = apply(stattoolc.wxToolBarBase_SetMarginsXY,(self,) + _args, _kwargs)
d5c9047a 264 return val
1d99702e 265 def SetMargins(self, *_args, **_kwargs):
9b3d3bc4 266 val = apply(stattoolc.wxToolBarBase_SetMargins,(self,) + _args, _kwargs)
d5c9047a 267 return val
1d99702e 268 def SetToolPacking(self, *_args, **_kwargs):
9b3d3bc4 269 val = apply(stattoolc.wxToolBarBase_SetToolPacking,(self,) + _args, _kwargs)
9c039d08 270 return val
1d99702e 271 def SetToolSeparation(self, *_args, **_kwargs):
9b3d3bc4 272 val = apply(stattoolc.wxToolBarBase_SetToolSeparation,(self,) + _args, _kwargs)
9c039d08 273 return val
9b3d3bc4
RD
274 def GetToolMargins(self, *_args, **_kwargs):
275 val = apply(stattoolc.wxToolBarBase_GetToolMargins,(self,) + _args, _kwargs)
276 if val: val = wxSizePtr(val) ; val.thisown = 1
9c039d08 277 return val
5e40f9dd
RD
278 def GetMargins(self, *_args, **_kwargs):
279 val = apply(stattoolc.wxToolBarBase_GetMargins,(self,) + _args, _kwargs)
280 if val: val = wxSizePtr(val) ; val.thisown = 1
281 return val
9b3d3bc4
RD
282 def GetToolPacking(self, *_args, **_kwargs):
283 val = apply(stattoolc.wxToolBarBase_GetToolPacking,(self,) + _args, _kwargs)
284 return val
285 def GetToolSeparation(self, *_args, **_kwargs):
286 val = apply(stattoolc.wxToolBarBase_GetToolSeparation,(self,) + _args, _kwargs)
287 return val
288 def SetRows(self, *_args, **_kwargs):
289 val = apply(stattoolc.wxToolBarBase_SetRows,(self,) + _args, _kwargs)
6999b0d8
RD
290 return val
291 def SetMaxRowsCols(self, *_args, **_kwargs):
9b3d3bc4 292 val = apply(stattoolc.wxToolBarBase_SetMaxRowsCols,(self,) + _args, _kwargs)
6999b0d8
RD
293 return val
294 def GetMaxRows(self, *_args, **_kwargs):
9b3d3bc4 295 val = apply(stattoolc.wxToolBarBase_GetMaxRows,(self,) + _args, _kwargs)
6999b0d8
RD
296 return val
297 def GetMaxCols(self, *_args, **_kwargs):
9b3d3bc4
RD
298 val = apply(stattoolc.wxToolBarBase_GetMaxCols,(self,) + _args, _kwargs)
299 return val
300 def SetToolBitmapSize(self, *_args, **_kwargs):
301 val = apply(stattoolc.wxToolBarBase_SetToolBitmapSize,(self,) + _args, _kwargs)
302 return val
303 def GetToolBitmapSize(self, *_args, **_kwargs):
304 val = apply(stattoolc.wxToolBarBase_GetToolBitmapSize,(self,) + _args, _kwargs)
305 if val: val = wxSizePtr(val) ; val.thisown = 1
306 return val
307 def GetToolSize(self, *_args, **_kwargs):
308 val = apply(stattoolc.wxToolBarBase_GetToolSize,(self,) + _args, _kwargs)
309 if val: val = wxSizePtr(val) ; val.thisown = 1
310 return val
f0972d1e
RD
311 def FindToolForPosition(self, *_args, **_kwargs):
312 val = apply(stattoolc.wxToolBarBase_FindToolForPosition,(self,) + _args, _kwargs)
313 return val
314 def IsVertical(self, *_args, **_kwargs):
315 val = apply(stattoolc.wxToolBarBase_IsVertical,(self,) + _args, _kwargs)
316 return val
9b3d3bc4
RD
317 def __repr__(self):
318 return "<C wxToolBarBase instance at %s>" % (self.this,)
319class wxToolBarBase(wxToolBarBasePtr):
320 def __init__(self,this):
321 self.this = this
322
323
324
325
326class wxToolBarPtr(wxToolBarBasePtr):
327 def __init__(self,this):
328 self.this = this
329 self.thisown = 0
aa2a5b86
RD
330 def Create(self, *_args, **_kwargs):
331 val = apply(stattoolc.wxToolBar_Create,(self,) + _args, _kwargs)
332 return val
9b3d3bc4
RD
333 def FindToolForPosition(self, *_args, **_kwargs):
334 val = apply(stattoolc.wxToolBar_FindToolForPosition,(self,) + _args, _kwargs)
6999b0d8 335 return val
9c039d08 336 def __repr__(self):
1d99702e 337 return "<C wxToolBar instance at %s>" % (self.this,)
9c039d08 338class wxToolBar(wxToolBarPtr):
1d99702e
RD
339 def __init__(self,*_args,**_kwargs):
340 self.this = apply(stattoolc.new_wxToolBar,_args,_kwargs)
9c039d08 341 self.thisown = 1
0220cbc1 342 self._setOORInfo(self)
9c039d08
RD
343
344
345
aa2a5b86
RD
346def wxPreToolBar(*_args,**_kwargs):
347 val = wxToolBarPtr(apply(stattoolc.new_wxPreToolBar,_args,_kwargs))
348 val.thisown = 1
17c0e08c 349 val._setOORInfo(val)
aa2a5b86
RD
350 return val
351
9c039d08 352
9b3d3bc4
RD
353class wxToolBarSimplePtr(wxToolBarBasePtr):
354 def __init__(self,this):
355 self.this = this
356 self.thisown = 0
aa2a5b86
RD
357 def Create(self, *_args, **_kwargs):
358 val = apply(stattoolc.wxToolBarSimple_Create,(self,) + _args, _kwargs)
359 return val
9b3d3bc4
RD
360 def FindToolForPosition(self, *_args, **_kwargs):
361 val = apply(stattoolc.wxToolBarSimple_FindToolForPosition,(self,) + _args, _kwargs)
9b3d3bc4
RD
362 return val
363 def __repr__(self):
364 return "<C wxToolBarSimple instance at %s>" % (self.this,)
365class wxToolBarSimple(wxToolBarSimplePtr):
366 def __init__(self,*_args,**_kwargs):
367 self.this = apply(stattoolc.new_wxToolBarSimple,_args,_kwargs)
368 self.thisown = 1
0220cbc1 369 self._setOORInfo(self)
9b3d3bc4
RD
370
371
372
aa2a5b86
RD
373def wxPreToolBarSimple(*_args,**_kwargs):
374 val = wxToolBarSimplePtr(apply(stattoolc.new_wxPreToolBarSimple,_args,_kwargs))
375 val.thisown = 1
17c0e08c 376 val._setOORInfo(val)
aa2a5b86
RD
377 return val
378
9b3d3bc4 379
9c039d08
RD
380
381
382#-------------- FUNCTION WRAPPERS ------------------
383
384
385
386#-------------- VARIABLE WRAPPERS ------------------
387
9b3d3bc4
RD
388wxTOOL_STYLE_BUTTON = stattoolc.wxTOOL_STYLE_BUTTON
389wxTOOL_STYLE_SEPARATOR = stattoolc.wxTOOL_STYLE_SEPARATOR
390wxTOOL_STYLE_CONTROL = stattoolc.wxTOOL_STYLE_CONTROL