install the .defs files into the correct defs folder
[pywebkitgtk.git] / webkit / webkit-dev.defs
blobb56d247a2b8b33879a8b8c5a56b3644bc3477414
1 ;; -*- scheme -*-
2 ;; PyWebKitGtk - Python bindings to WebKit/GTK+
3 ;;
4 ;; Copyright (C) 2008  Jan Michael Alonzo <jmalonzo@unpluggable.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 set_window_features
49   (of-object "WebKitWebView")
50   (c-name "webkit_web_view_set_window_features")
51   (return-type "none")
52   (parameters
53    '("WebKitWebWindowFeatures*" "features")
54    )  
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*")
65 (define-method equal
66   (of-object "WebKitWebWindowFeatures")
67   (c-name "webkit_web_window_features_equal")
68   (return-type "gboolean")
69   (parameters
70    '("WebKitWebWindowFeatures*" "other_features")
71    )