]>
Commit | Line | Data |
---|---|---|
d24a34bb RD |
1 | # This file was created automatically by SWIG. |
2 | import misc2c | |
3 | ||
4 | from windows import * | |
5 | ||
6 | from misc import * | |
7 | ||
8 | from gdi import * | |
4120ef2b RD |
9 | |
10 | from clip_dnd import * | |
11 | ||
12 | from events import * | |
d24a34bb RD |
13 | class wxToolTipPtr : |
14 | def __init__(self,this): | |
15 | self.this = this | |
16 | self.thisown = 0 | |
2d091820 RD |
17 | def SetTip(self, *_args, **_kwargs): |
18 | val = apply(misc2c.wxToolTip_SetTip,(self,) + _args, _kwargs) | |
d24a34bb | 19 | return val |
2d091820 RD |
20 | def GetTip(self, *_args, **_kwargs): |
21 | val = apply(misc2c.wxToolTip_GetTip,(self,) + _args, _kwargs) | |
d24a34bb | 22 | return val |
2d091820 RD |
23 | def GetWindow(self, *_args, **_kwargs): |
24 | val = apply(misc2c.wxToolTip_GetWindow,(self,) + _args, _kwargs) | |
25 | if val: val = wxWindowPtr(val) | |
d24a34bb RD |
26 | return val |
27 | def __repr__(self): | |
2d091820 | 28 | return "<C wxToolTip instance at %s>" % (self.this,) |
d24a34bb | 29 | class wxToolTip(wxToolTipPtr): |
2d091820 RD |
30 | def __init__(self,*_args,**_kwargs): |
31 | self.this = apply(misc2c.new_wxToolTip,_args,_kwargs) | |
d24a34bb RD |
32 | self.thisown = 1 |
33 | ||
34 | ||
35 | ||
36 | ||
8f17924e RD |
37 | class wxCaretPtr : |
38 | def __init__(self,this): | |
39 | self.this = this | |
40 | self.thisown = 0 | |
41 | def __del__(self,misc2c=misc2c): | |
42 | if self.thisown == 1 : | |
43 | misc2c.delete_wxCaret(self) | |
44 | def IsOk(self, *_args, **_kwargs): | |
45 | val = apply(misc2c.wxCaret_IsOk,(self,) + _args, _kwargs) | |
46 | return val | |
47 | def IsVisible(self, *_args, **_kwargs): | |
48 | val = apply(misc2c.wxCaret_IsVisible,(self,) + _args, _kwargs) | |
49 | return val | |
50 | def GetPositionTuple(self, *_args, **_kwargs): | |
51 | val = apply(misc2c.wxCaret_GetPositionTuple,(self,) + _args, _kwargs) | |
52 | return val | |
53 | def GetPosition(self, *_args, **_kwargs): | |
54 | val = apply(misc2c.wxCaret_GetPosition,(self,) + _args, _kwargs) | |
55 | if val: val = wxPointPtr(val) ; val.thisown = 1 | |
56 | return val | |
57 | def GetSizeTuple(self, *_args, **_kwargs): | |
58 | val = apply(misc2c.wxCaret_GetSizeTuple,(self,) + _args, _kwargs) | |
59 | return val | |
60 | def GetSize(self, *_args, **_kwargs): | |
61 | val = apply(misc2c.wxCaret_GetSize,(self,) + _args, _kwargs) | |
62 | if val: val = wxSizePtr(val) ; val.thisown = 1 | |
63 | return val | |
64 | def GetWindow(self, *_args, **_kwargs): | |
65 | val = apply(misc2c.wxCaret_GetWindow,(self,) + _args, _kwargs) | |
66 | if val: val = wxWindowPtr(val) | |
67 | return val | |
68 | def MoveXY(self, *_args, **_kwargs): | |
69 | val = apply(misc2c.wxCaret_MoveXY,(self,) + _args, _kwargs) | |
70 | return val | |
71 | def Move(self, *_args, **_kwargs): | |
72 | val = apply(misc2c.wxCaret_Move,(self,) + _args, _kwargs) | |
73 | return val | |
74 | def Show(self, *_args, **_kwargs): | |
75 | val = apply(misc2c.wxCaret_Show,(self,) + _args, _kwargs) | |
76 | return val | |
77 | def Hide(self, *_args, **_kwargs): | |
78 | val = apply(misc2c.wxCaret_Hide,(self,) + _args, _kwargs) | |
79 | return val | |
80 | def OnSetFocus(self, *_args, **_kwargs): | |
81 | val = apply(misc2c.wxCaret_OnSetFocus,(self,) + _args, _kwargs) | |
82 | return val | |
83 | def OnKillFocus(self, *_args, **_kwargs): | |
84 | val = apply(misc2c.wxCaret_OnKillFocus,(self,) + _args, _kwargs) | |
85 | return val | |
86 | def __repr__(self): | |
87 | return "<C wxCaret instance at %s>" % (self.this,) | |
88 | class wxCaret(wxCaretPtr): | |
89 | def __init__(self,*_args,**_kwargs): | |
90 | self.this = apply(misc2c.new_wxCaret,_args,_kwargs) | |
91 | self.thisown = 1 | |
92 | ||
93 | ||
94 | ||
95 | ||
4120ef2b RD |
96 | class wxFontEnumeratorPtr : |
97 | def __init__(self,this): | |
98 | self.this = this | |
99 | self.thisown = 0 | |
100 | def __del__(self,misc2c=misc2c): | |
101 | if self.thisown == 1 : | |
102 | misc2c.delete_wxFontEnumerator(self) | |
103 | def _setSelf(self, *_args, **_kwargs): | |
104 | val = apply(misc2c.wxFontEnumerator__setSelf,(self,) + _args, _kwargs) | |
105 | return val | |
106 | def EnumerateFacenames(self, *_args, **_kwargs): | |
107 | val = apply(misc2c.wxFontEnumerator_EnumerateFacenames,(self,) + _args, _kwargs) | |
108 | return val | |
109 | def EnumerateEncodings(self, *_args, **_kwargs): | |
110 | val = apply(misc2c.wxFontEnumerator_EnumerateEncodings,(self,) + _args, _kwargs) | |
111 | return val | |
112 | def GetEncodings(self, *_args, **_kwargs): | |
113 | val = apply(misc2c.wxFontEnumerator_GetEncodings,(self,) + _args, _kwargs) | |
114 | return val | |
115 | def GetFacenames(self, *_args, **_kwargs): | |
116 | val = apply(misc2c.wxFontEnumerator_GetFacenames,(self,) + _args, _kwargs) | |
117 | return val | |
118 | def __repr__(self): | |
119 | return "<C wxFontEnumerator instance at %s>" % (self.this,) | |
120 | class wxFontEnumerator(wxFontEnumeratorPtr): | |
121 | def __init__(self,*_args,**_kwargs): | |
122 | self.this = apply(misc2c.new_wxFontEnumerator,_args,_kwargs) | |
123 | self.thisown = 1 | |
124 | self._setSelf(self) | |
125 | ||
126 | ||
127 | ||
128 | ||
129 | class wxBusyCursorPtr : | |
130 | def __init__(self,this): | |
131 | self.this = this | |
132 | self.thisown = 0 | |
133 | def __del__(self,misc2c=misc2c): | |
134 | if self.thisown == 1 : | |
135 | misc2c.delete_wxBusyCursor(self) | |
136 | def __repr__(self): | |
137 | return "<C wxBusyCursor instance at %s>" % (self.this,) | |
138 | class wxBusyCursor(wxBusyCursorPtr): | |
139 | def __init__(self,*_args,**_kwargs): | |
140 | self.this = apply(misc2c.new_wxBusyCursor,_args,_kwargs) | |
141 | self.thisown = 1 | |
142 | ||
143 | ||
144 | ||
145 | ||
d24a34bb RD |
146 | |
147 | ||
148 | #-------------- FUNCTION WRAPPERS ------------------ | |
149 | ||
bc29c5e0 RD |
150 | wxFileSelector = misc2c.wxFileSelector |
151 | ||
152 | wxGetTextFromUser = misc2c.wxGetTextFromUser | |
153 | ||
154 | wxGetSingleChoice = misc2c.wxGetSingleChoice | |
155 | ||
156 | wxGetSingleChoiceIndex = misc2c.wxGetSingleChoiceIndex | |
157 | ||
158 | wxMessageBox = misc2c.wxMessageBox | |
159 | ||
160 | wxGetNumberFromUser = misc2c.wxGetNumberFromUser | |
161 | ||
162 | wxColourDisplay = misc2c.wxColourDisplay | |
163 | ||
164 | wxDisplayDepth = misc2c.wxDisplayDepth | |
165 | ||
166 | wxSetCursor = misc2c.wxSetCursor | |
167 | ||
2d091820 RD |
168 | def wxFindWindowByLabel(*_args, **_kwargs): |
169 | val = apply(misc2c.wxFindWindowByLabel,_args,_kwargs) | |
170 | if val: val = wxWindowPtr(val) | |
d24a34bb RD |
171 | return val |
172 | ||
2d091820 RD |
173 | def wxFindWindowByName(*_args, **_kwargs): |
174 | val = apply(misc2c.wxFindWindowByName,_args,_kwargs) | |
175 | if val: val = wxWindowPtr(val) | |
d24a34bb RD |
176 | return val |
177 | ||
bc29c5e0 RD |
178 | wxBeginBusyCursor = misc2c.wxBeginBusyCursor |
179 | ||
180 | def wxGetActiveWindow(*_args, **_kwargs): | |
181 | val = apply(misc2c.wxGetActiveWindow,_args,_kwargs) | |
182 | if val: val = wxWindowPtr(val) | |
183 | return val | |
184 | ||
185 | wxResourceAddIdentifier = misc2c.wxResourceAddIdentifier | |
186 | ||
187 | wxResourceClear = misc2c.wxResourceClear | |
188 | ||
189 | def wxResourceCreateBitmap(*_args, **_kwargs): | |
190 | val = apply(misc2c.wxResourceCreateBitmap,_args,_kwargs) | |
191 | if val: val = wxBitmapPtr(val); val.thisown = 1 | |
192 | return val | |
193 | ||
194 | def wxResourceCreateIcon(*_args, **_kwargs): | |
195 | val = apply(misc2c.wxResourceCreateIcon,_args,_kwargs) | |
196 | if val: val = wxIconPtr(val); val.thisown = 1 | |
197 | return val | |
198 | ||
199 | def wxResourceCreateMenuBar(*_args, **_kwargs): | |
200 | val = apply(misc2c.wxResourceCreateMenuBar,_args,_kwargs) | |
201 | if val: val = wxMenuBarPtr(val) | |
202 | return val | |
203 | ||
204 | wxResourceGetIdentifier = misc2c.wxResourceGetIdentifier | |
205 | ||
206 | wxResourceParseData = misc2c.wxResourceParseData | |
207 | ||
208 | wxResourceParseFile = misc2c.wxResourceParseFile | |
209 | ||
210 | wxResourceParseString = misc2c.wxResourceParseString | |
211 | ||
212 | def wxSystemSettings_GetSystemColour(*_args, **_kwargs): | |
213 | val = apply(misc2c.wxSystemSettings_GetSystemColour,_args,_kwargs) | |
214 | if val: val = wxColourPtr(val); val.thisown = 1 | |
215 | return val | |
216 | ||
217 | def wxSystemSettings_GetSystemFont(*_args, **_kwargs): | |
218 | val = apply(misc2c.wxSystemSettings_GetSystemFont,_args,_kwargs) | |
219 | if val: val = wxFontPtr(val); val.thisown = 1 | |
220 | return val | |
221 | ||
222 | wxSystemSettings_GetSystemMetric = misc2c.wxSystemSettings_GetSystemMetric | |
223 | ||
d24a34bb RD |
224 | wxToolTip_Enable = misc2c.wxToolTip_Enable |
225 | ||
226 | wxToolTip_SetDelay = misc2c.wxToolTip_SetDelay | |
227 | ||
8f17924e RD |
228 | wxCaret_GetBlinkTime = misc2c.wxCaret_GetBlinkTime |
229 | ||
230 | wxCaret_SetBlinkTime = misc2c.wxCaret_SetBlinkTime | |
231 | ||
4120ef2b RD |
232 | wxPostEvent = misc2c.wxPostEvent |
233 | ||
d24a34bb RD |
234 | |
235 | ||
236 | #-------------- VARIABLE WRAPPERS ------------------ | |
237 | ||
bc29c5e0 RD |
238 | wxSYS_WHITE_BRUSH = misc2c.wxSYS_WHITE_BRUSH |
239 | wxSYS_LTGRAY_BRUSH = misc2c.wxSYS_LTGRAY_BRUSH | |
240 | wxSYS_GRAY_BRUSH = misc2c.wxSYS_GRAY_BRUSH | |
241 | wxSYS_DKGRAY_BRUSH = misc2c.wxSYS_DKGRAY_BRUSH | |
242 | wxSYS_BLACK_BRUSH = misc2c.wxSYS_BLACK_BRUSH | |
243 | wxSYS_NULL_BRUSH = misc2c.wxSYS_NULL_BRUSH | |
244 | wxSYS_HOLLOW_BRUSH = misc2c.wxSYS_HOLLOW_BRUSH | |
245 | wxSYS_WHITE_PEN = misc2c.wxSYS_WHITE_PEN | |
246 | wxSYS_BLACK_PEN = misc2c.wxSYS_BLACK_PEN | |
247 | wxSYS_NULL_PEN = misc2c.wxSYS_NULL_PEN | |
248 | wxSYS_OEM_FIXED_FONT = misc2c.wxSYS_OEM_FIXED_FONT | |
249 | wxSYS_ANSI_FIXED_FONT = misc2c.wxSYS_ANSI_FIXED_FONT | |
250 | wxSYS_ANSI_VAR_FONT = misc2c.wxSYS_ANSI_VAR_FONT | |
251 | wxSYS_SYSTEM_FONT = misc2c.wxSYS_SYSTEM_FONT | |
252 | wxSYS_DEVICE_DEFAULT_FONT = misc2c.wxSYS_DEVICE_DEFAULT_FONT | |
253 | wxSYS_DEFAULT_PALETTE = misc2c.wxSYS_DEFAULT_PALETTE | |
254 | wxSYS_SYSTEM_FIXED_FONT = misc2c.wxSYS_SYSTEM_FIXED_FONT | |
255 | wxSYS_DEFAULT_GUI_FONT = misc2c.wxSYS_DEFAULT_GUI_FONT | |
256 | wxSYS_COLOUR_SCROLLBAR = misc2c.wxSYS_COLOUR_SCROLLBAR | |
257 | wxSYS_COLOUR_BACKGROUND = misc2c.wxSYS_COLOUR_BACKGROUND | |
258 | wxSYS_COLOUR_ACTIVECAPTION = misc2c.wxSYS_COLOUR_ACTIVECAPTION | |
259 | wxSYS_COLOUR_INACTIVECAPTION = misc2c.wxSYS_COLOUR_INACTIVECAPTION | |
260 | wxSYS_COLOUR_MENU = misc2c.wxSYS_COLOUR_MENU | |
261 | wxSYS_COLOUR_WINDOW = misc2c.wxSYS_COLOUR_WINDOW | |
262 | wxSYS_COLOUR_WINDOWFRAME = misc2c.wxSYS_COLOUR_WINDOWFRAME | |
263 | wxSYS_COLOUR_MENUTEXT = misc2c.wxSYS_COLOUR_MENUTEXT | |
264 | wxSYS_COLOUR_WINDOWTEXT = misc2c.wxSYS_COLOUR_WINDOWTEXT | |
265 | wxSYS_COLOUR_CAPTIONTEXT = misc2c.wxSYS_COLOUR_CAPTIONTEXT | |
266 | wxSYS_COLOUR_ACTIVEBORDER = misc2c.wxSYS_COLOUR_ACTIVEBORDER | |
267 | wxSYS_COLOUR_INACTIVEBORDER = misc2c.wxSYS_COLOUR_INACTIVEBORDER | |
268 | wxSYS_COLOUR_APPWORKSPACE = misc2c.wxSYS_COLOUR_APPWORKSPACE | |
269 | wxSYS_COLOUR_HIGHLIGHT = misc2c.wxSYS_COLOUR_HIGHLIGHT | |
270 | wxSYS_COLOUR_HIGHLIGHTTEXT = misc2c.wxSYS_COLOUR_HIGHLIGHTTEXT | |
271 | wxSYS_COLOUR_BTNFACE = misc2c.wxSYS_COLOUR_BTNFACE | |
272 | wxSYS_COLOUR_BTNSHADOW = misc2c.wxSYS_COLOUR_BTNSHADOW | |
273 | wxSYS_COLOUR_GRAYTEXT = misc2c.wxSYS_COLOUR_GRAYTEXT | |
274 | wxSYS_COLOUR_BTNTEXT = misc2c.wxSYS_COLOUR_BTNTEXT | |
275 | wxSYS_COLOUR_INACTIVECAPTIONTEXT = misc2c.wxSYS_COLOUR_INACTIVECAPTIONTEXT | |
276 | wxSYS_COLOUR_BTNHIGHLIGHT = misc2c.wxSYS_COLOUR_BTNHIGHLIGHT | |
277 | wxSYS_COLOUR_3DDKSHADOW = misc2c.wxSYS_COLOUR_3DDKSHADOW | |
278 | wxSYS_COLOUR_3DLIGHT = misc2c.wxSYS_COLOUR_3DLIGHT | |
279 | wxSYS_COLOUR_INFOTEXT = misc2c.wxSYS_COLOUR_INFOTEXT | |
280 | wxSYS_COLOUR_INFOBK = misc2c.wxSYS_COLOUR_INFOBK | |
281 | wxSYS_COLOUR_DESKTOP = misc2c.wxSYS_COLOUR_DESKTOP | |
282 | wxSYS_COLOUR_3DFACE = misc2c.wxSYS_COLOUR_3DFACE | |
283 | wxSYS_COLOUR_3DSHADOW = misc2c.wxSYS_COLOUR_3DSHADOW | |
284 | wxSYS_COLOUR_3DHIGHLIGHT = misc2c.wxSYS_COLOUR_3DHIGHLIGHT | |
285 | wxSYS_COLOUR_3DHILIGHT = misc2c.wxSYS_COLOUR_3DHILIGHT | |
286 | wxSYS_COLOUR_BTNHILIGHT = misc2c.wxSYS_COLOUR_BTNHILIGHT | |
287 | wxSYS_MOUSE_BUTTONS = misc2c.wxSYS_MOUSE_BUTTONS | |
288 | wxSYS_BORDER_X = misc2c.wxSYS_BORDER_X | |
289 | wxSYS_BORDER_Y = misc2c.wxSYS_BORDER_Y | |
290 | wxSYS_CURSOR_X = misc2c.wxSYS_CURSOR_X | |
291 | wxSYS_CURSOR_Y = misc2c.wxSYS_CURSOR_Y | |
292 | wxSYS_DCLICK_X = misc2c.wxSYS_DCLICK_X | |
293 | wxSYS_DCLICK_Y = misc2c.wxSYS_DCLICK_Y | |
294 | wxSYS_DRAG_X = misc2c.wxSYS_DRAG_X | |
295 | wxSYS_DRAG_Y = misc2c.wxSYS_DRAG_Y | |
296 | wxSYS_EDGE_X = misc2c.wxSYS_EDGE_X | |
297 | wxSYS_EDGE_Y = misc2c.wxSYS_EDGE_Y | |
298 | wxSYS_HSCROLL_ARROW_X = misc2c.wxSYS_HSCROLL_ARROW_X | |
299 | wxSYS_HSCROLL_ARROW_Y = misc2c.wxSYS_HSCROLL_ARROW_Y | |
300 | wxSYS_HTHUMB_X = misc2c.wxSYS_HTHUMB_X | |
301 | wxSYS_ICON_X = misc2c.wxSYS_ICON_X | |
302 | wxSYS_ICON_Y = misc2c.wxSYS_ICON_Y | |
303 | wxSYS_ICONSPACING_X = misc2c.wxSYS_ICONSPACING_X | |
304 | wxSYS_ICONSPACING_Y = misc2c.wxSYS_ICONSPACING_Y | |
305 | wxSYS_WINDOWMIN_X = misc2c.wxSYS_WINDOWMIN_X | |
306 | wxSYS_WINDOWMIN_Y = misc2c.wxSYS_WINDOWMIN_Y | |
307 | wxSYS_SCREEN_X = misc2c.wxSYS_SCREEN_X | |
308 | wxSYS_SCREEN_Y = misc2c.wxSYS_SCREEN_Y | |
309 | wxSYS_FRAMESIZE_X = misc2c.wxSYS_FRAMESIZE_X | |
310 | wxSYS_FRAMESIZE_Y = misc2c.wxSYS_FRAMESIZE_Y | |
311 | wxSYS_SMALLICON_X = misc2c.wxSYS_SMALLICON_X | |
312 | wxSYS_SMALLICON_Y = misc2c.wxSYS_SMALLICON_Y | |
313 | wxSYS_HSCROLL_Y = misc2c.wxSYS_HSCROLL_Y | |
314 | wxSYS_VSCROLL_X = misc2c.wxSYS_VSCROLL_X | |
315 | wxSYS_VSCROLL_ARROW_X = misc2c.wxSYS_VSCROLL_ARROW_X | |
316 | wxSYS_VSCROLL_ARROW_Y = misc2c.wxSYS_VSCROLL_ARROW_Y | |
317 | wxSYS_VTHUMB_Y = misc2c.wxSYS_VTHUMB_Y | |
318 | wxSYS_CAPTION_Y = misc2c.wxSYS_CAPTION_Y | |
319 | wxSYS_MENU_Y = misc2c.wxSYS_MENU_Y | |
320 | wxSYS_NETWORK_PRESENT = misc2c.wxSYS_NETWORK_PRESENT | |
321 | wxSYS_PENWINDOWS_PRESENT = misc2c.wxSYS_PENWINDOWS_PRESENT | |
322 | wxSYS_SHOW_SOUNDS = misc2c.wxSYS_SHOW_SOUNDS | |
323 | wxSYS_SWAP_BUTTONS = misc2c.wxSYS_SWAP_BUTTONS |