remove config.lt when issuing make clean target
[pywebkitgtk.git] / webkit / webkit-1.1.defs
blobff49003b3233e139107498e9d9737ce3583e8f39
1 ;; -*- scheme -*-
2 ;; PyWebKitGtk - Python bindings to WebKit/GTK+
3 ;;
4 ;; Copyright (C) 2009  Jan Michael Alonzo <jmalonzo@gmail.com>
5 ;; 
6 ;; This library is free software; you can redistribute it and/or
7 ;; modify it under the terms of the GNU Library General Public
8 ;; License as published by the Free Software Foundation; either
9 ;; version 2 of the License, or (at your option) any later version.
10 ;; 
11 ;; This library is distributed in the hope that it will be useful,
12 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
13 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 ;; Library General Public License for more details.
15 ;; 
16 ;; You should have received a copy of the GNU Library General Public
17 ;; License along with this library; if not, write to the Free Software
18 ;; Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA  02110-1301 USA
22 ;; from webkit/webkitwebinspector.h
23 (define-method get_web_view
24   (of-object "WebKitWebInspector")
25   (c-name "webkit_web_inspector_get_web_view")
26   (return-type "WebKitWebView*")
29 (define-method get_inspected_uri
30   (of-object "WebKitWebInspector")
31   (c-name "webkit_web_inspector_get_inspected_uri")
32   (return-type "const-gchar*")
35 ;; from webkit/webkitwebview.h
36 (define-method get_web_inspector
37   (of-object "WebKitWebView")
38   (c-name "webkit_web_view_get_inspector")
39   (return-type "WebKitWebInspector*")
42 (define-method get_window_features
43   (of-object "WebKitWebView")
44   (c-name "webkit_web_view_get_window_features")
45   (return-type "WebKitWebWindowFeatures*")
48 (define-method reload_bypass_cache
49   (of-object "WebKitWebView")
50   (c-name "webkit_web_view_reload_bypass_cache")
51   (return-type "none")
54 (define-method can_show_mime_type
55   (of-object "WebKitWebView")
56   (c-name "webkit_web_view_can_show_mime_type")
57   (return-type "gboolean")
58   (parameters
59    '("const-gchar*" "mime_type")
60    )
63 (define-method get_encoding
64   (of-object "WebKitWebView")
65   (c-name "webkit_web_view_get_encoding")
66   (return-type "const-gchar*")
69 (define-method set_custom_encoding
70   (of-object "WebKitWebView")
71   (c-name "webkit_web_view_set_custom_encoding")
72   (return-type "none")
73   (parameters
74    '("const-gchar*" "encoding")
75    )
78 (define-method get_custom_encoding
79   (of-object "WebKitWebView")
80   (c-name "webkit_web_view_get_custom_encoding")
81   (return-type "const-gchar*")
84 ;; from webkit/webkitwebwindowfeatures.h
85 (define-function webkit_web_window_features_new
86   (is-constructor-of "WebKitWebWindowFeatures")
87   (c-name "webkit_web_window_features_new")
88   (caller-owns-return #t)
89   (return-type "WebKitWebWindowFeatures*")
92 (define-method equal
93   (of-object "WebKitWebWindowFeatures")
94   (c-name "webkit_web_window_features_equal")
95   (return-type "gboolean")
96   (parameters
97    '("WebKitWebWindowFeatures*" "other_features")
98    )
101 ;; from webkit/webkitwebnavigationaction.h
103 (define-method get_reason
104   (of-object "WebKitWebNavigationAction")
105   (c-name "webkit_web_navigation_action_get_reason")
106   (return-type "WebKitWebNavigationReason")
109 (define-method set_reason
110   (of-object "WebKitWebNavigationAction")
111   (c-name "webkit_web_navigation_action_set_reason")
112   (return-type "none")
113   (parameters
114    '("WebKitWebNavigationReason" "reason")
115    )
118 (define-method get_original_uri
119   (of-object "WebKitWebNavigationAction")
120   (c-name "webkit_web_navigation_action_get_original_uri")
121   (return-type "const-gchar*")
124 (define-method set_original_uri
125   (of-object "WebKitWebNavigationAction")
126   (c-name "webkit_web_navigation_action_set_original_uri")
127   (return-type "none")
128   (parameters
129    '("const-gchar*" "original_uri")
130    )
133 (define-method get_button
134   (of-object "WebKitWebNavigationAction")
135   (c-name "webkit_web_navigation_action_get_button")
136   (return-type "gint")
139 (define-method get_modifier_state
140   (of-object "WebKitWebNavigationAction")
141   (c-name "webkit_web_navigation_action_get_modifier_state")
142   (return-type "gint")
145 ;; from webkit/webkitwebpolicydecision.h
147 (define-method use
148   (of-object "WebKitWebPolicyDecision")
149   (c-name "webkit_web_policy_decision_use")
150   (return-type "none")
153 (define-method ignore
154   (of-object "WebKitWebPolicyDecision")
155   (c-name "webkit_web_policy_decision_ignore")
156   (return-type "none")
159 (define-method download
160   (of-object "WebKitWebPolicyDecision")
161   (c-name "webkit_web_policy_decision_download")
162   (return-type "none")
165 ;; from webkit/webkitwebbackforwardlist.h
167 (define-method add_item
168   (of-object "WebKitWebBackForwardList")
169   (c-name "webkit_web_back_forward_list_add_item")
170   (return-type "none")
171   (parameters
172    '("WebKitWebHistoryItem*" "history_item")
173    )
176 ;; from webkit/webkitwebframe.h
178 (define-method load_uri
179   (of-object "WebKitWebFrame")
180   (c-name "webkit_web_frame_load_uri")
181   (return-type "none")
182   (parameters
183    '("const-gchar*" "uri")
184    )
187 (define-method load_string
188   (of-object "WebKitWebFrame")
189   (c-name "webkit_web_frame_load_string")
190   (return-type "none")
191   (parameters
192    '("const-gchar*" "content")
193     ("const-gchar*" "mime_type")
194     ("const-gchar*" "encoding")
195     ("const-gchar*" "base_uri")
196    )
199 ;; from webkit/webkitdownload.h
200 (define-function webkit_download_new
201   (is-constructor-of "WebKitDownload")
202   (c-name "webkit_download_new")
203   (caller-owns-return #t)
204   (return-type "WebKitDownload*")
207 (define-method start
208   (of-object "WebKitDownload")
209   (c-name "webkit_download_start")
210   (return-type "none")
213 (define-method cancel
214   (of-object "WebKitDownload")
215   (c-name "webkit_download_cancel")
216   (return-type "none")
219 (define-method get_uri
220   (of-object "WebKitDownload")
221   (c-name "webkit_download_get_uri")
222   (return-type "const-gchar*")
225 (define-method get_network_request
226   (of-object "WebKitDownload")
227   (c-name "webkit_download_get_network_request")
228   (return-type "WebKitNetworkRequest*")
231 (define-method get_suggested_filename
232   (of-object "WebKitDownload")
233   (c-name "webkit_download_get_suggested_filename")
234   (return-type "const-gchar*")
237 (define-method get_destination_uri
238   (of-object "WebKitDownload")
239   (c-name "webkit_download_get_destination_uri")
240   (return-type "const-gchar*")
243 (define-method set_destination_uri
244   (of-object "WebKitDownload")
245   (c-name "webkit_download_set_destination_uri")
246   (return-type "none")
247   (parameters
248    '("const-gchar*" "destination_uri")
249    )
252 (define-method get_progress
253   (of-object "WebKitDownload")
254   (c-name "webkit_download_get_progress")
255   (return-type "gdouble")
258 (define-method get_elapsed_time
259   (of-object "WebKitDownload")
260   (c-name "webkit_download_get_elapsed_time")
261   (return-type "gdouble")
264 (define-method get_total_size
265   (of-object "WebKitDownload")
266   (c-name "webkit_download_get_total_size")
267   (return-type "guint64")
270 (define-method get_current_size
271   (of-object "WebKitDownload")
272   (c-name "webkit_download_get_current_size")
273   (return-type "guint64")
276 (define-method get_status
277   (of-object "WebKitDownload")
278   (c-name "webkit_download_get_status")
279   (return-type "WebKitDownloadStatus")