]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/modules/html/gtk/html.py
29f8eb3b1c90898a92a62d88c00b0be6d0936b98
[wxWidgets.git] / utils / wxPython / modules / html / gtk / html.py
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 events import *
13
14 from mdi import *
15
16 from frames import *
17
18 from stattool import *
19
20 from controls import *
21
22 from controls2 import *
23
24 from windows2 import *
25
26 from cmndlgs import *
27
28 from windows3 import *
29
30 from image import *
31
32 from printfw import *
33 import wx,htmlhelper
34 widget = htmlc
35 class HtmlHistoryItemPtr :
36 def __init__(self,this):
37 self.this = this
38 self.thisown = 0
39 def GetPos(self, *_args, **_kwargs):
40 val = apply(htmlc.HtmlHistoryItem_GetPos,(self,) + _args, _kwargs)
41 return val
42 def SetPos(self, *_args, **_kwargs):
43 val = apply(htmlc.HtmlHistoryItem_SetPos,(self,) + _args, _kwargs)
44 return val
45 def GetPage(self, *_args, **_kwargs):
46 val = apply(htmlc.HtmlHistoryItem_GetPage,(self,) + _args, _kwargs)
47 return val
48 def GetAnchor(self, *_args, **_kwargs):
49 val = apply(htmlc.HtmlHistoryItem_GetAnchor,(self,) + _args, _kwargs)
50 return val
51 def __repr__(self):
52 return "<C HtmlHistoryItem instance at %s>" % (self.this,)
53 class HtmlHistoryItem(HtmlHistoryItemPtr):
54 def __init__(self,*_args,**_kwargs):
55 self.this = apply(htmlc.new_HtmlHistoryItem,_args,_kwargs)
56 self.thisown = 1
57
58
59
60
61 class wxHtmlWindowPtr(wxScrolledWindowPtr):
62 def __init__(self,this):
63 self.this = this
64 self.thisown = 0
65 def SetPage(self, *_args, **_kwargs):
66 val = apply(htmlc.wxHtmlWindow_SetPage,(self,) + _args, _kwargs)
67 return val
68 def LoadPage(self, *_args, **_kwargs):
69 val = apply(htmlc.wxHtmlWindow_LoadPage,(self,) + _args, _kwargs)
70 return val
71 def GetOpenedPage(self, *_args, **_kwargs):
72 val = apply(htmlc.wxHtmlWindow_GetOpenedPage,(self,) + _args, _kwargs)
73 return val
74 def SetRelatedFrame(self, *_args, **_kwargs):
75 val = apply(htmlc.wxHtmlWindow_SetRelatedFrame,(self,) + _args, _kwargs)
76 return val
77 def GetRelatedFrame(self, *_args, **_kwargs):
78 val = apply(htmlc.wxHtmlWindow_GetRelatedFrame,(self,) + _args, _kwargs)
79 if val: val = wxFramePtr(val)
80 return val
81 def SetRelatedStatusBar(self, *_args, **_kwargs):
82 val = apply(htmlc.wxHtmlWindow_SetRelatedStatusBar,(self,) + _args, _kwargs)
83 return val
84 def SetFonts(self, *_args, **_kwargs):
85 val = apply(htmlc.wxHtmlWindow_SetFonts,(self,) + _args, _kwargs)
86 return val
87 def SetTitle(self, *_args, **_kwargs):
88 val = apply(htmlc.wxHtmlWindow_SetTitle,(self,) + _args, _kwargs)
89 return val
90 def SetBorders(self, *_args, **_kwargs):
91 val = apply(htmlc.wxHtmlWindow_SetBorders,(self,) + _args, _kwargs)
92 return val
93 def HistoryBack(self, *_args, **_kwargs):
94 val = apply(htmlc.wxHtmlWindow_HistoryBack,(self,) + _args, _kwargs)
95 return val
96 def HistoryForward(self, *_args, **_kwargs):
97 val = apply(htmlc.wxHtmlWindow_HistoryForward,(self,) + _args, _kwargs)
98 return val
99 def HistoryClear(self, *_args, **_kwargs):
100 val = apply(htmlc.wxHtmlWindow_HistoryClear,(self,) + _args, _kwargs)
101 return val
102 def __repr__(self):
103 return "<C wxHtmlWindow instance at %s>" % (self.this,)
104 class wxHtmlWindow(wxHtmlWindowPtr):
105 def __init__(self,*_args,**_kwargs):
106 self.this = apply(htmlc.new_wxHtmlWindow,_args,_kwargs)
107 self.thisown = 1
108 wx._StdWindowCallbacks(self)
109 wx._StdOnScrollCallbacks(self)
110
111
112
113
114 class wxHtmlHelpControllerPtr(wxEvtHandlerPtr):
115 IMG_Book = htmlc.wxHtmlHelpController_IMG_Book
116 IMG_Folder = htmlc.wxHtmlHelpController_IMG_Folder
117 IMG_Page = htmlc.wxHtmlHelpController_IMG_Page
118 def __init__(self,this):
119 self.this = this
120 self.thisown = 0
121 def __del__(self,htmlc=htmlc):
122 if self.thisown == 1 :
123 htmlc.delete_wxHtmlHelpController(self)
124 def SetTitleFormat(self, *_args, **_kwargs):
125 val = apply(htmlc.wxHtmlHelpController_SetTitleFormat,(self,) + _args, _kwargs)
126 return val
127 def SetTempDir(self, *_args, **_kwargs):
128 val = apply(htmlc.wxHtmlHelpController_SetTempDir,(self,) + _args, _kwargs)
129 return val
130 def AddBook(self, *_args, **_kwargs):
131 val = apply(htmlc.wxHtmlHelpController_AddBook,(self,) + _args, _kwargs)
132 return val
133 def Display(self, *_args, **_kwargs):
134 val = apply(htmlc.wxHtmlHelpController_Display,(self,) + _args, _kwargs)
135 return val
136 def DisplayID(self, *_args, **_kwargs):
137 val = apply(htmlc.wxHtmlHelpController_DisplayID,(self,) + _args, _kwargs)
138 return val
139 def DisplayContents(self, *_args, **_kwargs):
140 val = apply(htmlc.wxHtmlHelpController_DisplayContents,(self,) + _args, _kwargs)
141 return val
142 def DisplayIndex(self, *_args, **_kwargs):
143 val = apply(htmlc.wxHtmlHelpController_DisplayIndex,(self,) + _args, _kwargs)
144 return val
145 def KeywordSearch(self, *_args, **_kwargs):
146 val = apply(htmlc.wxHtmlHelpController_KeywordSearch,(self,) + _args, _kwargs)
147 return val
148 def UseConfig(self, *_args, **_kwargs):
149 val = apply(htmlc.wxHtmlHelpController_UseConfig,(self,) + _args, _kwargs)
150 return val
151 def ReadCustomization(self, *_args, **_kwargs):
152 val = apply(htmlc.wxHtmlHelpController_ReadCustomization,(self,) + _args, _kwargs)
153 return val
154 def WriteCustomization(self, *_args, **_kwargs):
155 val = apply(htmlc.wxHtmlHelpController_WriteCustomization,(self,) + _args, _kwargs)
156 return val
157 def __repr__(self):
158 return "<C wxHtmlHelpController instance at %s>" % (self.this,)
159 class wxHtmlHelpController(wxHtmlHelpControllerPtr):
160 def __init__(self,*_args,**_kwargs):
161 self.this = apply(htmlc.new_wxHtmlHelpController,_args,_kwargs)
162 self.thisown = 1
163
164
165
166
167 class wxHtmlHelpSystemPtr(wxHtmlHelpControllerPtr):
168 def __init__(self,this):
169 self.this = this
170 self.thisown = 0
171 def __del__(self,htmlc=htmlc):
172 if self.thisown == 1 :
173 htmlc.delete_wxHtmlHelpSystem(self)
174 def AddBookParam(self, *_args, **_kwargs):
175 val = apply(htmlc.wxHtmlHelpSystem_AddBookParam,(self,) + _args, _kwargs)
176 return val
177 def CreateToolBar(self, *_args, **_kwargs):
178 val = apply(htmlc.wxHtmlHelpSystem_CreateToolBar,(self,) + _args, _kwargs)
179 if val: val = wxToolBarPtr(val)
180 return val
181 def CreateContentsTree(self, *_args, **_kwargs):
182 val = apply(htmlc.wxHtmlHelpSystem_CreateContentsTree,(self,) + _args, _kwargs)
183 if val: val = wxTreeCtrlPtr(val)
184 return val
185 def CreateIndexList(self, *_args, **_kwargs):
186 val = apply(htmlc.wxHtmlHelpSystem_CreateIndexList,(self,) + _args, _kwargs)
187 if val: val = wxListBoxPtr(val)
188 return val
189 def CreateHelpWindow(self, *_args, **_kwargs):
190 val = apply(htmlc.wxHtmlHelpSystem_CreateHelpWindow,(self,) + _args, _kwargs)
191 return val
192 def SetControls(self, *_args, **_kwargs):
193 val = apply(htmlc.wxHtmlHelpSystem_SetControls,(self,) + _args, _kwargs)
194 return val
195 def GetFrame(self, *_args, **_kwargs):
196 val = apply(htmlc.wxHtmlHelpSystem_GetFrame,(self,) + _args, _kwargs)
197 if val: val = wxFramePtr(val)
198 return val
199 def GetHtmlWindow(self, *_args, **_kwargs):
200 val = apply(htmlc.wxHtmlHelpSystem_GetHtmlWindow,(self,) + _args, _kwargs)
201 if val: val = wxHtmlWindowPtr(val)
202 return val
203 def GetContentsTree(self, *_args, **_kwargs):
204 val = apply(htmlc.wxHtmlHelpSystem_GetContentsTree,(self,) + _args, _kwargs)
205 if val: val = wxTreeCtrlPtr(val)
206 return val
207 def GetIndexList(self, *_args, **_kwargs):
208 val = apply(htmlc.wxHtmlHelpSystem_GetIndexList,(self,) + _args, _kwargs)
209 if val: val = wxListBoxPtr(val)
210 return val
211 def GetSearchList(self, *_args, **_kwargs):
212 val = apply(htmlc.wxHtmlHelpSystem_GetSearchList,(self,) + _args, _kwargs)
213 if val: val = wxListBoxPtr(val)
214 return val
215 def GetContentsImageList(self, *_args, **_kwargs):
216 val = apply(htmlc.wxHtmlHelpSystem_GetContentsImageList,(self,) + _args, _kwargs)
217 if val: val = wxImageListPtr(val)
218 return val
219 def OnToolbar(self, *_args, **_kwargs):
220 val = apply(htmlc.wxHtmlHelpSystem_OnToolbar,(self,) + _args, _kwargs)
221 return val
222 def OnContentsSel(self, *_args, **_kwargs):
223 val = apply(htmlc.wxHtmlHelpSystem_OnContentsSel,(self,) + _args, _kwargs)
224 return val
225 def OnIndexSel(self, *_args, **_kwargs):
226 val = apply(htmlc.wxHtmlHelpSystem_OnIndexSel,(self,) + _args, _kwargs)
227 return val
228 def OnSearchSel(self, *_args, **_kwargs):
229 val = apply(htmlc.wxHtmlHelpSystem_OnSearchSel,(self,) + _args, _kwargs)
230 return val
231 def OnSearch(self, *_args, **_kwargs):
232 val = apply(htmlc.wxHtmlHelpSystem_OnSearch,(self,) + _args, _kwargs)
233 return val
234 def OnCloseWindow(self, *_args, **_kwargs):
235 val = apply(htmlc.wxHtmlHelpSystem_OnCloseWindow,(self,) + _args, _kwargs)
236 return val
237 def RefreshLists(self, *_args, **_kwargs):
238 val = apply(htmlc.wxHtmlHelpSystem_RefreshLists,(self,) + _args, _kwargs)
239 return val
240 def CreateContents(self, *_args, **_kwargs):
241 val = apply(htmlc.wxHtmlHelpSystem_CreateContents,(self,) + _args, _kwargs)
242 return val
243 def CreateIndex(self, *_args, **_kwargs):
244 val = apply(htmlc.wxHtmlHelpSystem_CreateIndex,(self,) + _args, _kwargs)
245 return val
246 def __repr__(self):
247 return "<C wxHtmlHelpSystem instance at %s>" % (self.this,)
248 class wxHtmlHelpSystem(wxHtmlHelpSystemPtr):
249 def __init__(self,*_args,**_kwargs):
250 self.this = apply(htmlc.new_wxHtmlHelpSystem,_args,_kwargs)
251 self.thisown = 1
252
253
254
255
256
257
258 #-------------- FUNCTION WRAPPERS ------------------
259
260
261
262 #-------------- VARIABLE WRAPPERS ------------------
263
264 wxID_HTML_PANEL = htmlc.wxID_HTML_PANEL
265 wxID_HTML_BACK = htmlc.wxID_HTML_BACK
266 wxID_HTML_FORWARD = htmlc.wxID_HTML_FORWARD
267 wxID_HTML_TREECTRL = htmlc.wxID_HTML_TREECTRL
268 wxID_HTML_INDEXPAGE = htmlc.wxID_HTML_INDEXPAGE
269 wxID_HTML_INDEXLIST = htmlc.wxID_HTML_INDEXLIST
270 wxID_HTML_NOTEBOOK = htmlc.wxID_HTML_NOTEBOOK
271 wxID_HTML_SEARCHPAGE = htmlc.wxID_HTML_SEARCHPAGE
272 wxID_HTML_SEARCHTEXT = htmlc.wxID_HTML_SEARCHTEXT
273 wxID_HTML_SEARCHLIST = htmlc.wxID_HTML_SEARCHLIST
274 wxID_HTML_SEARCHBUTTON = htmlc.wxID_HTML_SEARCHBUTTON