2 ;; PyWebKitGtk - Python bindings to WebKit/GTK+
4 ;; Copyright (C) 2008 Jan Michael Alonzo <jmalonzo@unpluggable.com>
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.
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.
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 set_window_features
49 (of-object "WebKitWebView")
50 (c-name "webkit_web_view_set_window_features")
53 '("WebKitWebWindowFeatures*" "features")
57 ;; from webkit/webkitwebwindowfeatures.h
58 (define-function webkit_web_window_features_new
59 (is-constructor-of "WebKitWebWindowFeatures")
60 (c-name "webkit_web_window_features_new")
61 (caller-owns-return #t)
62 (return-type "WebKitWebWindowFeatures*")
66 (of-object "WebKitWebWindowFeatures")
67 (c-name "webkit_web_window_features_equal")
68 (return-type "gboolean")
70 '("WebKitWebWindowFeatures*" "other_features")