]>
Commit | Line | Data |
---|---|---|
325274bb RD |
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 | ||
b1462dfa RD |
12 | from clip_dnd import * |
13 | ||
325274bb RD |
14 | from events import * |
15 | ||
c368d904 RD |
16 | from streams import * |
17 | ||
325274bb RD |
18 | from mdi import * |
19 | ||
20 | from frames import * | |
21 | ||
22 | from stattool import * | |
23 | ||
24 | from controls import * | |
25 | ||
26 | from controls2 import * | |
27 | ||
28 | from windows2 import * | |
29 | ||
30 | from cmndlgs import * | |
31 | ||
32 | from windows3 import * | |
33 | ||
34 | from image import * | |
35 | ||
36 | from printfw import * | |
2f90df85 RD |
37 | |
38 | from sizers import * | |
c368d904 RD |
39 | |
40 | from filesys import * | |
41 | ||
42 | from utils import * | |
2f90df85 | 43 | import wx |
9416aa89 | 44 | class wxHtmlLinkInfoPtr(wxObjectPtr): |
9c00cfa3 RD |
45 | def __init__(self,this): |
46 | self.this = this | |
47 | self.thisown = 0 | |
48 | def GetHref(self, *_args, **_kwargs): | |
49 | val = apply(htmlc.wxHtmlLinkInfo_GetHref,(self,) + _args, _kwargs) | |
50 | return val | |
51 | def GetTarget(self, *_args, **_kwargs): | |
52 | val = apply(htmlc.wxHtmlLinkInfo_GetTarget,(self,) + _args, _kwargs) | |
53 | return val | |
e02c03a4 RD |
54 | def GetEvent(self, *_args, **_kwargs): |
55 | val = apply(htmlc.wxHtmlLinkInfo_GetEvent,(self,) + _args, _kwargs) | |
e02c03a4 RD |
56 | return val |
57 | def GetHtmlCell(self, *_args, **_kwargs): | |
58 | val = apply(htmlc.wxHtmlLinkInfo_GetHtmlCell,(self,) + _args, _kwargs) | |
59 | if val: val = wxHtmlCellPtr(val) | |
60 | return val | |
794c5cb1 RD |
61 | def SetEvent(self, *_args, **_kwargs): |
62 | val = apply(htmlc.wxHtmlLinkInfo_SetEvent,(self,) + _args, _kwargs) | |
63 | return val | |
64 | def SetHtmlCell(self, *_args, **_kwargs): | |
65 | val = apply(htmlc.wxHtmlLinkInfo_SetHtmlCell,(self,) + _args, _kwargs) | |
66 | return val | |
9c00cfa3 RD |
67 | def __repr__(self): |
68 | return "<C wxHtmlLinkInfo instance at %s>" % (self.this,) | |
69 | class wxHtmlLinkInfo(wxHtmlLinkInfoPtr): | |
70 | def __init__(self,*_args,**_kwargs): | |
71 | self.this = apply(htmlc.new_wxHtmlLinkInfo,_args,_kwargs) | |
72 | self.thisown = 1 | |
73 | ||
74 | ||
75 | ||
76 | ||
9416aa89 | 77 | class wxHtmlTagPtr(wxObjectPtr): |
0f66a9f3 RD |
78 | def __init__(self,this): |
79 | self.this = this | |
80 | self.thisown = 0 | |
81 | def GetName(self, *_args, **_kwargs): | |
82 | val = apply(htmlc.wxHtmlTag_GetName,(self,) + _args, _kwargs) | |
83 | return val | |
84 | def HasParam(self, *_args, **_kwargs): | |
85 | val = apply(htmlc.wxHtmlTag_HasParam,(self,) + _args, _kwargs) | |
86 | return val | |
87 | def GetParam(self, *_args, **_kwargs): | |
88 | val = apply(htmlc.wxHtmlTag_GetParam,(self,) + _args, _kwargs) | |
89 | return val | |
90 | def GetAllParams(self, *_args, **_kwargs): | |
91 | val = apply(htmlc.wxHtmlTag_GetAllParams,(self,) + _args, _kwargs) | |
92 | return val | |
0f66a9f3 RD |
93 | def HasEnding(self, *_args, **_kwargs): |
94 | val = apply(htmlc.wxHtmlTag_HasEnding,(self,) + _args, _kwargs) | |
95 | return val | |
96 | def GetBeginPos(self, *_args, **_kwargs): | |
97 | val = apply(htmlc.wxHtmlTag_GetBeginPos,(self,) + _args, _kwargs) | |
98 | return val | |
99 | def GetEndPos1(self, *_args, **_kwargs): | |
100 | val = apply(htmlc.wxHtmlTag_GetEndPos1,(self,) + _args, _kwargs) | |
101 | return val | |
102 | def GetEndPos2(self, *_args, **_kwargs): | |
103 | val = apply(htmlc.wxHtmlTag_GetEndPos2,(self,) + _args, _kwargs) | |
104 | return val | |
105 | def __repr__(self): | |
106 | return "<C wxHtmlTag instance at %s>" % (self.this,) | |
107 | class wxHtmlTag(wxHtmlTagPtr): | |
108 | def __init__(self,this): | |
109 | self.this = this | |
110 | ||
111 | ||
112 | ||
113 | ||
9416aa89 | 114 | class wxHtmlParserPtr(wxObjectPtr): |
0f66a9f3 RD |
115 | def __init__(self,this): |
116 | self.this = this | |
117 | self.thisown = 0 | |
118 | def SetFS(self, *_args, **_kwargs): | |
119 | val = apply(htmlc.wxHtmlParser_SetFS,(self,) + _args, _kwargs) | |
120 | return val | |
121 | def GetFS(self, *_args, **_kwargs): | |
122 | val = apply(htmlc.wxHtmlParser_GetFS,(self,) + _args, _kwargs) | |
123 | return val | |
124 | def Parse(self, *_args, **_kwargs): | |
125 | val = apply(htmlc.wxHtmlParser_Parse,(self,) + _args, _kwargs) | |
126 | return val | |
127 | def InitParser(self, *_args, **_kwargs): | |
128 | val = apply(htmlc.wxHtmlParser_InitParser,(self,) + _args, _kwargs) | |
129 | return val | |
130 | def DoneParser(self, *_args, **_kwargs): | |
131 | val = apply(htmlc.wxHtmlParser_DoneParser,(self,) + _args, _kwargs) | |
132 | return val | |
133 | def DoParsing(self, *_args, **_kwargs): | |
134 | val = apply(htmlc.wxHtmlParser_DoParsing,(self,) + _args, _kwargs) | |
135 | return val | |
136 | def AddTagHandler(self, *_args, **_kwargs): | |
137 | val = apply(htmlc.wxHtmlParser_AddTagHandler,(self,) + _args, _kwargs) | |
138 | return val | |
139 | def GetSource(self, *_args, **_kwargs): | |
140 | val = apply(htmlc.wxHtmlParser_GetSource,(self,) + _args, _kwargs) | |
141 | return val | |
dc2f8a65 RD |
142 | def PushTagHandler(self, *_args, **_kwargs): |
143 | val = apply(htmlc.wxHtmlParser_PushTagHandler,(self,) + _args, _kwargs) | |
144 | return val | |
145 | def PopTagHandler(self, *_args, **_kwargs): | |
146 | val = apply(htmlc.wxHtmlParser_PopTagHandler,(self,) + _args, _kwargs) | |
147 | return val | |
0f66a9f3 RD |
148 | def __repr__(self): |
149 | return "<C wxHtmlParser instance at %s>" % (self.this,) | |
150 | class wxHtmlParser(wxHtmlParserPtr): | |
151 | def __init__(self,this): | |
152 | self.this = this | |
153 | ||
154 | ||
155 | ||
156 | ||
157 | class wxHtmlWinParserPtr(wxHtmlParserPtr): | |
158 | def __init__(self,this): | |
159 | self.this = this | |
160 | self.thisown = 0 | |
161 | def SetDC(self, *_args, **_kwargs): | |
162 | val = apply(htmlc.wxHtmlWinParser_SetDC,(self,) + _args, _kwargs) | |
163 | return val | |
164 | def GetDC(self, *_args, **_kwargs): | |
165 | val = apply(htmlc.wxHtmlWinParser_GetDC,(self,) + _args, _kwargs) | |
0f66a9f3 RD |
166 | return val |
167 | def GetCharHeight(self, *_args, **_kwargs): | |
168 | val = apply(htmlc.wxHtmlWinParser_GetCharHeight,(self,) + _args, _kwargs) | |
169 | return val | |
170 | def GetCharWidth(self, *_args, **_kwargs): | |
171 | val = apply(htmlc.wxHtmlWinParser_GetCharWidth,(self,) + _args, _kwargs) | |
172 | return val | |
173 | def GetWindow(self, *_args, **_kwargs): | |
174 | val = apply(htmlc.wxHtmlWinParser_GetWindow,(self,) + _args, _kwargs) | |
0f66a9f3 RD |
175 | return val |
176 | def SetFonts(self, *_args, **_kwargs): | |
177 | val = apply(htmlc.wxHtmlWinParser_SetFonts,(self,) + _args, _kwargs) | |
178 | return val | |
179 | def GetContainer(self, *_args, **_kwargs): | |
180 | val = apply(htmlc.wxHtmlWinParser_GetContainer,(self,) + _args, _kwargs) | |
e166644c | 181 | if val: val = wxHtmlContainerCellPtr(val) |
0f66a9f3 RD |
182 | return val |
183 | def OpenContainer(self, *_args, **_kwargs): | |
184 | val = apply(htmlc.wxHtmlWinParser_OpenContainer,(self,) + _args, _kwargs) | |
e166644c | 185 | if val: val = wxHtmlContainerCellPtr(val) |
0f66a9f3 | 186 | return val |
dc2f8a65 RD |
187 | def SetContainer(self, *_args, **_kwargs): |
188 | val = apply(htmlc.wxHtmlWinParser_SetContainer,(self,) + _args, _kwargs) | |
189 | if val: val = wxHtmlContainerCellPtr(val) | |
190 | return val | |
0f66a9f3 RD |
191 | def CloseContainer(self, *_args, **_kwargs): |
192 | val = apply(htmlc.wxHtmlWinParser_CloseContainer,(self,) + _args, _kwargs) | |
e166644c | 193 | if val: val = wxHtmlContainerCellPtr(val) |
0f66a9f3 RD |
194 | return val |
195 | def GetFontSize(self, *_args, **_kwargs): | |
196 | val = apply(htmlc.wxHtmlWinParser_GetFontSize,(self,) + _args, _kwargs) | |
197 | return val | |
198 | def SetFontSize(self, *_args, **_kwargs): | |
199 | val = apply(htmlc.wxHtmlWinParser_SetFontSize,(self,) + _args, _kwargs) | |
200 | return val | |
201 | def GetFontBold(self, *_args, **_kwargs): | |
202 | val = apply(htmlc.wxHtmlWinParser_GetFontBold,(self,) + _args, _kwargs) | |
203 | return val | |
204 | def SetFontBold(self, *_args, **_kwargs): | |
205 | val = apply(htmlc.wxHtmlWinParser_SetFontBold,(self,) + _args, _kwargs) | |
206 | return val | |
207 | def GetFontItalic(self, *_args, **_kwargs): | |
208 | val = apply(htmlc.wxHtmlWinParser_GetFontItalic,(self,) + _args, _kwargs) | |
209 | return val | |
210 | def SetFontItalic(self, *_args, **_kwargs): | |
211 | val = apply(htmlc.wxHtmlWinParser_SetFontItalic,(self,) + _args, _kwargs) | |
212 | return val | |
213 | def GetFontUnderlined(self, *_args, **_kwargs): | |
214 | val = apply(htmlc.wxHtmlWinParser_GetFontUnderlined,(self,) + _args, _kwargs) | |
215 | return val | |
216 | def SetFontUnderlined(self, *_args, **_kwargs): | |
217 | val = apply(htmlc.wxHtmlWinParser_SetFontUnderlined,(self,) + _args, _kwargs) | |
218 | return val | |
219 | def GetFontFixed(self, *_args, **_kwargs): | |
220 | val = apply(htmlc.wxHtmlWinParser_GetFontFixed,(self,) + _args, _kwargs) | |
221 | return val | |
222 | def SetFontFixed(self, *_args, **_kwargs): | |
223 | val = apply(htmlc.wxHtmlWinParser_SetFontFixed,(self,) + _args, _kwargs) | |
224 | return val | |
225 | def GetAlign(self, *_args, **_kwargs): | |
226 | val = apply(htmlc.wxHtmlWinParser_GetAlign,(self,) + _args, _kwargs) | |
227 | return val | |
228 | def SetAlign(self, *_args, **_kwargs): | |
229 | val = apply(htmlc.wxHtmlWinParser_SetAlign,(self,) + _args, _kwargs) | |
230 | return val | |
231 | def GetLinkColor(self, *_args, **_kwargs): | |
232 | val = apply(htmlc.wxHtmlWinParser_GetLinkColor,(self,) + _args, _kwargs) | |
233 | if val: val = wxColourPtr(val) | |
234 | return val | |
235 | def SetLinkColor(self, *_args, **_kwargs): | |
236 | val = apply(htmlc.wxHtmlWinParser_SetLinkColor,(self,) + _args, _kwargs) | |
237 | return val | |
238 | def GetActualColor(self, *_args, **_kwargs): | |
239 | val = apply(htmlc.wxHtmlWinParser_GetActualColor,(self,) + _args, _kwargs) | |
240 | if val: val = wxColourPtr(val) | |
241 | return val | |
242 | def SetActualColor(self, *_args, **_kwargs): | |
243 | val = apply(htmlc.wxHtmlWinParser_SetActualColor,(self,) + _args, _kwargs) | |
244 | return val | |
0f66a9f3 RD |
245 | def SetLink(self, *_args, **_kwargs): |
246 | val = apply(htmlc.wxHtmlWinParser_SetLink,(self,) + _args, _kwargs) | |
247 | return val | |
248 | def CreateCurrentFont(self, *_args, **_kwargs): | |
249 | val = apply(htmlc.wxHtmlWinParser_CreateCurrentFont,(self,) + _args, _kwargs) | |
250 | if val: val = wxFontPtr(val) | |
251 | return val | |
9c00cfa3 RD |
252 | def GetLink(self, *_args, **_kwargs): |
253 | val = apply(htmlc.wxHtmlWinParser_GetLink,(self,) + _args, _kwargs) | |
254 | if val: val = wxHtmlLinkInfoPtr(val) ; val.thisown = 1 | |
255 | return val | |
0f66a9f3 RD |
256 | def __repr__(self): |
257 | return "<C wxHtmlWinParser instance at %s>" % (self.this,) | |
258 | class wxHtmlWinParser(wxHtmlWinParserPtr): | |
259 | def __init__(self,*_args,**_kwargs): | |
260 | self.this = apply(htmlc.new_wxHtmlWinParser,_args,_kwargs) | |
261 | self.thisown = 1 | |
262 | ||
263 | ||
264 | ||
265 | ||
9416aa89 | 266 | class wxHtmlTagHandlerPtr(wxObjectPtr): |
0f66a9f3 RD |
267 | def __init__(self,this): |
268 | self.this = this | |
269 | self.thisown = 0 | |
0122b7e3 RD |
270 | def _setCallbackInfo(self, *_args, **_kwargs): |
271 | val = apply(htmlc.wxHtmlTagHandler__setCallbackInfo,(self,) + _args, _kwargs) | |
0f66a9f3 RD |
272 | return val |
273 | def SetParser(self, *_args, **_kwargs): | |
274 | val = apply(htmlc.wxHtmlTagHandler_SetParser,(self,) + _args, _kwargs) | |
275 | return val | |
276 | def GetParser(self, *_args, **_kwargs): | |
277 | val = apply(htmlc.wxHtmlTagHandler_GetParser,(self,) + _args, _kwargs) | |
278 | if val: val = wxHtmlParserPtr(val) | |
279 | return val | |
280 | def ParseInner(self, *_args, **_kwargs): | |
281 | val = apply(htmlc.wxHtmlTagHandler_ParseInner,(self,) + _args, _kwargs) | |
282 | return val | |
283 | def __repr__(self): | |
284 | return "<C wxHtmlTagHandler instance at %s>" % (self.this,) | |
285 | class wxHtmlTagHandler(wxHtmlTagHandlerPtr): | |
286 | def __init__(self,*_args,**_kwargs): | |
287 | self.this = apply(htmlc.new_wxHtmlTagHandler,_args,_kwargs) | |
288 | self.thisown = 1 | |
0122b7e3 | 289 | self._setCallbackInfo(self, wxHtmlTagHandler) |
0f66a9f3 RD |
290 | |
291 | ||
292 | ||
293 | ||
294 | class wxHtmlWinTagHandlerPtr(wxHtmlTagHandlerPtr): | |
295 | def __init__(self,this): | |
296 | self.this = this | |
297 | self.thisown = 0 | |
0122b7e3 RD |
298 | def _setCallbackInfo(self, *_args, **_kwargs): |
299 | val = apply(htmlc.wxHtmlWinTagHandler__setCallbackInfo,(self,) + _args, _kwargs) | |
0f66a9f3 RD |
300 | return val |
301 | def SetParser(self, *_args, **_kwargs): | |
302 | val = apply(htmlc.wxHtmlWinTagHandler_SetParser,(self,) + _args, _kwargs) | |
303 | return val | |
304 | def GetParser(self, *_args, **_kwargs): | |
305 | val = apply(htmlc.wxHtmlWinTagHandler_GetParser,(self,) + _args, _kwargs) | |
306 | if val: val = wxHtmlWinParserPtr(val) | |
307 | return val | |
308 | def ParseInner(self, *_args, **_kwargs): | |
309 | val = apply(htmlc.wxHtmlWinTagHandler_ParseInner,(self,) + _args, _kwargs) | |
310 | return val | |
311 | def __repr__(self): | |
312 | return "<C wxHtmlWinTagHandler instance at %s>" % (self.this,) | |
313 | class wxHtmlWinTagHandler(wxHtmlWinTagHandlerPtr): | |
314 | def __init__(self,*_args,**_kwargs): | |
315 | self.this = apply(htmlc.new_wxHtmlWinTagHandler,_args,_kwargs) | |
316 | self.thisown = 1 | |
0122b7e3 | 317 | self._setCallbackInfo(self, wxHtmlWinTagHandler) |
0f66a9f3 RD |
318 | |
319 | ||
320 | ||
321 | ||
9416aa89 | 322 | class wxHtmlCellPtr(wxObjectPtr): |
e166644c RD |
323 | def __init__(self,this): |
324 | self.this = this | |
325 | self.thisown = 0 | |
e166644c RD |
326 | def GetPosX(self, *_args, **_kwargs): |
327 | val = apply(htmlc.wxHtmlCell_GetPosX,(self,) + _args, _kwargs) | |
328 | return val | |
329 | def GetPosY(self, *_args, **_kwargs): | |
330 | val = apply(htmlc.wxHtmlCell_GetPosY,(self,) + _args, _kwargs) | |
331 | return val | |
332 | def GetWidth(self, *_args, **_kwargs): | |
333 | val = apply(htmlc.wxHtmlCell_GetWidth,(self,) + _args, _kwargs) | |
334 | return val | |
335 | def GetHeight(self, *_args, **_kwargs): | |
336 | val = apply(htmlc.wxHtmlCell_GetHeight,(self,) + _args, _kwargs) | |
337 | return val | |
338 | def GetDescent(self, *_args, **_kwargs): | |
339 | val = apply(htmlc.wxHtmlCell_GetDescent,(self,) + _args, _kwargs) | |
340 | return val | |
341 | def GetLink(self, *_args, **_kwargs): | |
342 | val = apply(htmlc.wxHtmlCell_GetLink,(self,) + _args, _kwargs) | |
9c00cfa3 | 343 | if val: val = wxHtmlLinkInfoPtr(val) |
e166644c RD |
344 | return val |
345 | def GetNext(self, *_args, **_kwargs): | |
346 | val = apply(htmlc.wxHtmlCell_GetNext,(self,) + _args, _kwargs) | |
347 | if val: val = wxHtmlCellPtr(val) | |
348 | return val | |
9c00cfa3 RD |
349 | def GetParent(self, *_args, **_kwargs): |
350 | val = apply(htmlc.wxHtmlCell_GetParent,(self,) + _args, _kwargs) | |
351 | if val: val = wxHtmlContainerCellPtr(val) | |
e166644c RD |
352 | return val |
353 | def SetLink(self, *_args, **_kwargs): | |
354 | val = apply(htmlc.wxHtmlCell_SetLink,(self,) + _args, _kwargs) | |
355 | return val | |
356 | def SetNext(self, *_args, **_kwargs): | |
357 | val = apply(htmlc.wxHtmlCell_SetNext,(self,) + _args, _kwargs) | |
358 | return val | |
9c00cfa3 RD |
359 | def SetParent(self, *_args, **_kwargs): |
360 | val = apply(htmlc.wxHtmlCell_SetParent,(self,) + _args, _kwargs) | |
361 | return val | |
362 | def SetPos(self, *_args, **_kwargs): | |
363 | val = apply(htmlc.wxHtmlCell_SetPos,(self,) + _args, _kwargs) | |
364 | return val | |
e166644c RD |
365 | def Layout(self, *_args, **_kwargs): |
366 | val = apply(htmlc.wxHtmlCell_Layout,(self,) + _args, _kwargs) | |
367 | return val | |
368 | def Draw(self, *_args, **_kwargs): | |
369 | val = apply(htmlc.wxHtmlCell_Draw,(self,) + _args, _kwargs) | |
370 | return val | |
371 | def DrawInvisible(self, *_args, **_kwargs): | |
372 | val = apply(htmlc.wxHtmlCell_DrawInvisible,(self,) + _args, _kwargs) | |
373 | return val | |
374 | def Find(self, *_args, **_kwargs): | |
375 | val = apply(htmlc.wxHtmlCell_Find,(self,) + _args, _kwargs) | |
376 | if val: val = wxHtmlCellPtr(val) | |
377 | return val | |
dc2f8a65 RD |
378 | def AdjustPagebreak(self, *_args, **_kwargs): |
379 | val = apply(htmlc.wxHtmlCell_AdjustPagebreak,(self,) + _args, _kwargs) | |
380 | return val | |
381 | def SetCanLiveOnPagebreak(self, *_args, **_kwargs): | |
382 | val = apply(htmlc.wxHtmlCell_SetCanLiveOnPagebreak,(self,) + _args, _kwargs) | |
383 | return val | |
e166644c RD |
384 | def __repr__(self): |
385 | return "<C wxHtmlCell instance at %s>" % (self.this,) | |
386 | class wxHtmlCell(wxHtmlCellPtr): | |
387 | def __init__(self,*_args,**_kwargs): | |
388 | self.this = apply(htmlc.new_wxHtmlCell,_args,_kwargs) | |
389 | self.thisown = 1 | |
390 | ||
391 | ||
392 | ||
393 | ||
9416aa89 RD |
394 | class wxHtmlWordCellPtr(wxHtmlCellPtr): |
395 | def __init__(self,this): | |
396 | self.this = this | |
397 | self.thisown = 0 | |
398 | def __repr__(self): | |
399 | return "<C wxHtmlWordCell instance at %s>" % (self.this,) | |
400 | class wxHtmlWordCell(wxHtmlWordCellPtr): | |
401 | def __init__(self,*_args,**_kwargs): | |
402 | self.this = apply(htmlc.new_wxHtmlWordCell,_args,_kwargs) | |
403 | self.thisown = 1 | |
404 | ||
405 | ||
406 | ||
407 | ||
e166644c RD |
408 | class wxHtmlContainerCellPtr(wxHtmlCellPtr): |
409 | def __init__(self,this): | |
410 | self.this = this | |
411 | self.thisown = 0 | |
412 | def InsertCell(self, *_args, **_kwargs): | |
413 | val = apply(htmlc.wxHtmlContainerCell_InsertCell,(self,) + _args, _kwargs) | |
414 | return val | |
415 | def SetAlignHor(self, *_args, **_kwargs): | |
416 | val = apply(htmlc.wxHtmlContainerCell_SetAlignHor,(self,) + _args, _kwargs) | |
417 | return val | |
418 | def GetAlignHor(self, *_args, **_kwargs): | |
419 | val = apply(htmlc.wxHtmlContainerCell_GetAlignHor,(self,) + _args, _kwargs) | |
420 | return val | |
421 | def SetAlignVer(self, *_args, **_kwargs): | |
422 | val = apply(htmlc.wxHtmlContainerCell_SetAlignVer,(self,) + _args, _kwargs) | |
423 | return val | |
424 | def GetAlignVer(self, *_args, **_kwargs): | |
425 | val = apply(htmlc.wxHtmlContainerCell_GetAlignVer,(self,) + _args, _kwargs) | |
426 | return val | |
427 | def SetIndent(self, *_args, **_kwargs): | |
428 | val = apply(htmlc.wxHtmlContainerCell_SetIndent,(self,) + _args, _kwargs) | |
429 | return val | |
430 | def GetIndent(self, *_args, **_kwargs): | |
431 | val = apply(htmlc.wxHtmlContainerCell_GetIndent,(self,) + _args, _kwargs) | |
432 | return val | |
433 | def GetIndentUnits(self, *_args, **_kwargs): | |
434 | val = apply(htmlc.wxHtmlContainerCell_GetIndentUnits,(self,) + _args, _kwargs) | |
435 | return val | |
436 | def SetAlign(self, *_args, **_kwargs): | |
437 | val = apply(htmlc.wxHtmlContainerCell_SetAlign,(self,) + _args, _kwargs) | |
438 | return val | |
439 | def SetWidthFloat(self, *_args, **_kwargs): | |
440 | val = apply(htmlc.wxHtmlContainerCell_SetWidthFloat,(self,) + _args, _kwargs) | |
441 | return val | |
442 | def SetWidthFloatFromTag(self, *_args, **_kwargs): | |
443 | val = apply(htmlc.wxHtmlContainerCell_SetWidthFloatFromTag,(self,) + _args, _kwargs) | |
444 | return val | |
445 | def SetMinHeight(self, *_args, **_kwargs): | |
446 | val = apply(htmlc.wxHtmlContainerCell_SetMinHeight,(self,) + _args, _kwargs) | |
447 | return val | |
e166644c RD |
448 | def SetBackgroundColour(self, *_args, **_kwargs): |
449 | val = apply(htmlc.wxHtmlContainerCell_SetBackgroundColour,(self,) + _args, _kwargs) | |
450 | return val | |
451 | def SetBorder(self, *_args, **_kwargs): | |
452 | val = apply(htmlc.wxHtmlContainerCell_SetBorder,(self,) + _args, _kwargs) | |
453 | return val | |
454 | def GetFirstCell(self, *_args, **_kwargs): | |
455 | val = apply(htmlc.wxHtmlContainerCell_GetFirstCell,(self,) + _args, _kwargs) | |
456 | if val: val = wxHtmlCellPtr(val) | |
457 | return val | |
458 | def __repr__(self): | |
459 | return "<C wxHtmlContainerCell instance at %s>" % (self.this,) | |
460 | class wxHtmlContainerCell(wxHtmlContainerCellPtr): | |
461 | def __init__(self,*_args,**_kwargs): | |
462 | self.this = apply(htmlc.new_wxHtmlContainerCell,_args,_kwargs) | |
463 | self.thisown = 1 | |
464 | ||
465 | ||
466 | ||
467 | ||
9c00cfa3 RD |
468 | class wxHtmlColourCellPtr(wxHtmlCellPtr): |
469 | def __init__(self,this): | |
470 | self.this = this | |
471 | self.thisown = 0 | |
472 | def __repr__(self): | |
473 | return "<C wxHtmlColourCell instance at %s>" % (self.this,) | |
474 | class wxHtmlColourCell(wxHtmlColourCellPtr): | |
475 | def __init__(self,*_args,**_kwargs): | |
476 | self.this = apply(htmlc.new_wxHtmlColourCell,_args,_kwargs) | |
477 | self.thisown = 1 | |
478 | ||
479 | ||
480 | ||
481 | ||
9416aa89 RD |
482 | class wxHtmlFontCellPtr(wxHtmlCellPtr): |
483 | def __init__(self,this): | |
484 | self.this = this | |
485 | self.thisown = 0 | |
486 | def __repr__(self): | |
487 | return "<C wxHtmlFontCell instance at %s>" % (self.this,) | |
488 | class wxHtmlFontCell(wxHtmlFontCellPtr): | |
489 | def __init__(self,*_args,**_kwargs): | |
490 | self.this = apply(htmlc.new_wxHtmlFontCell,_args,_kwargs) | |
491 | self.thisown = 1 | |
492 | ||
493 | ||
494 | ||
495 | ||
e166644c RD |
496 | class wxHtmlWidgetCellPtr(wxHtmlCellPtr): |
497 | def __init__(self,this): | |
498 | self.this = this | |
499 | self.thisown = 0 | |
500 | def __repr__(self): | |
501 | return "<C wxHtmlWidgetCell instance at %s>" % (self.this,) | |
502 | class wxHtmlWidgetCell(wxHtmlWidgetCellPtr): | |
503 | def __init__(self,*_args,**_kwargs): | |
504 | self.this = apply(htmlc.new_wxHtmlWidgetCell,_args,_kwargs) | |
505 | self.thisown = 1 | |
506 | ||
507 | ||
508 | ||
509 | ||
325274bb RD |
510 | class wxHtmlWindowPtr(wxScrolledWindowPtr): |
511 | def __init__(self,this): | |
512 | self.this = this | |
513 | self.thisown = 0 | |
0122b7e3 RD |
514 | def _setCallbackInfo(self, *_args, **_kwargs): |
515 | val = apply(htmlc.wxHtmlWindow__setCallbackInfo,(self,) + _args, _kwargs) | |
0f66a9f3 | 516 | return val |
325274bb RD |
517 | def SetPage(self, *_args, **_kwargs): |
518 | val = apply(htmlc.wxHtmlWindow_SetPage,(self,) + _args, _kwargs) | |
519 | return val | |
520 | def LoadPage(self, *_args, **_kwargs): | |
521 | val = apply(htmlc.wxHtmlWindow_LoadPage,(self,) + _args, _kwargs) | |
522 | return val | |
de112a55 RD |
523 | def AppendToPage(self, *_args, **_kwargs): |
524 | val = apply(htmlc.wxHtmlWindow_AppendToPage,(self,) + _args, _kwargs) | |
525 | return val | |
325274bb RD |
526 | def GetOpenedPage(self, *_args, **_kwargs): |
527 | val = apply(htmlc.wxHtmlWindow_GetOpenedPage,(self,) + _args, _kwargs) | |
528 | return val | |
794c5cb1 RD |
529 | def GetOpenedAnchor(self, *_args, **_kwargs): |
530 | val = apply(htmlc.wxHtmlWindow_GetOpenedAnchor,(self,) + _args, _kwargs) | |
531 | return val | |
532 | def GetOpenedPageTitle(self, *_args, **_kwargs): | |
533 | val = apply(htmlc.wxHtmlWindow_GetOpenedPageTitle,(self,) + _args, _kwargs) | |
534 | return val | |
325274bb RD |
535 | def SetRelatedFrame(self, *_args, **_kwargs): |
536 | val = apply(htmlc.wxHtmlWindow_SetRelatedFrame,(self,) + _args, _kwargs) | |
537 | return val | |
538 | def GetRelatedFrame(self, *_args, **_kwargs): | |
539 | val = apply(htmlc.wxHtmlWindow_GetRelatedFrame,(self,) + _args, _kwargs) | |
325274bb RD |
540 | return val |
541 | def SetRelatedStatusBar(self, *_args, **_kwargs): | |
542 | val = apply(htmlc.wxHtmlWindow_SetRelatedStatusBar,(self,) + _args, _kwargs) | |
543 | return val | |
544 | def SetFonts(self, *_args, **_kwargs): | |
545 | val = apply(htmlc.wxHtmlWindow_SetFonts,(self,) + _args, _kwargs) | |
546 | return val | |
547 | def SetTitle(self, *_args, **_kwargs): | |
548 | val = apply(htmlc.wxHtmlWindow_SetTitle,(self,) + _args, _kwargs) | |
549 | return val | |
550 | def SetBorders(self, *_args, **_kwargs): | |
551 | val = apply(htmlc.wxHtmlWindow_SetBorders,(self,) + _args, _kwargs) | |
552 | return val | |
0f66a9f3 RD |
553 | def ReadCustomization(self, *_args, **_kwargs): |
554 | val = apply(htmlc.wxHtmlWindow_ReadCustomization,(self,) + _args, _kwargs) | |
555 | return val | |
556 | def WriteCustomization(self, *_args, **_kwargs): | |
557 | val = apply(htmlc.wxHtmlWindow_WriteCustomization,(self,) + _args, _kwargs) | |
558 | return val | |
325274bb RD |
559 | def HistoryBack(self, *_args, **_kwargs): |
560 | val = apply(htmlc.wxHtmlWindow_HistoryBack,(self,) + _args, _kwargs) | |
561 | return val | |
562 | def HistoryForward(self, *_args, **_kwargs): | |
563 | val = apply(htmlc.wxHtmlWindow_HistoryForward,(self,) + _args, _kwargs) | |
564 | return val | |
794c5cb1 RD |
565 | def HistoryCanBack(self, *_args, **_kwargs): |
566 | val = apply(htmlc.wxHtmlWindow_HistoryCanBack,(self,) + _args, _kwargs) | |
567 | return val | |
568 | def HistoryCanForward(self, *_args, **_kwargs): | |
569 | val = apply(htmlc.wxHtmlWindow_HistoryCanForward,(self,) + _args, _kwargs) | |
570 | return val | |
325274bb RD |
571 | def HistoryClear(self, *_args, **_kwargs): |
572 | val = apply(htmlc.wxHtmlWindow_HistoryClear,(self,) + _args, _kwargs) | |
573 | return val | |
a65c6e14 RD |
574 | def GetInternalRepresentation(self, *_args, **_kwargs): |
575 | val = apply(htmlc.wxHtmlWindow_GetInternalRepresentation,(self,) + _args, _kwargs) | |
e166644c RD |
576 | if val: val = wxHtmlContainerCellPtr(val) |
577 | return val | |
578 | def GetParser(self, *_args, **_kwargs): | |
579 | val = apply(htmlc.wxHtmlWindow_GetParser,(self,) + _args, _kwargs) | |
580 | if val: val = wxHtmlWinParserPtr(val) | |
a65c6e14 | 581 | return val |
95837b4d RD |
582 | def base_OnLinkClicked(self, *_args, **_kwargs): |
583 | val = apply(htmlc.wxHtmlWindow_base_OnLinkClicked,(self,) + _args, _kwargs) | |
584 | return val | |
9c00cfa3 RD |
585 | def base_OnSetTitle(self, *_args, **_kwargs): |
586 | val = apply(htmlc.wxHtmlWindow_base_OnSetTitle,(self,) + _args, _kwargs) | |
0f66a9f3 | 587 | return val |
0122b7e3 RD |
588 | def base_OnCellMouseHover(self, *_args, **_kwargs): |
589 | val = apply(htmlc.wxHtmlWindow_base_OnCellMouseHover,(self,) + _args, _kwargs) | |
590 | return val | |
591 | def base_OnCellClicked(self, *_args, **_kwargs): | |
592 | val = apply(htmlc.wxHtmlWindow_base_OnCellClicked,(self,) + _args, _kwargs) | |
593 | return val | |
325274bb RD |
594 | def __repr__(self): |
595 | return "<C wxHtmlWindow instance at %s>" % (self.this,) | |
596 | class wxHtmlWindow(wxHtmlWindowPtr): | |
597 | def __init__(self,*_args,**_kwargs): | |
598 | self.this = apply(htmlc.new_wxHtmlWindow,_args,_kwargs) | |
599 | self.thisown = 1 | |
0122b7e3 RD |
600 | self._setCallbackInfo(self, wxHtmlWindow) |
601 | self._setOORInfo(self) | |
325274bb RD |
602 | |
603 | ||
604 | ||
605 | ||
9416aa89 | 606 | class wxHtmlDCRendererPtr(wxObjectPtr): |
dc2f8a65 RD |
607 | def __init__(self,this): |
608 | self.this = this | |
609 | self.thisown = 0 | |
610 | def __del__(self,htmlc=htmlc): | |
611 | if self.thisown == 1 : | |
612 | htmlc.delete_wxHtmlDCRenderer(self) | |
613 | def SetDC(self, *_args, **_kwargs): | |
614 | val = apply(htmlc.wxHtmlDCRenderer_SetDC,(self,) + _args, _kwargs) | |
615 | return val | |
616 | def SetSize(self, *_args, **_kwargs): | |
617 | val = apply(htmlc.wxHtmlDCRenderer_SetSize,(self,) + _args, _kwargs) | |
618 | return val | |
619 | def SetHtmlText(self, *_args, **_kwargs): | |
620 | val = apply(htmlc.wxHtmlDCRenderer_SetHtmlText,(self,) + _args, _kwargs) | |
621 | return val | |
622 | def Render(self, *_args, **_kwargs): | |
623 | val = apply(htmlc.wxHtmlDCRenderer_Render,(self,) + _args, _kwargs) | |
624 | return val | |
625 | def GetTotalHeight(self, *_args, **_kwargs): | |
626 | val = apply(htmlc.wxHtmlDCRenderer_GetTotalHeight,(self,) + _args, _kwargs) | |
627 | return val | |
628 | def __repr__(self): | |
629 | return "<C wxHtmlDCRenderer instance at %s>" % (self.this,) | |
630 | class wxHtmlDCRenderer(wxHtmlDCRendererPtr): | |
631 | def __init__(self,*_args,**_kwargs): | |
632 | self.this = apply(htmlc.new_wxHtmlDCRenderer,_args,_kwargs) | |
633 | self.thisown = 1 | |
634 | ||
635 | ||
636 | ||
637 | ||
638 | class wxHtmlPrintoutPtr(wxPrintoutPtr): | |
639 | def __init__(self,this): | |
640 | self.this = this | |
641 | self.thisown = 0 | |
dc2f8a65 RD |
642 | def SetHtmlText(self, *_args, **_kwargs): |
643 | val = apply(htmlc.wxHtmlPrintout_SetHtmlText,(self,) + _args, _kwargs) | |
644 | return val | |
645 | def SetHtmlFile(self, *_args, **_kwargs): | |
646 | val = apply(htmlc.wxHtmlPrintout_SetHtmlFile,(self,) + _args, _kwargs) | |
647 | return val | |
648 | def SetHeader(self, *_args, **_kwargs): | |
649 | val = apply(htmlc.wxHtmlPrintout_SetHeader,(self,) + _args, _kwargs) | |
650 | return val | |
651 | def SetFooter(self, *_args, **_kwargs): | |
652 | val = apply(htmlc.wxHtmlPrintout_SetFooter,(self,) + _args, _kwargs) | |
653 | return val | |
654 | def SetMargins(self, *_args, **_kwargs): | |
655 | val = apply(htmlc.wxHtmlPrintout_SetMargins,(self,) + _args, _kwargs) | |
656 | return val | |
657 | def __repr__(self): | |
658 | return "<C wxHtmlPrintout instance at %s>" % (self.this,) | |
659 | class wxHtmlPrintout(wxHtmlPrintoutPtr): | |
660 | def __init__(self,*_args,**_kwargs): | |
661 | self.this = apply(htmlc.new_wxHtmlPrintout,_args,_kwargs) | |
662 | self.thisown = 1 | |
663 | ||
664 | ||
665 | ||
666 | ||
9416aa89 | 667 | class wxHtmlEasyPrintingPtr(wxObjectPtr): |
dc2f8a65 RD |
668 | def __init__(self,this): |
669 | self.this = this | |
670 | self.thisown = 0 | |
671 | def __del__(self,htmlc=htmlc): | |
672 | if self.thisown == 1 : | |
673 | htmlc.delete_wxHtmlEasyPrinting(self) | |
674 | def PreviewFile(self, *_args, **_kwargs): | |
675 | val = apply(htmlc.wxHtmlEasyPrinting_PreviewFile,(self,) + _args, _kwargs) | |
676 | return val | |
677 | def PreviewText(self, *_args, **_kwargs): | |
678 | val = apply(htmlc.wxHtmlEasyPrinting_PreviewText,(self,) + _args, _kwargs) | |
679 | return val | |
680 | def PrintFile(self, *_args, **_kwargs): | |
681 | val = apply(htmlc.wxHtmlEasyPrinting_PrintFile,(self,) + _args, _kwargs) | |
682 | return val | |
683 | def PrintText(self, *_args, **_kwargs): | |
684 | val = apply(htmlc.wxHtmlEasyPrinting_PrintText,(self,) + _args, _kwargs) | |
685 | return val | |
686 | def PrinterSetup(self, *_args, **_kwargs): | |
687 | val = apply(htmlc.wxHtmlEasyPrinting_PrinterSetup,(self,) + _args, _kwargs) | |
688 | return val | |
689 | def PageSetup(self, *_args, **_kwargs): | |
690 | val = apply(htmlc.wxHtmlEasyPrinting_PageSetup,(self,) + _args, _kwargs) | |
691 | return val | |
692 | def SetHeader(self, *_args, **_kwargs): | |
693 | val = apply(htmlc.wxHtmlEasyPrinting_SetHeader,(self,) + _args, _kwargs) | |
694 | return val | |
695 | def SetFooter(self, *_args, **_kwargs): | |
696 | val = apply(htmlc.wxHtmlEasyPrinting_SetFooter,(self,) + _args, _kwargs) | |
697 | return val | |
698 | def GetPrintData(self, *_args, **_kwargs): | |
699 | val = apply(htmlc.wxHtmlEasyPrinting_GetPrintData,(self,) + _args, _kwargs) | |
700 | if val: val = wxPrintDataPtr(val) | |
701 | return val | |
702 | def GetPageSetupData(self, *_args, **_kwargs): | |
703 | val = apply(htmlc.wxHtmlEasyPrinting_GetPageSetupData,(self,) + _args, _kwargs) | |
704 | if val: val = wxPageSetupDialogDataPtr(val) | |
705 | return val | |
706 | def __repr__(self): | |
707 | return "<C wxHtmlEasyPrinting instance at %s>" % (self.this,) | |
708 | class wxHtmlEasyPrinting(wxHtmlEasyPrintingPtr): | |
709 | def __init__(self,*_args,**_kwargs): | |
710 | self.this = apply(htmlc.new_wxHtmlEasyPrinting,_args,_kwargs) | |
711 | self.thisown = 1 | |
712 | ||
713 | ||
714 | ||
715 | ||
325274bb RD |
716 | |
717 | ||
718 | #-------------- FUNCTION WRAPPERS ------------------ | |
719 | ||
0f66a9f3 RD |
720 | wxHtmlWinParser_AddTagHandler = htmlc.wxHtmlWinParser_AddTagHandler |
721 | ||
722 | wxHtmlWindow_AddFilter = htmlc.wxHtmlWindow_AddFilter | |
723 | ||
325274bb RD |
724 | |
725 | ||
726 | #-------------- VARIABLE WRAPPERS ------------------ | |
727 | ||
9d8bd15f RD |
728 | wxHTML_ALIGN_LEFT = htmlc.wxHTML_ALIGN_LEFT |
729 | wxHTML_ALIGN_CENTER = htmlc.wxHTML_ALIGN_CENTER | |
730 | wxHTML_ALIGN_RIGHT = htmlc.wxHTML_ALIGN_RIGHT | |
731 | wxHTML_ALIGN_BOTTOM = htmlc.wxHTML_ALIGN_BOTTOM | |
732 | wxHTML_ALIGN_TOP = htmlc.wxHTML_ALIGN_TOP | |
733 | wxHTML_CLR_FOREGROUND = htmlc.wxHTML_CLR_FOREGROUND | |
734 | wxHTML_CLR_BACKGROUND = htmlc.wxHTML_CLR_BACKGROUND | |
735 | wxHTML_UNITS_PIXELS = htmlc.wxHTML_UNITS_PIXELS | |
736 | wxHTML_UNITS_PERCENT = htmlc.wxHTML_UNITS_PERCENT | |
737 | wxHTML_INDENT_LEFT = htmlc.wxHTML_INDENT_LEFT | |
738 | wxHTML_INDENT_RIGHT = htmlc.wxHTML_INDENT_RIGHT | |
739 | wxHTML_INDENT_TOP = htmlc.wxHTML_INDENT_TOP | |
740 | wxHTML_INDENT_BOTTOM = htmlc.wxHTML_INDENT_BOTTOM | |
741 | wxHTML_INDENT_HORIZONTAL = htmlc.wxHTML_INDENT_HORIZONTAL | |
742 | wxHTML_INDENT_VERTICAL = htmlc.wxHTML_INDENT_VERTICAL | |
743 | wxHTML_INDENT_ALL = htmlc.wxHTML_INDENT_ALL | |
744 | wxHTML_COND_ISANCHOR = htmlc.wxHTML_COND_ISANCHOR | |
745 | wxHTML_COND_ISIMAGEMAP = htmlc.wxHTML_COND_ISIMAGEMAP | |
746 | wxHTML_COND_USER = htmlc.wxHTML_COND_USER | |
dc2f8a65 RD |
747 | wxPAGE_ODD = htmlc.wxPAGE_ODD |
748 | wxPAGE_EVEN = htmlc.wxPAGE_EVEN | |
749 | wxPAGE_ALL = htmlc.wxPAGE_ALL | |
e166644c RD |
750 | |
751 | ||
752 | #-------------- USER INCLUDE ----------------------- | |
753 | ||
754 | ||
755 | # Stuff these names into the wx namespace so wxPyConstructObject can find them | |
756 | import wx | |
b1462dfa | 757 | wx.wxHtmlTagPtr = wxHtmlTagPtr |
e166644c RD |
758 | wx.wxHtmlParserPtr = wxHtmlParserPtr |
759 | wx.wxHtmlWinParserPtr = wxHtmlWinParserPtr | |
760 | wx.wxHtmlTagHandlerPtr = wxHtmlTagHandlerPtr | |
761 | wx.wxHtmlWinTagHandlerPtr = wxHtmlWinTagHandlerPtr | |
762 | wx.wxHtmlCellPtr = wxHtmlCellPtr | |
763 | wx.wxHtmlContainerCellPtr = wxHtmlContainerCellPtr | |
764 | wx.wxHtmlWidgetCellPtr = wxHtmlWidgetCellPtr | |
e166644c | 765 | wx.wxHtmlWindowPtr = wxHtmlWindowPtr |
95837b4d | 766 | wx.wxHtmlLinkInfoPtr = wxHtmlLinkInfoPtr |
cdf14688 | 767 |