]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/modules/html/msw/htmlhelp.py
f52e39ad717a8d79d8ac81849e71137edd62fd31
[wxWidgets.git] / utils / wxPython / modules / html / msw / htmlhelp.py
1 # This file was created automatically by SWIG.
2 import htmlhelpc
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 class wxHtmlHelpControllerPtr(wxEvtHandlerPtr):
34 IMG_Book = htmlhelpc.wxHtmlHelpController_IMG_Book
35 IMG_Folder = htmlhelpc.wxHtmlHelpController_IMG_Folder
36 IMG_Page = htmlhelpc.wxHtmlHelpController_IMG_Page
37 def __init__(self,this):
38 self.this = this
39 self.thisown = 0
40 def __del__(self,htmlhelpc=htmlhelpc):
41 if self.thisown == 1 :
42 htmlhelpc.delete_wxHtmlHelpController(self)
43 def SetTitleFormat(self, *_args, **_kwargs):
44 val = apply(htmlhelpc.wxHtmlHelpController_SetTitleFormat,(self,) + _args, _kwargs)
45 return val
46 def SetTempDir(self, *_args, **_kwargs):
47 val = apply(htmlhelpc.wxHtmlHelpController_SetTempDir,(self,) + _args, _kwargs)
48 return val
49 def AddBook(self, *_args, **_kwargs):
50 val = apply(htmlhelpc.wxHtmlHelpController_AddBook,(self,) + _args, _kwargs)
51 return val
52 def Display(self, *_args, **_kwargs):
53 val = apply(htmlhelpc.wxHtmlHelpController_Display,(self,) + _args, _kwargs)
54 return val
55 def DisplayID(self, *_args, **_kwargs):
56 val = apply(htmlhelpc.wxHtmlHelpController_DisplayID,(self,) + _args, _kwargs)
57 return val
58 def DisplayContents(self, *_args, **_kwargs):
59 val = apply(htmlhelpc.wxHtmlHelpController_DisplayContents,(self,) + _args, _kwargs)
60 return val
61 def DisplayIndex(self, *_args, **_kwargs):
62 val = apply(htmlhelpc.wxHtmlHelpController_DisplayIndex,(self,) + _args, _kwargs)
63 return val
64 def KeywordSearch(self, *_args, **_kwargs):
65 val = apply(htmlhelpc.wxHtmlHelpController_KeywordSearch,(self,) + _args, _kwargs)
66 return val
67 def UseConfig(self, *_args, **_kwargs):
68 val = apply(htmlhelpc.wxHtmlHelpController_UseConfig,(self,) + _args, _kwargs)
69 return val
70 def ReadCustomization(self, *_args, **_kwargs):
71 val = apply(htmlhelpc.wxHtmlHelpController_ReadCustomization,(self,) + _args, _kwargs)
72 return val
73 def WriteCustomization(self, *_args, **_kwargs):
74 val = apply(htmlhelpc.wxHtmlHelpController_WriteCustomization,(self,) + _args, _kwargs)
75 return val
76 def __repr__(self):
77 return "<C wxHtmlHelpController instance at %s>" % (self.this,)
78 class wxHtmlHelpController(wxHtmlHelpControllerPtr):
79 def __init__(self,*_args,**_kwargs):
80 self.this = apply(htmlhelpc.new_wxHtmlHelpController,_args,_kwargs)
81 self.thisown = 1
82
83
84
85
86 class wxHtmlHelpSystemPtr(wxHtmlHelpControllerPtr):
87 def __init__(self,this):
88 self.this = this
89 self.thisown = 0
90 def __del__(self,htmlhelpc=htmlhelpc):
91 if self.thisown == 1 :
92 htmlhelpc.delete_wxHtmlHelpSystem(self)
93 def AddBookParam(self, *_args, **_kwargs):
94 val = apply(htmlhelpc.wxHtmlHelpSystem_AddBookParam,(self,) + _args, _kwargs)
95 return val
96 def CreateToolBar(self, *_args, **_kwargs):
97 val = apply(htmlhelpc.wxHtmlHelpSystem_CreateToolBar,(self,) + _args, _kwargs)
98 if val: val = wxToolBarPtr(val)
99 return val
100 def CreateContentsTree(self, *_args, **_kwargs):
101 val = apply(htmlhelpc.wxHtmlHelpSystem_CreateContentsTree,(self,) + _args, _kwargs)
102 if val: val = wxTreeCtrlPtr(val)
103 return val
104 def CreateIndexList(self, *_args, **_kwargs):
105 val = apply(htmlhelpc.wxHtmlHelpSystem_CreateIndexList,(self,) + _args, _kwargs)
106 if val: val = wxListBoxPtr(val)
107 return val
108 def CreateHelpWindow(self, *_args, **_kwargs):
109 val = apply(htmlhelpc.wxHtmlHelpSystem_CreateHelpWindow,(self,) + _args, _kwargs)
110 return val
111 def SetControls(self, *_args, **_kwargs):
112 val = apply(htmlhelpc.wxHtmlHelpSystem_SetControls,(self,) + _args, _kwargs)
113 return val
114 def GetFrame(self, *_args, **_kwargs):
115 val = apply(htmlhelpc.wxHtmlHelpSystem_GetFrame,(self,) + _args, _kwargs)
116 if val: val = wxFramePtr(val)
117 return val
118 def GetHtmlWindow(self, *_args, **_kwargs):
119 val = apply(htmlhelpc.wxHtmlHelpSystem_GetHtmlWindow,(self,) + _args, _kwargs)
120 return val
121 def GetContentsTree(self, *_args, **_kwargs):
122 val = apply(htmlhelpc.wxHtmlHelpSystem_GetContentsTree,(self,) + _args, _kwargs)
123 if val: val = wxTreeCtrlPtr(val)
124 return val
125 def GetIndexList(self, *_args, **_kwargs):
126 val = apply(htmlhelpc.wxHtmlHelpSystem_GetIndexList,(self,) + _args, _kwargs)
127 if val: val = wxListBoxPtr(val)
128 return val
129 def GetSearchList(self, *_args, **_kwargs):
130 val = apply(htmlhelpc.wxHtmlHelpSystem_GetSearchList,(self,) + _args, _kwargs)
131 if val: val = wxListBoxPtr(val)
132 return val
133 def GetContentsImageList(self, *_args, **_kwargs):
134 val = apply(htmlhelpc.wxHtmlHelpSystem_GetContentsImageList,(self,) + _args, _kwargs)
135 if val: val = wxImageListPtr(val)
136 return val
137 def OnToolbar(self, *_args, **_kwargs):
138 val = apply(htmlhelpc.wxHtmlHelpSystem_OnToolbar,(self,) + _args, _kwargs)
139 return val
140 def OnContentsSel(self, *_args, **_kwargs):
141 val = apply(htmlhelpc.wxHtmlHelpSystem_OnContentsSel,(self,) + _args, _kwargs)
142 return val
143 def OnIndexSel(self, *_args, **_kwargs):
144 val = apply(htmlhelpc.wxHtmlHelpSystem_OnIndexSel,(self,) + _args, _kwargs)
145 return val
146 def OnSearchSel(self, *_args, **_kwargs):
147 val = apply(htmlhelpc.wxHtmlHelpSystem_OnSearchSel,(self,) + _args, _kwargs)
148 return val
149 def OnSearch(self, *_args, **_kwargs):
150 val = apply(htmlhelpc.wxHtmlHelpSystem_OnSearch,(self,) + _args, _kwargs)
151 return val
152 def OnCloseWindow(self, *_args, **_kwargs):
153 val = apply(htmlhelpc.wxHtmlHelpSystem_OnCloseWindow,(self,) + _args, _kwargs)
154 return val
155 def RefreshLists(self, *_args, **_kwargs):
156 val = apply(htmlhelpc.wxHtmlHelpSystem_RefreshLists,(self,) + _args, _kwargs)
157 return val
158 def CreateContents(self, *_args, **_kwargs):
159 val = apply(htmlhelpc.wxHtmlHelpSystem_CreateContents,(self,) + _args, _kwargs)
160 return val
161 def CreateIndex(self, *_args, **_kwargs):
162 val = apply(htmlhelpc.wxHtmlHelpSystem_CreateIndex,(self,) + _args, _kwargs)
163 return val
164 def __repr__(self):
165 return "<C wxHtmlHelpSystem instance at %s>" % (self.this,)
166 class wxHtmlHelpSystem(wxHtmlHelpSystemPtr):
167 def __init__(self,*_args,**_kwargs):
168 self.this = apply(htmlhelpc.new_wxHtmlHelpSystem,_args,_kwargs)
169 self.thisown = 1
170
171
172
173
174
175
176 #-------------- FUNCTION WRAPPERS ------------------
177
178
179
180 #-------------- VARIABLE WRAPPERS ------------------
181
182 wxID_HTML_PANEL = htmlhelpc.wxID_HTML_PANEL
183 wxID_HTML_BACK = htmlhelpc.wxID_HTML_BACK
184 wxID_HTML_FORWARD = htmlhelpc.wxID_HTML_FORWARD
185 wxID_HTML_TREECTRL = htmlhelpc.wxID_HTML_TREECTRL
186 wxID_HTML_INDEXPAGE = htmlhelpc.wxID_HTML_INDEXPAGE
187 wxID_HTML_INDEXLIST = htmlhelpc.wxID_HTML_INDEXLIST
188 wxID_HTML_NOTEBOOK = htmlhelpc.wxID_HTML_NOTEBOOK
189 wxID_HTML_SEARCHPAGE = htmlhelpc.wxID_HTML_SEARCHPAGE
190 wxID_HTML_SEARCHTEXT = htmlhelpc.wxID_HTML_SEARCHTEXT
191 wxID_HTML_SEARCHLIST = htmlhelpc.wxID_HTML_SEARCHLIST
192 wxID_HTML_SEARCHBUTTON = htmlhelpc.wxID_HTML_SEARCHBUTTON