4 ;; webkit_gtk_page_set_settings, webkit_gtk_page_get_settings
6 ; object definitions ...
8 (in-module "GtkWebKit")
9 (parent "GtkContainer")
10 (c-name "WebKitGtkPage")
11 (gtype-id "WEBKIT_GTK_TYPE_PAGE")
14 ;; waiting for upstream header fix
16 (in-module "GtkWebKit")
18 (c-name "WebKitGtkFrame")
19 (gtype-id "WEBKIT_GTK_TYPE_FRAME")
22 ;; Enumerations and flags ...
25 ;; From webkitgtkpage.h
27 (define-function webkit_gtk_page_new
28 (is-constructor-of "WebKitGtkPage")
29 (c-name "webkit_gtk_page_new")
30 (caller-owns-return #t)
31 (return-type "GtkWidget*")
35 (of-object "WebKitGtkPage")
36 (c-name "webkit_gtk_page_open")
39 '("const-char*" "url")
43 (define-method can_go_backward
44 (of-object "WebKitGtkPage")
45 (c-name "webkit_gtk_page_can_go_backward")
46 (return-type "gboolean")
49 (define-method go_backward
50 (of-object "WebKitGtkPage")
51 (c-name "webkit_gtk_page_go_backward")
55 (define-method can_go_forward
56 (of-object "WebKitGtkPage")
57 (c-name "webkit_gtk_page_can_go_forward")
58 (return-type "gboolean")
61 (define-method go_forward
62 (of-object "WebKitGtkPage")
63 (c-name "webkit_gtk_page_go_forward")
67 (define-method stop_loading
68 (of-object "WebKitGtkPage")
69 (c-name "webkit_gtk_page_stop_loading")
74 (of-object "WebKitGtkPage")
75 (c-name "webkit_gtk_page_reload")
79 (define-method load_html_string
80 (of-object "WebKitGtkPage")
81 (c-name "webkit_gtk_page_load_html_string")
84 '("const-char*" "content")
85 '("const-char*" "base_url")
89 (define-method load_string
90 (of-object "WebKitGtkPage")
91 (c-name "webkit_gtk_page_load_string")
94 '("const-char*" "content")
95 '("const-char*" "content_mime_type")
96 '("const-char*" "content_encoding")
97 '("const-char*" "base_url")
101 (define-method get_main_frame
102 (of-object "WebKitGtkPage")
103 (c-name "webkit_gtk_page_get_main_frame")
104 (return-type "WebKitGtkFrame*")
107 ;; From webkitgtkframe.h
109 (define-function webkit_gtk_frame_new
110 (is-constructor-of "WebKitGtkFrame")
111 (c-name "webkit_gtk_frame_new")
112 (caller-owns-return #t)
113 (return-type "GObject*")
116 (define-method get_page
117 (of-object "WebKitGtkFrame")
118 (c-name "webkit_gtk_frame_get_page")
119 (caller-owns-return #t)
120 (return-type "WebKitGtkPage*")
123 (define-method get_title
124 (of-object "WebKitGtkFrame")
125 (c-name "webkit_gtk_frame_get_title")
126 (caller-owns-return #f)
127 (return-type "gchar*")
130 (define-method get_location
131 (of-object "WebKitGtkFrame")
132 (c-name "webkit_gtk_frame_get_location")
133 (caller-owns-return #f)
134 (return-type "gchar*")