]>
Commit | Line | Data |
---|---|---|
1 | # This file was created automatically by SWIG. | |
2 | import htmlc | |
3 | ||
4 | from misc import * | |
5 | ||
6 | from misc2 import * | |
7 | ||
8 | from windows import * | |
9 | ||
10 | from gdi import * | |
11 | ||
12 | from fonts import * | |
13 | ||
14 | from clip_dnd import * | |
15 | ||
16 | from events import * | |
17 | ||
18 | from streams import * | |
19 | ||
20 | from utils import * | |
21 | ||
22 | from mdi import * | |
23 | ||
24 | from frames import * | |
25 | ||
26 | from stattool import * | |
27 | ||
28 | from controls import * | |
29 | ||
30 | from controls2 import * | |
31 | ||
32 | from windows2 import * | |
33 | ||
34 | from cmndlgs import * | |
35 | ||
36 | from windows3 import * | |
37 | ||
38 | from image import * | |
39 | ||
40 | from printfw import * | |
41 | ||
42 | from sizers import * | |
43 | ||
44 | from filesys import * | |
45 | import wx | |
46 | class wxHtmlLinkInfoPtr(wxObjectPtr): | |
47 | def __init__(self,this): | |
48 | self.this = this | |
49 | self.thisown = 0 | |
50 | def GetHref(self, *_args, **_kwargs): | |
51 | val = htmlc.wxHtmlLinkInfo_GetHref(self, *_args, **_kwargs) | |
52 | return val | |
53 | def GetTarget(self, *_args, **_kwargs): | |
54 | val = htmlc.wxHtmlLinkInfo_GetTarget(self, *_args, **_kwargs) | |
55 | return val | |
56 | def GetEvent(self, *_args, **_kwargs): | |
57 | val = htmlc.wxHtmlLinkInfo_GetEvent(self, *_args, **_kwargs) | |
58 | return val | |
59 | def GetHtmlCell(self, *_args, **_kwargs): | |
60 | val = htmlc.wxHtmlLinkInfo_GetHtmlCell(self, *_args, **_kwargs) | |
61 | if val: val = wxHtmlCellPtr(val) | |
62 | return val | |
63 | def SetEvent(self, *_args, **_kwargs): | |
64 | val = htmlc.wxHtmlLinkInfo_SetEvent(self, *_args, **_kwargs) | |
65 | return val | |
66 | def SetHtmlCell(self, *_args, **_kwargs): | |
67 | val = htmlc.wxHtmlLinkInfo_SetHtmlCell(self, *_args, **_kwargs) | |
68 | return val | |
69 | def __repr__(self): | |
70 | return "<%s.%s instance; proxy of C++ wxHtmlLinkInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) | |
71 | class wxHtmlLinkInfo(wxHtmlLinkInfoPtr): | |
72 | def __init__(self,*_args,**_kwargs): | |
73 | self.this = htmlc.new_wxHtmlLinkInfo(*_args,**_kwargs) | |
74 | self.thisown = 1 | |
75 | ||
76 | ||
77 | ||
78 | ||
79 | class wxHtmlTagPtr(wxObjectPtr): | |
80 | def __init__(self,this): | |
81 | self.this = this | |
82 | self.thisown = 0 | |
83 | def GetName(self, *_args, **_kwargs): | |
84 | val = htmlc.wxHtmlTag_GetName(self, *_args, **_kwargs) | |
85 | return val | |
86 | def HasParam(self, *_args, **_kwargs): | |
87 | val = htmlc.wxHtmlTag_HasParam(self, *_args, **_kwargs) | |
88 | return val | |
89 | def GetParam(self, *_args, **_kwargs): | |
90 | val = htmlc.wxHtmlTag_GetParam(self, *_args, **_kwargs) | |
91 | return val | |
92 | def GetAllParams(self, *_args, **_kwargs): | |
93 | val = htmlc.wxHtmlTag_GetAllParams(self, *_args, **_kwargs) | |
94 | return val | |
95 | def HasEnding(self, *_args, **_kwargs): | |
96 | val = htmlc.wxHtmlTag_HasEnding(self, *_args, **_kwargs) | |
97 | return val | |
98 | def GetBeginPos(self, *_args, **_kwargs): | |
99 | val = htmlc.wxHtmlTag_GetBeginPos(self, *_args, **_kwargs) | |
100 | return val | |
101 | def GetEndPos1(self, *_args, **_kwargs): | |
102 | val = htmlc.wxHtmlTag_GetEndPos1(self, *_args, **_kwargs) | |
103 | return val | |
104 | def GetEndPos2(self, *_args, **_kwargs): | |
105 | val = htmlc.wxHtmlTag_GetEndPos2(self, *_args, **_kwargs) | |
106 | return val | |
107 | def __repr__(self): | |
108 | return "<%s.%s instance; proxy of C++ wxHtmlTag instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) | |
109 | class wxHtmlTag(wxHtmlTagPtr): | |
110 | def __init__(self,this): | |
111 | self.this = this | |
112 | ||
113 | ||
114 | ||
115 | ||
116 | class wxHtmlParserPtr(wxObjectPtr): | |
117 | def __init__(self,this): | |
118 | self.this = this | |
119 | self.thisown = 0 | |
120 | def SetFS(self, *_args, **_kwargs): | |
121 | val = htmlc.wxHtmlParser_SetFS(self, *_args, **_kwargs) | |
122 | return val | |
123 | def GetFS(self, *_args, **_kwargs): | |
124 | val = htmlc.wxHtmlParser_GetFS(self, *_args, **_kwargs) | |
125 | return val | |
126 | def Parse(self, *_args, **_kwargs): | |
127 | val = htmlc.wxHtmlParser_Parse(self, *_args, **_kwargs) | |
128 | return val | |
129 | def InitParser(self, *_args, **_kwargs): | |
130 | val = htmlc.wxHtmlParser_InitParser(self, *_args, **_kwargs) | |
131 | return val | |
132 | def DoneParser(self, *_args, **_kwargs): | |
133 | val = htmlc.wxHtmlParser_DoneParser(self, *_args, **_kwargs) | |
134 | return val | |
135 | def DoParsing(self, *_args, **_kwargs): | |
136 | val = htmlc.wxHtmlParser_DoParsing(self, *_args, **_kwargs) | |
137 | return val | |
138 | def StopParsing(self, *_args, **_kwargs): | |
139 | val = htmlc.wxHtmlParser_StopParsing(self, *_args, **_kwargs) | |
140 | return val | |
141 | def AddTagHandler(self, *_args, **_kwargs): | |
142 | val = htmlc.wxHtmlParser_AddTagHandler(self, *_args, **_kwargs) | |
143 | return val | |
144 | def GetSource(self, *_args, **_kwargs): | |
145 | val = htmlc.wxHtmlParser_GetSource(self, *_args, **_kwargs) | |
146 | return val | |
147 | def PushTagHandler(self, *_args, **_kwargs): | |
148 | val = htmlc.wxHtmlParser_PushTagHandler(self, *_args, **_kwargs) | |
149 | return val | |
150 | def PopTagHandler(self, *_args, **_kwargs): | |
151 | val = htmlc.wxHtmlParser_PopTagHandler(self, *_args, **_kwargs) | |
152 | return val | |
153 | def __repr__(self): | |
154 | return "<%s.%s instance; proxy of C++ wxHtmlParser instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) | |
155 | class wxHtmlParser(wxHtmlParserPtr): | |
156 | def __init__(self,this): | |
157 | self.this = this | |
158 | ||
159 | ||
160 | ||
161 | ||
162 | class wxHtmlWinParserPtr(wxHtmlParserPtr): | |
163 | def __init__(self,this): | |
164 | self.this = this | |
165 | self.thisown = 0 | |
166 | def SetDC(self, *_args, **_kwargs): | |
167 | val = htmlc.wxHtmlWinParser_SetDC(self, *_args, **_kwargs) | |
168 | return val | |
169 | def GetDC(self, *_args, **_kwargs): | |
170 | val = htmlc.wxHtmlWinParser_GetDC(self, *_args, **_kwargs) | |
171 | return val | |
172 | def GetCharHeight(self, *_args, **_kwargs): | |
173 | val = htmlc.wxHtmlWinParser_GetCharHeight(self, *_args, **_kwargs) | |
174 | return val | |
175 | def GetCharWidth(self, *_args, **_kwargs): | |
176 | val = htmlc.wxHtmlWinParser_GetCharWidth(self, *_args, **_kwargs) | |
177 | return val | |
178 | def GetWindow(self, *_args, **_kwargs): | |
179 | val = htmlc.wxHtmlWinParser_GetWindow(self, *_args, **_kwargs) | |
180 | return val | |
181 | def SetFonts(self, *_args, **_kwargs): | |
182 | val = htmlc.wxHtmlWinParser_SetFonts(self, *_args, **_kwargs) | |
183 | return val | |
184 | def GetContainer(self, *_args, **_kwargs): | |
185 | val = htmlc.wxHtmlWinParser_GetContainer(self, *_args, **_kwargs) | |
186 | if val: val = wxHtmlContainerCellPtr(val) | |
187 | return val | |
188 | def OpenContainer(self, *_args, **_kwargs): | |
189 | val = htmlc.wxHtmlWinParser_OpenContainer(self, *_args, **_kwargs) | |
190 | if val: val = wxHtmlContainerCellPtr(val) | |
191 | return val | |
192 | def SetContainer(self, *_args, **_kwargs): | |
193 | val = htmlc.wxHtmlWinParser_SetContainer(self, *_args, **_kwargs) | |
194 | if val: val = wxHtmlContainerCellPtr(val) | |
195 | return val | |
196 | def CloseContainer(self, *_args, **_kwargs): | |
197 | val = htmlc.wxHtmlWinParser_CloseContainer(self, *_args, **_kwargs) | |
198 | if val: val = wxHtmlContainerCellPtr(val) | |
199 | return val | |
200 | def GetFontSize(self, *_args, **_kwargs): | |
201 | val = htmlc.wxHtmlWinParser_GetFontSize(self, *_args, **_kwargs) | |
202 | return val | |
203 | def SetFontSize(self, *_args, **_kwargs): | |
204 | val = htmlc.wxHtmlWinParser_SetFontSize(self, *_args, **_kwargs) | |
205 | return val | |
206 | def GetFontBold(self, *_args, **_kwargs): | |
207 | val = htmlc.wxHtmlWinParser_GetFontBold(self, *_args, **_kwargs) | |
208 | return val | |
209 | def SetFontBold(self, *_args, **_kwargs): | |
210 | val = htmlc.wxHtmlWinParser_SetFontBold(self, *_args, **_kwargs) | |
211 | return val | |
212 | def GetFontItalic(self, *_args, **_kwargs): | |
213 | val = htmlc.wxHtmlWinParser_GetFontItalic(self, *_args, **_kwargs) | |
214 | return val | |
215 | def SetFontItalic(self, *_args, **_kwargs): | |
216 | val = htmlc.wxHtmlWinParser_SetFontItalic(self, *_args, **_kwargs) | |
217 | return val | |
218 | def GetFontUnderlined(self, *_args, **_kwargs): | |
219 | val = htmlc.wxHtmlWinParser_GetFontUnderlined(self, *_args, **_kwargs) | |
220 | return val | |
221 | def SetFontUnderlined(self, *_args, **_kwargs): | |
222 | val = htmlc.wxHtmlWinParser_SetFontUnderlined(self, *_args, **_kwargs) | |
223 | return val | |
224 | def GetFontFixed(self, *_args, **_kwargs): | |
225 | val = htmlc.wxHtmlWinParser_GetFontFixed(self, *_args, **_kwargs) | |
226 | return val | |
227 | def SetFontFixed(self, *_args, **_kwargs): | |
228 | val = htmlc.wxHtmlWinParser_SetFontFixed(self, *_args, **_kwargs) | |
229 | return val | |
230 | def GetAlign(self, *_args, **_kwargs): | |
231 | val = htmlc.wxHtmlWinParser_GetAlign(self, *_args, **_kwargs) | |
232 | return val | |
233 | def SetAlign(self, *_args, **_kwargs): | |
234 | val = htmlc.wxHtmlWinParser_SetAlign(self, *_args, **_kwargs) | |
235 | return val | |
236 | def GetLinkColor(self, *_args, **_kwargs): | |
237 | val = htmlc.wxHtmlWinParser_GetLinkColor(self, *_args, **_kwargs) | |
238 | if val: val = wxColourPtr(val) ; val.thisown = 1 | |
239 | return val | |
240 | def SetLinkColor(self, *_args, **_kwargs): | |
241 | val = htmlc.wxHtmlWinParser_SetLinkColor(self, *_args, **_kwargs) | |
242 | return val | |
243 | def GetActualColor(self, *_args, **_kwargs): | |
244 | val = htmlc.wxHtmlWinParser_GetActualColor(self, *_args, **_kwargs) | |
245 | if val: val = wxColourPtr(val) ; val.thisown = 1 | |
246 | return val | |
247 | def SetActualColor(self, *_args, **_kwargs): | |
248 | val = htmlc.wxHtmlWinParser_SetActualColor(self, *_args, **_kwargs) | |
249 | return val | |
250 | def SetLink(self, *_args, **_kwargs): | |
251 | val = htmlc.wxHtmlWinParser_SetLink(self, *_args, **_kwargs) | |
252 | return val | |
253 | def CreateCurrentFont(self, *_args, **_kwargs): | |
254 | val = htmlc.wxHtmlWinParser_CreateCurrentFont(self, *_args, **_kwargs) | |
255 | if val: val = wxFontPtr(val) | |
256 | return val | |
257 | def GetLink(self, *_args, **_kwargs): | |
258 | val = htmlc.wxHtmlWinParser_GetLink(self, *_args, **_kwargs) | |
259 | if val: val = wxHtmlLinkInfoPtr(val) ; val.thisown = 1 | |
260 | return val | |
261 | def __repr__(self): | |
262 | return "<%s.%s instance; proxy of C++ wxHtmlWinParser instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) | |
263 | class wxHtmlWinParser(wxHtmlWinParserPtr): | |
264 | def __init__(self,*_args,**_kwargs): | |
265 | self.this = htmlc.new_wxHtmlWinParser(*_args,**_kwargs) | |
266 | self.thisown = 1 | |
267 | ||
268 | ||
269 | ||
270 | ||
271 | class wxHtmlTagHandlerPtr(wxObjectPtr): | |
272 | def __init__(self,this): | |
273 | self.this = this | |
274 | self.thisown = 0 | |
275 | def _setCallbackInfo(self, *_args, **_kwargs): | |
276 | val = htmlc.wxHtmlTagHandler__setCallbackInfo(self, *_args, **_kwargs) | |
277 | return val | |
278 | def SetParser(self, *_args, **_kwargs): | |
279 | val = htmlc.wxHtmlTagHandler_SetParser(self, *_args, **_kwargs) | |
280 | return val | |
281 | def GetParser(self, *_args, **_kwargs): | |
282 | val = htmlc.wxHtmlTagHandler_GetParser(self, *_args, **_kwargs) | |
283 | if val: val = wxHtmlParserPtr(val) | |
284 | return val | |
285 | def ParseInner(self, *_args, **_kwargs): | |
286 | val = htmlc.wxHtmlTagHandler_ParseInner(self, *_args, **_kwargs) | |
287 | return val | |
288 | def __repr__(self): | |
289 | return "<%s.%s instance; proxy of C++ wxHtmlTagHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) | |
290 | class wxHtmlTagHandler(wxHtmlTagHandlerPtr): | |
291 | def __init__(self,*_args,**_kwargs): | |
292 | self.this = htmlc.new_wxHtmlTagHandler(*_args,**_kwargs) | |
293 | self.thisown = 1 | |
294 | self._setCallbackInfo(self, wxHtmlTagHandler) | |
295 | ||
296 | ||
297 | ||
298 | ||
299 | class wxHtmlWinTagHandlerPtr(wxHtmlTagHandlerPtr): | |
300 | def __init__(self,this): | |
301 | self.this = this | |
302 | self.thisown = 0 | |
303 | def _setCallbackInfo(self, *_args, **_kwargs): | |
304 | val = htmlc.wxHtmlWinTagHandler__setCallbackInfo(self, *_args, **_kwargs) | |
305 | return val | |
306 | def SetParser(self, *_args, **_kwargs): | |
307 | val = htmlc.wxHtmlWinTagHandler_SetParser(self, *_args, **_kwargs) | |
308 | return val | |
309 | def GetParser(self, *_args, **_kwargs): | |
310 | val = htmlc.wxHtmlWinTagHandler_GetParser(self, *_args, **_kwargs) | |
311 | if val: val = wxHtmlWinParserPtr(val) | |
312 | return val | |
313 | def ParseInner(self, *_args, **_kwargs): | |
314 | val = htmlc.wxHtmlWinTagHandler_ParseInner(self, *_args, **_kwargs) | |
315 | return val | |
316 | def __repr__(self): | |
317 | return "<%s.%s instance; proxy of C++ wxHtmlWinTagHandler instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) | |
318 | class wxHtmlWinTagHandler(wxHtmlWinTagHandlerPtr): | |
319 | def __init__(self,*_args,**_kwargs): | |
320 | self.this = htmlc.new_wxHtmlWinTagHandler(*_args,**_kwargs) | |
321 | self.thisown = 1 | |
322 | self._setCallbackInfo(self, wxHtmlWinTagHandler) | |
323 | ||
324 | ||
325 | ||
326 | ||
327 | class wxHtmlSelectionPtr : | |
328 | def __init__(self,this): | |
329 | self.this = this | |
330 | self.thisown = 0 | |
331 | def __del__(self, delfunc=htmlc.delete_wxHtmlSelection): | |
332 | if self.thisown == 1: | |
333 | try: | |
334 | delfunc(self) | |
335 | except: | |
336 | pass | |
337 | def Set(self, *_args, **_kwargs): | |
338 | val = htmlc.wxHtmlSelection_Set(self, *_args, **_kwargs) | |
339 | return val | |
340 | def SetCells(self, *_args, **_kwargs): | |
341 | val = htmlc.wxHtmlSelection_SetCells(self, *_args, **_kwargs) | |
342 | return val | |
343 | def GetFromCell(self, *_args, **_kwargs): | |
344 | val = htmlc.wxHtmlSelection_GetFromCell(self, *_args, **_kwargs) | |
345 | if val: val = wxHtmlCellPtr(val) | |
346 | return val | |
347 | def GetToCell(self, *_args, **_kwargs): | |
348 | val = htmlc.wxHtmlSelection_GetToCell(self, *_args, **_kwargs) | |
349 | if val: val = wxHtmlCellPtr(val) | |
350 | return val | |
351 | def GetFromPos(self, *_args, **_kwargs): | |
352 | val = htmlc.wxHtmlSelection_GetFromPos(self, *_args, **_kwargs) | |
353 | if val: val = wxPointPtr(val) | |
354 | return val | |
355 | def GetToPos(self, *_args, **_kwargs): | |
356 | val = htmlc.wxHtmlSelection_GetToPos(self, *_args, **_kwargs) | |
357 | if val: val = wxPointPtr(val) | |
358 | return val | |
359 | def GetFromPrivPos(self, *_args, **_kwargs): | |
360 | val = htmlc.wxHtmlSelection_GetFromPrivPos(self, *_args, **_kwargs) | |
361 | if val: val = wxPointPtr(val) | |
362 | return val | |
363 | def GetToPrivPos(self, *_args, **_kwargs): | |
364 | val = htmlc.wxHtmlSelection_GetToPrivPos(self, *_args, **_kwargs) | |
365 | if val: val = wxPointPtr(val) | |
366 | return val | |
367 | def SetFromPrivPos(self, *_args, **_kwargs): | |
368 | val = htmlc.wxHtmlSelection_SetFromPrivPos(self, *_args, **_kwargs) | |
369 | return val | |
370 | def SetToPrivPos(self, *_args, **_kwargs): | |
371 | val = htmlc.wxHtmlSelection_SetToPrivPos(self, *_args, **_kwargs) | |
372 | return val | |
373 | def ClearPrivPos(self, *_args, **_kwargs): | |
374 | val = htmlc.wxHtmlSelection_ClearPrivPos(self, *_args, **_kwargs) | |
375 | return val | |
376 | def IsEmpty(self, *_args, **_kwargs): | |
377 | val = htmlc.wxHtmlSelection_IsEmpty(self, *_args, **_kwargs) | |
378 | return val | |
379 | def __repr__(self): | |
380 | return "<%s.%s instance; proxy of C++ wxHtmlSelection instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) | |
381 | class wxHtmlSelection(wxHtmlSelectionPtr): | |
382 | def __init__(self,*_args,**_kwargs): | |
383 | self.this = htmlc.new_wxHtmlSelection(*_args,**_kwargs) | |
384 | self.thisown = 1 | |
385 | ||
386 | ||
387 | ||
388 | ||
389 | class wxHtmlRenderingStatePtr : | |
390 | def __init__(self,this): | |
391 | self.this = this | |
392 | self.thisown = 0 | |
393 | def __del__(self, delfunc=htmlc.delete_wxHtmlRenderingState): | |
394 | if self.thisown == 1: | |
395 | try: | |
396 | delfunc(self) | |
397 | except: | |
398 | pass | |
399 | def SetSelectionState(self, *_args, **_kwargs): | |
400 | val = htmlc.wxHtmlRenderingState_SetSelectionState(self, *_args, **_kwargs) | |
401 | return val | |
402 | def GetSelectionState(self, *_args, **_kwargs): | |
403 | val = htmlc.wxHtmlRenderingState_GetSelectionState(self, *_args, **_kwargs) | |
404 | return val | |
405 | def SetFgColour(self, *_args, **_kwargs): | |
406 | val = htmlc.wxHtmlRenderingState_SetFgColour(self, *_args, **_kwargs) | |
407 | return val | |
408 | def GetFgColour(self, *_args, **_kwargs): | |
409 | val = htmlc.wxHtmlRenderingState_GetFgColour(self, *_args, **_kwargs) | |
410 | if val: val = wxColourPtr(val) | |
411 | return val | |
412 | def SetBgColour(self, *_args, **_kwargs): | |
413 | val = htmlc.wxHtmlRenderingState_SetBgColour(self, *_args, **_kwargs) | |
414 | return val | |
415 | def GetBgColour(self, *_args, **_kwargs): | |
416 | val = htmlc.wxHtmlRenderingState_GetBgColour(self, *_args, **_kwargs) | |
417 | if val: val = wxColourPtr(val) | |
418 | return val | |
419 | def __repr__(self): | |
420 | return "<%s.%s instance; proxy of C++ wxHtmlRenderingState instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) | |
421 | class wxHtmlRenderingState(wxHtmlRenderingStatePtr): | |
422 | def __init__(self,*_args,**_kwargs): | |
423 | self.this = htmlc.new_wxHtmlRenderingState(*_args,**_kwargs) | |
424 | self.thisown = 1 | |
425 | ||
426 | ||
427 | ||
428 | ||
429 | class wxHtmlRenderingStylePtr : | |
430 | def __init__(self,this): | |
431 | self.this = this | |
432 | self.thisown = 0 | |
433 | def GetSelectedTextColour(self, *_args, **_kwargs): | |
434 | val = htmlc.wxHtmlRenderingStyle_GetSelectedTextColour(self, *_args, **_kwargs) | |
435 | if val: val = wxColourPtr(val) ; val.thisown = 1 | |
436 | return val | |
437 | def GetSelectedTextBgColour(self, *_args, **_kwargs): | |
438 | val = htmlc.wxHtmlRenderingStyle_GetSelectedTextBgColour(self, *_args, **_kwargs) | |
439 | if val: val = wxColourPtr(val) ; val.thisown = 1 | |
440 | return val | |
441 | def __repr__(self): | |
442 | return "<%s.%s instance; proxy of C++ wxHtmlRenderingStyle instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) | |
443 | class wxHtmlRenderingStyle(wxHtmlRenderingStylePtr): | |
444 | def __init__(self,this): | |
445 | self.this = this | |
446 | ||
447 | ||
448 | ||
449 | ||
450 | class wxDefaultHtmlRenderingStylePtr(wxHtmlRenderingStylePtr): | |
451 | def __init__(self,this): | |
452 | self.this = this | |
453 | self.thisown = 0 | |
454 | def GetSelectedTextColour(self, *_args, **_kwargs): | |
455 | val = htmlc.wxDefaultHtmlRenderingStyle_GetSelectedTextColour(self, *_args, **_kwargs) | |
456 | if val: val = wxColourPtr(val) ; val.thisown = 1 | |
457 | return val | |
458 | def GetSelectedTextBgColour(self, *_args, **_kwargs): | |
459 | val = htmlc.wxDefaultHtmlRenderingStyle_GetSelectedTextBgColour(self, *_args, **_kwargs) | |
460 | if val: val = wxColourPtr(val) ; val.thisown = 1 | |
461 | return val | |
462 | def __repr__(self): | |
463 | return "<%s.%s instance; proxy of C++ wxDefaultHtmlRenderingStyle instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) | |
464 | class wxDefaultHtmlRenderingStyle(wxDefaultHtmlRenderingStylePtr): | |
465 | def __init__(self,this): | |
466 | self.this = this | |
467 | ||
468 | ||
469 | ||
470 | ||
471 | class wxHtmlRenderingInfoPtr : | |
472 | def __init__(self,this): | |
473 | self.this = this | |
474 | self.thisown = 0 | |
475 | def __del__(self, delfunc=htmlc.delete_wxHtmlRenderingInfo): | |
476 | if self.thisown == 1: | |
477 | try: | |
478 | delfunc(self) | |
479 | except: | |
480 | pass | |
481 | def SetSelection(self, *_args, **_kwargs): | |
482 | val = htmlc.wxHtmlRenderingInfo_SetSelection(self, *_args, **_kwargs) | |
483 | return val | |
484 | def GetSelection(self, *_args, **_kwargs): | |
485 | val = htmlc.wxHtmlRenderingInfo_GetSelection(self, *_args, **_kwargs) | |
486 | if val: val = wxHtmlSelectionPtr(val) | |
487 | return val | |
488 | def SetStyle(self, *_args, **_kwargs): | |
489 | val = htmlc.wxHtmlRenderingInfo_SetStyle(self, *_args, **_kwargs) | |
490 | return val | |
491 | def GetStyle(self, *_args, **_kwargs): | |
492 | val = htmlc.wxHtmlRenderingInfo_GetStyle(self, *_args, **_kwargs) | |
493 | if val: val = wxHtmlRenderingStylePtr(val) | |
494 | return val | |
495 | def GetState(self, *_args, **_kwargs): | |
496 | val = htmlc.wxHtmlRenderingInfo_GetState(self, *_args, **_kwargs) | |
497 | if val: val = wxHtmlRenderingStatePtr(val) | |
498 | return val | |
499 | def __repr__(self): | |
500 | return "<%s.%s instance; proxy of C++ wxHtmlRenderingInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) | |
501 | class wxHtmlRenderingInfo(wxHtmlRenderingInfoPtr): | |
502 | def __init__(self,*_args,**_kwargs): | |
503 | self.this = htmlc.new_wxHtmlRenderingInfo(*_args,**_kwargs) | |
504 | self.thisown = 1 | |
505 | ||
506 | ||
507 | ||
508 | ||
509 | class wxHtmlCellPtr(wxObjectPtr): | |
510 | def __init__(self,this): | |
511 | self.this = this | |
512 | self.thisown = 0 | |
513 | def GetPosX(self, *_args, **_kwargs): | |
514 | val = htmlc.wxHtmlCell_GetPosX(self, *_args, **_kwargs) | |
515 | return val | |
516 | def GetPosY(self, *_args, **_kwargs): | |
517 | val = htmlc.wxHtmlCell_GetPosY(self, *_args, **_kwargs) | |
518 | return val | |
519 | def GetWidth(self, *_args, **_kwargs): | |
520 | val = htmlc.wxHtmlCell_GetWidth(self, *_args, **_kwargs) | |
521 | return val | |
522 | def GetHeight(self, *_args, **_kwargs): | |
523 | val = htmlc.wxHtmlCell_GetHeight(self, *_args, **_kwargs) | |
524 | return val | |
525 | def GetDescent(self, *_args, **_kwargs): | |
526 | val = htmlc.wxHtmlCell_GetDescent(self, *_args, **_kwargs) | |
527 | return val | |
528 | def GetLink(self, *_args, **_kwargs): | |
529 | val = htmlc.wxHtmlCell_GetLink(self, *_args, **_kwargs) | |
530 | if val: val = wxHtmlLinkInfoPtr(val) | |
531 | return val | |
532 | def GetNext(self, *_args, **_kwargs): | |
533 | val = htmlc.wxHtmlCell_GetNext(self, *_args, **_kwargs) | |
534 | if val: val = wxHtmlCellPtr(val) | |
535 | return val | |
536 | def GetParent(self, *_args, **_kwargs): | |
537 | val = htmlc.wxHtmlCell_GetParent(self, *_args, **_kwargs) | |
538 | if val: val = wxHtmlContainerCellPtr(val) | |
539 | return val | |
540 | def GetFirstChild(self, *_args, **_kwargs): | |
541 | val = htmlc.wxHtmlCell_GetFirstChild(self, *_args, **_kwargs) | |
542 | if val: val = wxHtmlCellPtr(val) | |
543 | return val | |
544 | def GetCursor(self, *_args, **_kwargs): | |
545 | val = htmlc.wxHtmlCell_GetCursor(self, *_args, **_kwargs) | |
546 | if val: val = wxCursorPtr(val) ; val.thisown = 1 | |
547 | return val | |
548 | def IsFormattingCell(self, *_args, **_kwargs): | |
549 | val = htmlc.wxHtmlCell_IsFormattingCell(self, *_args, **_kwargs) | |
550 | return val | |
551 | def SetLink(self, *_args, **_kwargs): | |
552 | val = htmlc.wxHtmlCell_SetLink(self, *_args, **_kwargs) | |
553 | return val | |
554 | def SetNext(self, *_args, **_kwargs): | |
555 | val = htmlc.wxHtmlCell_SetNext(self, *_args, **_kwargs) | |
556 | return val | |
557 | def SetParent(self, *_args, **_kwargs): | |
558 | val = htmlc.wxHtmlCell_SetParent(self, *_args, **_kwargs) | |
559 | return val | |
560 | def SetPos(self, *_args, **_kwargs): | |
561 | val = htmlc.wxHtmlCell_SetPos(self, *_args, **_kwargs) | |
562 | return val | |
563 | def Layout(self, *_args, **_kwargs): | |
564 | val = htmlc.wxHtmlCell_Layout(self, *_args, **_kwargs) | |
565 | return val | |
566 | def Draw(self, *_args, **_kwargs): | |
567 | val = htmlc.wxHtmlCell_Draw(self, *_args, **_kwargs) | |
568 | return val | |
569 | def DrawInvisible(self, *_args, **_kwargs): | |
570 | val = htmlc.wxHtmlCell_DrawInvisible(self, *_args, **_kwargs) | |
571 | return val | |
572 | def Find(self, *_args, **_kwargs): | |
573 | val = htmlc.wxHtmlCell_Find(self, *_args, **_kwargs) | |
574 | if val: val = wxHtmlCellPtr(val) | |
575 | return val | |
576 | def AdjustPagebreak(self, *_args, **_kwargs): | |
577 | val = htmlc.wxHtmlCell_AdjustPagebreak(self, *_args, **_kwargs) | |
578 | return val | |
579 | def SetCanLiveOnPagebreak(self, *_args, **_kwargs): | |
580 | val = htmlc.wxHtmlCell_SetCanLiveOnPagebreak(self, *_args, **_kwargs) | |
581 | return val | |
582 | def IsLinebreakAllowed(self, *_args, **_kwargs): | |
583 | val = htmlc.wxHtmlCell_IsLinebreakAllowed(self, *_args, **_kwargs) | |
584 | return val | |
585 | def IsTerminalCell(self, *_args, **_kwargs): | |
586 | val = htmlc.wxHtmlCell_IsTerminalCell(self, *_args, **_kwargs) | |
587 | return val | |
588 | def FindCellByPos(self, *_args, **_kwargs): | |
589 | val = htmlc.wxHtmlCell_FindCellByPos(self, *_args, **_kwargs) | |
590 | if val: val = wxHtmlCellPtr(val) | |
591 | return val | |
592 | def GetAbsPos(self, *_args, **_kwargs): | |
593 | val = htmlc.wxHtmlCell_GetAbsPos(self, *_args, **_kwargs) | |
594 | if val: val = wxPointPtr(val) ; val.thisown = 1 | |
595 | return val | |
596 | def GetFirstTerminal(self, *_args, **_kwargs): | |
597 | val = htmlc.wxHtmlCell_GetFirstTerminal(self, *_args, **_kwargs) | |
598 | if val: val = wxHtmlCellPtr(val) | |
599 | return val | |
600 | def GetLastTerminal(self, *_args, **_kwargs): | |
601 | val = htmlc.wxHtmlCell_GetLastTerminal(self, *_args, **_kwargs) | |
602 | if val: val = wxHtmlCellPtr(val) | |
603 | return val | |
604 | def GetDepth(self, *_args, **_kwargs): | |
605 | val = htmlc.wxHtmlCell_GetDepth(self, *_args, **_kwargs) | |
606 | return val | |
607 | def IsBefore(self, *_args, **_kwargs): | |
608 | val = htmlc.wxHtmlCell_IsBefore(self, *_args, **_kwargs) | |
609 | return val | |
610 | def ConvertToText(self, *_args, **_kwargs): | |
611 | val = htmlc.wxHtmlCell_ConvertToText(self, *_args, **_kwargs) | |
612 | return val | |
613 | def __repr__(self): | |
614 | return "<%s.%s instance; proxy of C++ wxHtmlCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) | |
615 | class wxHtmlCell(wxHtmlCellPtr): | |
616 | def __init__(self,*_args,**_kwargs): | |
617 | self.this = htmlc.new_wxHtmlCell(*_args,**_kwargs) | |
618 | self.thisown = 1 | |
619 | ||
620 | ||
621 | ||
622 | ||
623 | class wxHtmlWordCellPtr(wxHtmlCellPtr): | |
624 | def __init__(self,this): | |
625 | self.this = this | |
626 | self.thisown = 0 | |
627 | def __repr__(self): | |
628 | return "<%s.%s instance; proxy of C++ wxHtmlWordCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) | |
629 | class wxHtmlWordCell(wxHtmlWordCellPtr): | |
630 | def __init__(self,*_args,**_kwargs): | |
631 | self.this = htmlc.new_wxHtmlWordCell(*_args,**_kwargs) | |
632 | self.thisown = 1 | |
633 | ||
634 | ||
635 | ||
636 | ||
637 | class wxHtmlContainerCellPtr(wxHtmlCellPtr): | |
638 | def __init__(self,this): | |
639 | self.this = this | |
640 | self.thisown = 0 | |
641 | def InsertCell(self, *_args, **_kwargs): | |
642 | val = htmlc.wxHtmlContainerCell_InsertCell(self, *_args, **_kwargs) | |
643 | return val | |
644 | def SetAlignHor(self, *_args, **_kwargs): | |
645 | val = htmlc.wxHtmlContainerCell_SetAlignHor(self, *_args, **_kwargs) | |
646 | return val | |
647 | def GetAlignHor(self, *_args, **_kwargs): | |
648 | val = htmlc.wxHtmlContainerCell_GetAlignHor(self, *_args, **_kwargs) | |
649 | return val | |
650 | def SetAlignVer(self, *_args, **_kwargs): | |
651 | val = htmlc.wxHtmlContainerCell_SetAlignVer(self, *_args, **_kwargs) | |
652 | return val | |
653 | def GetAlignVer(self, *_args, **_kwargs): | |
654 | val = htmlc.wxHtmlContainerCell_GetAlignVer(self, *_args, **_kwargs) | |
655 | return val | |
656 | def SetIndent(self, *_args, **_kwargs): | |
657 | val = htmlc.wxHtmlContainerCell_SetIndent(self, *_args, **_kwargs) | |
658 | return val | |
659 | def GetIndent(self, *_args, **_kwargs): | |
660 | val = htmlc.wxHtmlContainerCell_GetIndent(self, *_args, **_kwargs) | |
661 | return val | |
662 | def GetIndentUnits(self, *_args, **_kwargs): | |
663 | val = htmlc.wxHtmlContainerCell_GetIndentUnits(self, *_args, **_kwargs) | |
664 | return val | |
665 | def SetAlign(self, *_args, **_kwargs): | |
666 | val = htmlc.wxHtmlContainerCell_SetAlign(self, *_args, **_kwargs) | |
667 | return val | |
668 | def SetWidthFloat(self, *_args, **_kwargs): | |
669 | val = htmlc.wxHtmlContainerCell_SetWidthFloat(self, *_args, **_kwargs) | |
670 | return val | |
671 | def SetWidthFloatFromTag(self, *_args, **_kwargs): | |
672 | val = htmlc.wxHtmlContainerCell_SetWidthFloatFromTag(self, *_args, **_kwargs) | |
673 | return val | |
674 | def SetMinHeight(self, *_args, **_kwargs): | |
675 | val = htmlc.wxHtmlContainerCell_SetMinHeight(self, *_args, **_kwargs) | |
676 | return val | |
677 | def SetBackgroundColour(self, *_args, **_kwargs): | |
678 | val = htmlc.wxHtmlContainerCell_SetBackgroundColour(self, *_args, **_kwargs) | |
679 | return val | |
680 | def GetBackgroundColour(self, *_args, **_kwargs): | |
681 | val = htmlc.wxHtmlContainerCell_GetBackgroundColour(self, *_args, **_kwargs) | |
682 | if val: val = wxColourPtr(val) ; val.thisown = 1 | |
683 | return val | |
684 | def SetBorder(self, *_args, **_kwargs): | |
685 | val = htmlc.wxHtmlContainerCell_SetBorder(self, *_args, **_kwargs) | |
686 | return val | |
687 | def GetFirstChild(self, *_args, **_kwargs): | |
688 | val = htmlc.wxHtmlContainerCell_GetFirstChild(self, *_args, **_kwargs) | |
689 | if val: val = wxHtmlCellPtr(val) | |
690 | return val | |
691 | def __repr__(self): | |
692 | return "<%s.%s instance; proxy of C++ wxHtmlContainerCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) | |
693 | GetFirstCell = GetFirstChild | |
694 | class wxHtmlContainerCell(wxHtmlContainerCellPtr): | |
695 | def __init__(self,*_args,**_kwargs): | |
696 | self.this = htmlc.new_wxHtmlContainerCell(*_args,**_kwargs) | |
697 | self.thisown = 1 | |
698 | ||
699 | ||
700 | ||
701 | ||
702 | class wxHtmlColourCellPtr(wxHtmlCellPtr): | |
703 | def __init__(self,this): | |
704 | self.this = this | |
705 | self.thisown = 0 | |
706 | def __repr__(self): | |
707 | return "<%s.%s instance; proxy of C++ wxHtmlColourCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) | |
708 | class wxHtmlColourCell(wxHtmlColourCellPtr): | |
709 | def __init__(self,*_args,**_kwargs): | |
710 | self.this = htmlc.new_wxHtmlColourCell(*_args,**_kwargs) | |
711 | self.thisown = 1 | |
712 | ||
713 | ||
714 | ||
715 | ||
716 | class wxHtmlFontCellPtr(wxHtmlCellPtr): | |
717 | def __init__(self,this): | |
718 | self.this = this | |
719 | self.thisown = 0 | |
720 | def __repr__(self): | |
721 | return "<%s.%s instance; proxy of C++ wxHtmlFontCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) | |
722 | class wxHtmlFontCell(wxHtmlFontCellPtr): | |
723 | def __init__(self,*_args,**_kwargs): | |
724 | self.this = htmlc.new_wxHtmlFontCell(*_args,**_kwargs) | |
725 | self.thisown = 1 | |
726 | ||
727 | ||
728 | ||
729 | ||
730 | class wxHtmlWidgetCellPtr(wxHtmlCellPtr): | |
731 | def __init__(self,this): | |
732 | self.this = this | |
733 | self.thisown = 0 | |
734 | def __repr__(self): | |
735 | return "<%s.%s instance; proxy of C++ wxHtmlWidgetCell instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) | |
736 | class wxHtmlWidgetCell(wxHtmlWidgetCellPtr): | |
737 | def __init__(self,*_args,**_kwargs): | |
738 | self.this = htmlc.new_wxHtmlWidgetCell(*_args,**_kwargs) | |
739 | self.thisown = 1 | |
740 | ||
741 | ||
742 | ||
743 | ||
744 | class wxHtmlFilterPtr(wxObjectPtr): | |
745 | def __init__(self,this): | |
746 | self.this = this | |
747 | self.thisown = 0 | |
748 | def _setCallbackInfo(self, *_args, **_kwargs): | |
749 | val = htmlc.wxHtmlFilter__setCallbackInfo(self, *_args, **_kwargs) | |
750 | return val | |
751 | def __repr__(self): | |
752 | return "<%s.%s instance; proxy of C++ wxHtmlFilter instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) | |
753 | class wxHtmlFilter(wxHtmlFilterPtr): | |
754 | def __init__(self,*_args,**_kwargs): | |
755 | self.this = htmlc.new_wxHtmlFilter(*_args,**_kwargs) | |
756 | self.thisown = 1 | |
757 | self._setCallbackInfo(self, wxHtmlFilter) | |
758 | ||
759 | ||
760 | ||
761 | ||
762 | class wxHtmlWindowPtr(wxScrolledWindowPtr): | |
763 | def __init__(self,this): | |
764 | self.this = this | |
765 | self.thisown = 0 | |
766 | def Create(self, *_args, **_kwargs): | |
767 | val = htmlc.wxHtmlWindow_Create(self, *_args, **_kwargs) | |
768 | return val | |
769 | def _setCallbackInfo(self, *_args, **_kwargs): | |
770 | val = htmlc.wxHtmlWindow__setCallbackInfo(self, *_args, **_kwargs) | |
771 | return val | |
772 | def SetPage(self, *_args, **_kwargs): | |
773 | val = htmlc.wxHtmlWindow_SetPage(self, *_args, **_kwargs) | |
774 | return val | |
775 | def LoadPage(self, *_args, **_kwargs): | |
776 | val = htmlc.wxHtmlWindow_LoadPage(self, *_args, **_kwargs) | |
777 | return val | |
778 | def LoadFile(self, *_args, **_kwargs): | |
779 | val = htmlc.wxHtmlWindow_LoadFile(self, *_args, **_kwargs) | |
780 | return val | |
781 | def AppendToPage(self, *_args, **_kwargs): | |
782 | val = htmlc.wxHtmlWindow_AppendToPage(self, *_args, **_kwargs) | |
783 | return val | |
784 | def GetOpenedPage(self, *_args, **_kwargs): | |
785 | val = htmlc.wxHtmlWindow_GetOpenedPage(self, *_args, **_kwargs) | |
786 | return val | |
787 | def GetOpenedAnchor(self, *_args, **_kwargs): | |
788 | val = htmlc.wxHtmlWindow_GetOpenedAnchor(self, *_args, **_kwargs) | |
789 | return val | |
790 | def GetOpenedPageTitle(self, *_args, **_kwargs): | |
791 | val = htmlc.wxHtmlWindow_GetOpenedPageTitle(self, *_args, **_kwargs) | |
792 | return val | |
793 | def SetRelatedFrame(self, *_args, **_kwargs): | |
794 | val = htmlc.wxHtmlWindow_SetRelatedFrame(self, *_args, **_kwargs) | |
795 | return val | |
796 | def GetRelatedFrame(self, *_args, **_kwargs): | |
797 | val = htmlc.wxHtmlWindow_GetRelatedFrame(self, *_args, **_kwargs) | |
798 | return val | |
799 | def SetRelatedStatusBar(self, *_args, **_kwargs): | |
800 | val = htmlc.wxHtmlWindow_SetRelatedStatusBar(self, *_args, **_kwargs) | |
801 | return val | |
802 | def SetFonts(self, *_args, **_kwargs): | |
803 | val = htmlc.wxHtmlWindow_SetFonts(self, *_args, **_kwargs) | |
804 | return val | |
805 | def SetTitle(self, *_args, **_kwargs): | |
806 | val = htmlc.wxHtmlWindow_SetTitle(self, *_args, **_kwargs) | |
807 | return val | |
808 | def SetBorders(self, *_args, **_kwargs): | |
809 | val = htmlc.wxHtmlWindow_SetBorders(self, *_args, **_kwargs) | |
810 | return val | |
811 | def ReadCustomization(self, *_args, **_kwargs): | |
812 | val = htmlc.wxHtmlWindow_ReadCustomization(self, *_args, **_kwargs) | |
813 | return val | |
814 | def WriteCustomization(self, *_args, **_kwargs): | |
815 | val = htmlc.wxHtmlWindow_WriteCustomization(self, *_args, **_kwargs) | |
816 | return val | |
817 | def HistoryBack(self, *_args, **_kwargs): | |
818 | val = htmlc.wxHtmlWindow_HistoryBack(self, *_args, **_kwargs) | |
819 | return val | |
820 | def HistoryForward(self, *_args, **_kwargs): | |
821 | val = htmlc.wxHtmlWindow_HistoryForward(self, *_args, **_kwargs) | |
822 | return val | |
823 | def HistoryCanBack(self, *_args, **_kwargs): | |
824 | val = htmlc.wxHtmlWindow_HistoryCanBack(self, *_args, **_kwargs) | |
825 | return val | |
826 | def HistoryCanForward(self, *_args, **_kwargs): | |
827 | val = htmlc.wxHtmlWindow_HistoryCanForward(self, *_args, **_kwargs) | |
828 | return val | |
829 | def HistoryClear(self, *_args, **_kwargs): | |
830 | val = htmlc.wxHtmlWindow_HistoryClear(self, *_args, **_kwargs) | |
831 | return val | |
832 | def GetInternalRepresentation(self, *_args, **_kwargs): | |
833 | val = htmlc.wxHtmlWindow_GetInternalRepresentation(self, *_args, **_kwargs) | |
834 | if val: val = wxHtmlContainerCellPtr(val) | |
835 | return val | |
836 | def GetParser(self, *_args, **_kwargs): | |
837 | val = htmlc.wxHtmlWindow_GetParser(self, *_args, **_kwargs) | |
838 | if val: val = wxHtmlWinParserPtr(val) | |
839 | return val | |
840 | def ScrollToAnchor(self, *_args, **_kwargs): | |
841 | val = htmlc.wxHtmlWindow_ScrollToAnchor(self, *_args, **_kwargs) | |
842 | return val | |
843 | def HasAnchor(self, *_args, **_kwargs): | |
844 | val = htmlc.wxHtmlWindow_HasAnchor(self, *_args, **_kwargs) | |
845 | return val | |
846 | def base_OnLinkClicked(self, *_args, **_kwargs): | |
847 | val = htmlc.wxHtmlWindow_base_OnLinkClicked(self, *_args, **_kwargs) | |
848 | return val | |
849 | def base_OnSetTitle(self, *_args, **_kwargs): | |
850 | val = htmlc.wxHtmlWindow_base_OnSetTitle(self, *_args, **_kwargs) | |
851 | return val | |
852 | def base_OnCellMouseHover(self, *_args, **_kwargs): | |
853 | val = htmlc.wxHtmlWindow_base_OnCellMouseHover(self, *_args, **_kwargs) | |
854 | return val | |
855 | def base_OnCellClicked(self, *_args, **_kwargs): | |
856 | val = htmlc.wxHtmlWindow_base_OnCellClicked(self, *_args, **_kwargs) | |
857 | return val | |
858 | def __repr__(self): | |
859 | return "<%s.%s instance; proxy of C++ wxHtmlWindow instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) | |
860 | class wxHtmlWindow(wxHtmlWindowPtr): | |
861 | def __init__(self,*_args,**_kwargs): | |
862 | self.this = htmlc.new_wxHtmlWindow(*_args,**_kwargs) | |
863 | self.thisown = 1 | |
864 | self._setCallbackInfo(self, wxHtmlWindow) | |
865 | self._setOORInfo(self) | |
866 | ||
867 | ||
868 | ||
869 | def wxPreHtmlWindow(*_args,**_kwargs): | |
870 | val = wxHtmlWindowPtr(htmlc.new_wxPreHtmlWindow(*_args,**_kwargs)) | |
871 | val.thisown = 1 | |
872 | val._setOORInfo(val) | |
873 | return val | |
874 | ||
875 | ||
876 | class wxHtmlDCRendererPtr(wxObjectPtr): | |
877 | def __init__(self,this): | |
878 | self.this = this | |
879 | self.thisown = 0 | |
880 | def __del__(self, delfunc=htmlc.delete_wxHtmlDCRenderer): | |
881 | if self.thisown == 1: | |
882 | try: | |
883 | delfunc(self) | |
884 | except: | |
885 | pass | |
886 | def SetDC(self, *_args, **_kwargs): | |
887 | val = htmlc.wxHtmlDCRenderer_SetDC(self, *_args, **_kwargs) | |
888 | return val | |
889 | def SetSize(self, *_args, **_kwargs): | |
890 | val = htmlc.wxHtmlDCRenderer_SetSize(self, *_args, **_kwargs) | |
891 | return val | |
892 | def SetHtmlText(self, *_args, **_kwargs): | |
893 | val = htmlc.wxHtmlDCRenderer_SetHtmlText(self, *_args, **_kwargs) | |
894 | return val | |
895 | def SetFonts(self, *_args, **_kwargs): | |
896 | val = htmlc.wxHtmlDCRenderer_SetFonts(self, *_args, **_kwargs) | |
897 | return val | |
898 | def Render(self, *_args, **_kwargs): | |
899 | val = htmlc.wxHtmlDCRenderer_Render(self, *_args, **_kwargs) | |
900 | return val | |
901 | def GetTotalHeight(self, *_args, **_kwargs): | |
902 | val = htmlc.wxHtmlDCRenderer_GetTotalHeight(self, *_args, **_kwargs) | |
903 | return val | |
904 | def __repr__(self): | |
905 | return "<%s.%s instance; proxy of C++ wxHtmlDCRenderer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) | |
906 | class wxHtmlDCRenderer(wxHtmlDCRendererPtr): | |
907 | def __init__(self,*_args,**_kwargs): | |
908 | self.this = htmlc.new_wxHtmlDCRenderer(*_args,**_kwargs) | |
909 | self.thisown = 1 | |
910 | ||
911 | ||
912 | ||
913 | ||
914 | class wxHtmlPrintoutPtr(wxPrintoutPtr): | |
915 | def __init__(self,this): | |
916 | self.this = this | |
917 | self.thisown = 0 | |
918 | def SetHtmlText(self, *_args, **_kwargs): | |
919 | val = htmlc.wxHtmlPrintout_SetHtmlText(self, *_args, **_kwargs) | |
920 | return val | |
921 | def SetHtmlFile(self, *_args, **_kwargs): | |
922 | val = htmlc.wxHtmlPrintout_SetHtmlFile(self, *_args, **_kwargs) | |
923 | return val | |
924 | def SetHeader(self, *_args, **_kwargs): | |
925 | val = htmlc.wxHtmlPrintout_SetHeader(self, *_args, **_kwargs) | |
926 | return val | |
927 | def SetFooter(self, *_args, **_kwargs): | |
928 | val = htmlc.wxHtmlPrintout_SetFooter(self, *_args, **_kwargs) | |
929 | return val | |
930 | def SetFonts(self, *_args, **_kwargs): | |
931 | val = htmlc.wxHtmlPrintout_SetFonts(self, *_args, **_kwargs) | |
932 | return val | |
933 | def SetMargins(self, *_args, **_kwargs): | |
934 | val = htmlc.wxHtmlPrintout_SetMargins(self, *_args, **_kwargs) | |
935 | return val | |
936 | def __repr__(self): | |
937 | return "<%s.%s instance; proxy of C++ wxHtmlPrintout instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) | |
938 | class wxHtmlPrintout(wxHtmlPrintoutPtr): | |
939 | def __init__(self,*_args,**_kwargs): | |
940 | self.this = htmlc.new_wxHtmlPrintout(*_args,**_kwargs) | |
941 | self.thisown = 1 | |
942 | ||
943 | ||
944 | ||
945 | ||
946 | class wxHtmlEasyPrintingPtr(wxObjectPtr): | |
947 | def __init__(self,this): | |
948 | self.this = this | |
949 | self.thisown = 0 | |
950 | def __del__(self, delfunc=htmlc.delete_wxHtmlEasyPrinting): | |
951 | if self.thisown == 1: | |
952 | try: | |
953 | delfunc(self) | |
954 | except: | |
955 | pass | |
956 | def PreviewFile(self, *_args, **_kwargs): | |
957 | val = htmlc.wxHtmlEasyPrinting_PreviewFile(self, *_args, **_kwargs) | |
958 | return val | |
959 | def PreviewText(self, *_args, **_kwargs): | |
960 | val = htmlc.wxHtmlEasyPrinting_PreviewText(self, *_args, **_kwargs) | |
961 | return val | |
962 | def PrintFile(self, *_args, **_kwargs): | |
963 | val = htmlc.wxHtmlEasyPrinting_PrintFile(self, *_args, **_kwargs) | |
964 | return val | |
965 | def PrintText(self, *_args, **_kwargs): | |
966 | val = htmlc.wxHtmlEasyPrinting_PrintText(self, *_args, **_kwargs) | |
967 | return val | |
968 | def PrinterSetup(self, *_args, **_kwargs): | |
969 | val = htmlc.wxHtmlEasyPrinting_PrinterSetup(self, *_args, **_kwargs) | |
970 | return val | |
971 | def PageSetup(self, *_args, **_kwargs): | |
972 | val = htmlc.wxHtmlEasyPrinting_PageSetup(self, *_args, **_kwargs) | |
973 | return val | |
974 | def SetHeader(self, *_args, **_kwargs): | |
975 | val = htmlc.wxHtmlEasyPrinting_SetHeader(self, *_args, **_kwargs) | |
976 | return val | |
977 | def SetFooter(self, *_args, **_kwargs): | |
978 | val = htmlc.wxHtmlEasyPrinting_SetFooter(self, *_args, **_kwargs) | |
979 | return val | |
980 | def SetFonts(self, *_args, **_kwargs): | |
981 | val = htmlc.wxHtmlEasyPrinting_SetFonts(self, *_args, **_kwargs) | |
982 | return val | |
983 | def GetPrintData(self, *_args, **_kwargs): | |
984 | val = htmlc.wxHtmlEasyPrinting_GetPrintData(self, *_args, **_kwargs) | |
985 | if val: val = wxPrintDataPtr(val) | |
986 | return val | |
987 | def GetPageSetupData(self, *_args, **_kwargs): | |
988 | val = htmlc.wxHtmlEasyPrinting_GetPageSetupData(self, *_args, **_kwargs) | |
989 | if val: val = wxPageSetupDialogDataPtr(val) | |
990 | return val | |
991 | def __repr__(self): | |
992 | return "<%s.%s instance; proxy of C++ wxHtmlEasyPrinting instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this) | |
993 | class wxHtmlEasyPrinting(wxHtmlEasyPrintingPtr): | |
994 | def __init__(self,*_args,**_kwargs): | |
995 | self.this = htmlc.new_wxHtmlEasyPrinting(*_args,**_kwargs) | |
996 | self.thisown = 1 | |
997 | ||
998 | ||
999 | ||
1000 | ||
1001 | ||
1002 | ||
1003 | #-------------- FUNCTION WRAPPERS ------------------ | |
1004 | ||
1005 | wxHtmlWinParser_AddTagHandler = htmlc.wxHtmlWinParser_AddTagHandler | |
1006 | ||
1007 | wxHtmlWindow_AddFilter = htmlc.wxHtmlWindow_AddFilter | |
1008 | ||
1009 | wxHtmlPrintout_AddFilter = htmlc.wxHtmlPrintout_AddFilter | |
1010 | ||
1011 | wxHtmlPrintout_CleanUpStatics = htmlc.wxHtmlPrintout_CleanUpStatics | |
1012 | ||
1013 | ||
1014 | ||
1015 | #-------------- VARIABLE WRAPPERS ------------------ | |
1016 | ||
1017 | wxHTML_ALIGN_LEFT = htmlc.wxHTML_ALIGN_LEFT | |
1018 | wxHTML_ALIGN_CENTER = htmlc.wxHTML_ALIGN_CENTER | |
1019 | wxHTML_ALIGN_RIGHT = htmlc.wxHTML_ALIGN_RIGHT | |
1020 | wxHTML_ALIGN_BOTTOM = htmlc.wxHTML_ALIGN_BOTTOM | |
1021 | wxHTML_ALIGN_TOP = htmlc.wxHTML_ALIGN_TOP | |
1022 | wxHTML_CLR_FOREGROUND = htmlc.wxHTML_CLR_FOREGROUND | |
1023 | wxHTML_CLR_BACKGROUND = htmlc.wxHTML_CLR_BACKGROUND | |
1024 | wxHTML_UNITS_PIXELS = htmlc.wxHTML_UNITS_PIXELS | |
1025 | wxHTML_UNITS_PERCENT = htmlc.wxHTML_UNITS_PERCENT | |
1026 | wxHTML_INDENT_LEFT = htmlc.wxHTML_INDENT_LEFT | |
1027 | wxHTML_INDENT_RIGHT = htmlc.wxHTML_INDENT_RIGHT | |
1028 | wxHTML_INDENT_TOP = htmlc.wxHTML_INDENT_TOP | |
1029 | wxHTML_INDENT_BOTTOM = htmlc.wxHTML_INDENT_BOTTOM | |
1030 | wxHTML_INDENT_HORIZONTAL = htmlc.wxHTML_INDENT_HORIZONTAL | |
1031 | wxHTML_INDENT_VERTICAL = htmlc.wxHTML_INDENT_VERTICAL | |
1032 | wxHTML_INDENT_ALL = htmlc.wxHTML_INDENT_ALL | |
1033 | wxHTML_COND_ISANCHOR = htmlc.wxHTML_COND_ISANCHOR | |
1034 | wxHTML_COND_ISIMAGEMAP = htmlc.wxHTML_COND_ISIMAGEMAP | |
1035 | wxHTML_COND_USER = htmlc.wxHTML_COND_USER | |
1036 | wxHW_SCROLLBAR_NEVER = htmlc.wxHW_SCROLLBAR_NEVER | |
1037 | wxHW_SCROLLBAR_AUTO = htmlc.wxHW_SCROLLBAR_AUTO | |
1038 | wxHW_NO_SELECTION = htmlc.wxHW_NO_SELECTION | |
1039 | wxHW_DEFAULT_STYLE = htmlc.wxHW_DEFAULT_STYLE | |
1040 | wxHTML_OPEN = htmlc.wxHTML_OPEN | |
1041 | wxHTML_BLOCK = htmlc.wxHTML_BLOCK | |
1042 | wxHTML_REDIRECT = htmlc.wxHTML_REDIRECT | |
1043 | wxHTML_URL_PAGE = htmlc.wxHTML_URL_PAGE | |
1044 | wxHTML_URL_IMAGE = htmlc.wxHTML_URL_IMAGE | |
1045 | wxHTML_URL_OTHER = htmlc.wxHTML_URL_OTHER | |
1046 | wxHTML_SEL_OUT = htmlc.wxHTML_SEL_OUT | |
1047 | wxHTML_SEL_IN = htmlc.wxHTML_SEL_IN | |
1048 | wxHTML_SEL_CHANGING = htmlc.wxHTML_SEL_CHANGING | |
1049 | wxHTML_FIND_EXACT = htmlc.wxHTML_FIND_EXACT | |
1050 | wxHTML_FIND_NEAREST_BEFORE = htmlc.wxHTML_FIND_NEAREST_BEFORE | |
1051 | wxHTML_FIND_NEAREST_AFTER = htmlc.wxHTML_FIND_NEAREST_AFTER | |
1052 | wxPAGE_ODD = htmlc.wxPAGE_ODD | |
1053 | wxPAGE_EVEN = htmlc.wxPAGE_EVEN | |
1054 | wxPAGE_ALL = htmlc.wxPAGE_ALL | |
1055 | ||
1056 | ||
1057 | #-------------- USER INCLUDE ----------------------- | |
1058 | ||
1059 | ||
1060 | # Stuff these names into the wx namespace so wxPyConstructObject can find them | |
1061 | import wx | |
1062 | wx.wxHtmlTagPtr = wxHtmlTagPtr | |
1063 | wx.wxHtmlParserPtr = wxHtmlParserPtr | |
1064 | wx.wxHtmlWinParserPtr = wxHtmlWinParserPtr | |
1065 | wx.wxHtmlTagHandlerPtr = wxHtmlTagHandlerPtr | |
1066 | wx.wxHtmlWinTagHandlerPtr = wxHtmlWinTagHandlerPtr | |
1067 | wx.wxHtmlCellPtr = wxHtmlCellPtr | |
1068 | wx.wxHtmlContainerCellPtr = wxHtmlContainerCellPtr | |
1069 | wx.wxHtmlWidgetCellPtr = wxHtmlWidgetCellPtr | |
1070 | wx.wxHtmlWindowPtr = wxHtmlWindowPtr | |
1071 | wx.wxHtmlLinkInfoPtr = wxHtmlLinkInfoPtr | |
1072 | wx.wxHtmlFilterPtr = wxHtmlFilterPtr | |
1073 |