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