install the .defs files into the correct defs folder
[pywebkitgtk.git] / webkit / webkit-base-types.defs
blob6717cf2340324b76371bc12d41bbcccdd3b39203
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 ; object definitions ...
23 (define-object WebView
24   (in-module "WebKit")
25   (parent "GtkContainer")
26   (c-name "WebKitWebView")
27   (gtype-id "WEBKIT_TYPE_WEB_VIEW")
30 (define-object WebFrame
31   (in-module "WebKit")
32   (parent "GObject")
33   (c-name "WebKitWebFrame")
34   (gtype-id "WEBKIT_TYPE_WEB_FRAME")
37 (define-object WebHistoryItem
38   (in-module "WebKit")
39   (parent "GObject")
40   (c-name "WebKitWebHistoryItem")
41   (gtype-id "WEBKIT_TYPE_WEB_HISTORY_ITEM")
44 (define-object WebBackForwardList
45   (in-module "WebKit")
46   (parent "GObject")
47   (c-name "WebKitWebBackForwardList")
48   (gtype-id "WEBKIT_TYPE_WEB_BACK_FORWARD_LIST")
51 (define-object WebSettings
52   (in-module "WebKit")
53   (parent "GObject")
54   (c-name "WebKitWebSettings")
55   (gtype-id "WEBKIT_TYPE_WEB_SETTINGS")
58 (define-object NetworkRequest
59   (in-module "WebKit")
60   (parent "GObject")
61   (c-name "WebKitNetworkRequest")
62   (gtype-id "WEBKIT_TYPE_NETWORK_REQUEST")
65 ;; Enumerations and flags ...
66 (enum NavigationResponse
67   (in-module "WebKit")
68   (c-name "WebKitNavigationResponse")
69   (gtype-id "WEBKIT_TYPE_NAVIGATION_RESPONSE")
70   (values
71    '("accept" "WEBKIT_NAVIGATION_RESPONSE_ACCEPT")
72    '("ignore" "WEBKIT_NAVIGATION_RESPONSE_IGNORE")
73    '("download" "WEBKIT_NAVIGATION_RESPONSE_DOWNLOAD")
74    )
77 (enum WebViewTargetInfo
78   (in-module "WebKit")
79   (c-name "WebKitWebViewTargetInfo")
80   (gtype-id "WEBKIT_TYPE_WEB_VIEW_TARGET_INFO")
81   (values
82    '("html" "WEBKIT_WEB_VIEW_TARGET_INFO_HTML")
83    '("text" "WEBKIT_WEB_VIEW_TARGET_INFO_TEXT")
84    )