annotate pidgin/gtkwebview.h @ 32808:b8cbd52e26b1

Remove _with_imgstore suffix on this function. There isn't a version without it anyway.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Thu, 31 May 2012 00:36:55 +0000
parents e63ca20258fb
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
32061
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
1 /**
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
2 * @file gtkwebview.h Wrapper over the Gtk WebKitWebView component
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
3 * @ingroup pidgin
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
4 */
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
5
32133
8e1ec44ede75 Clean up this WebKit stuff. Fix up broken merging, mark unfinished
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32120
diff changeset
6 /* pidgin
8e1ec44ede75 Clean up this WebKit stuff. Fix up broken merging, mark unfinished
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32120
diff changeset
7 *
8e1ec44ede75 Clean up this WebKit stuff. Fix up broken merging, mark unfinished
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32120
diff changeset
8 * Pidgin is the legal property of its developers, whose names are too numerous
32061
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
9 * to list here. Please refer to the COPYRIGHT file distributed with this
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
10 * source distribution.
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
11 *
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
12 * This program is free software; you can redistribute it and/or modify
32133
8e1ec44ede75 Clean up this WebKit stuff. Fix up broken merging, mark unfinished
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32120
diff changeset
13 * it under the terms of the GNU General Public License as published by
32061
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
14 * the Free Software Foundation; either version 2 of the License, or
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
15 * (at your option) any later version.
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
16 *
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
17 * This program is distributed in the hope that it will be useful,
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
20 * GNU General Public License for more details.
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
21 *
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
22 * You should have received a copy of the GNU General Public License
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
23 * along with this program; if not, write to the Free Software
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
32133
8e1ec44ede75 Clean up this WebKit stuff. Fix up broken merging, mark unfinished
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32120
diff changeset
25 *
32061
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
26 */
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
27
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
28 #ifndef _PIDGIN_WEBVIEW_H_
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
29 #define _PIDGIN_WEBVIEW_H_
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
30
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
31 #include <glib.h>
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
32 #include <gtk/gtk.h>
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
33 #include <webkit/webkit.h>
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
34
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
35 #define GTK_TYPE_WEBVIEW (gtk_webview_get_type())
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
36 #define GTK_WEBVIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_WEBVIEW, GtkWebView))
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
37 #define GTK_WEBVIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_WEBVIEW, GtkWebViewClass))
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
38 #define GTK_IS_WEBVIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_WEBVIEW))
32442
fb8447f6649c Rearrange these files a bit to group common functions
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32436
diff changeset
39 #define GTK_IS_WEBVIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_WEBVIEW))
fb8447f6649c Rearrange these files a bit to group common functions
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32436
diff changeset
40 #define GTK_WEBVIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_WEBVIEW, GtkWebViewClass))
32061
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
41
32450
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
42 typedef enum {
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
43 GTK_WEBVIEW_BOLD = 1 << 0,
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
44 GTK_WEBVIEW_ITALIC = 1 << 1,
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
45 GTK_WEBVIEW_UNDERLINE = 1 << 2,
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
46 GTK_WEBVIEW_GROW = 1 << 3,
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
47 GTK_WEBVIEW_SHRINK = 1 << 4,
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
48 GTK_WEBVIEW_FACE = 1 << 5,
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
49 GTK_WEBVIEW_FORECOLOR = 1 << 6,
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
50 GTK_WEBVIEW_BACKCOLOR = 1 << 7,
32563
e63ca20258fb Having a backcolor and a background seems a bit redundant. And we
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32562
diff changeset
51 GTK_WEBVIEW_LINK = 1 << 8,
e63ca20258fb Having a backcolor and a background seems a bit redundant. And we
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32562
diff changeset
52 GTK_WEBVIEW_IMAGE = 1 << 9,
e63ca20258fb Having a backcolor and a background seems a bit redundant. And we
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32562
diff changeset
53 GTK_WEBVIEW_SMILEY = 1 << 10,
e63ca20258fb Having a backcolor and a background seems a bit redundant. And we
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32562
diff changeset
54 GTK_WEBVIEW_LINKDESC = 1 << 11,
e63ca20258fb Having a backcolor and a background seems a bit redundant. And we
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32562
diff changeset
55 GTK_WEBVIEW_STRIKE = 1 << 12,
32450
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
56 /** Show custom smileys when appropriate. */
32563
e63ca20258fb Having a backcolor and a background seems a bit redundant. And we
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32562
diff changeset
57 GTK_WEBVIEW_CUSTOM_SMILEY = 1 << 13,
32450
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
58 GTK_WEBVIEW_ALL = -1
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
59 } GtkWebViewButtons;
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
60
32442
fb8447f6649c Rearrange these files a bit to group common functions
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32436
diff changeset
61 typedef struct _GtkWebView GtkWebView;
fb8447f6649c Rearrange these files a bit to group common functions
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32436
diff changeset
62 typedef struct _GtkWebViewClass GtkWebViewClass;
32080
b89351c7580b safely execute JS scripts only after loading is done. Untested code as of now, will test it in next commit.
tdrhq@soc.pidgin.im
parents: 32061
diff changeset
63
32061
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
64 struct _GtkWebView
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
65 {
32442
fb8447f6649c Rearrange these files a bit to group common functions
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32436
diff changeset
66 WebKitWebView parent;
32061
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
67 };
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
68
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
69 struct _GtkWebViewClass
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
70 {
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
71 WebKitWebViewClass parent;
32456
0250c8b3e159 Add some formatting signals to webview from imhtml.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32455
diff changeset
72
0250c8b3e159 Add some formatting signals to webview from imhtml.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32455
diff changeset
73 void (*buttons_update)(GtkWebView *, GtkWebViewButtons);
0250c8b3e159 Add some formatting signals to webview from imhtml.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32455
diff changeset
74 void (*toggle_format)(GtkWebView *, GtkWebViewButtons);
0250c8b3e159 Add some formatting signals to webview from imhtml.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32455
diff changeset
75 void (*clear_format)(GtkWebView *);
0250c8b3e159 Add some formatting signals to webview from imhtml.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32455
diff changeset
76 void (*update_format)(GtkWebView *);
32061
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
77 };
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
78
32436
34f778db624f Add G_BEGIN/END_DECLS to Pidgin public headers, most of which did
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32419
diff changeset
79 G_BEGIN_DECLS
32061
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
80
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
81 /**
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
82 * Returns the GType for a GtkWebView widget
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
83 *
32284
6fb2b4b44934 Clean up documentation.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32199
diff changeset
84 * @return The GType for GtkWebView widget
32061
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
85 */
32133
8e1ec44ede75 Clean up this WebKit stuff. Fix up broken merging, mark unfinished
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32120
diff changeset
86 GType gtk_webview_get_type(void);
32061
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
87
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
88 /**
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
89 * Create a new GtkWebView object
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
90 *
32284
6fb2b4b44934 Clean up documentation.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32199
diff changeset
91 * @return A GtkWidget corresponding to the GtkWebView object
32061
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
92 */
32133
8e1ec44ede75 Clean up this WebKit stuff. Fix up broken merging, mark unfinished
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32120
diff changeset
93 GtkWidget *gtk_webview_new(void);
32061
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
94
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
95 /**
32442
fb8447f6649c Rearrange these files a bit to group common functions
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32436
diff changeset
96 * TODO WEBKIT: Right now this just tests whether an append has been called
fb8447f6649c Rearrange these files a bit to group common functions
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32436
diff changeset
97 * since the last clear or since the Widget was created. So it does not
fb8447f6649c Rearrange these files a bit to group common functions
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32436
diff changeset
98 * test for load_string's called in between.
32120
24c8a98a6acc webkit: Scroll to end when appending html.
masca@cpw.pidgin.im
parents: 32109
diff changeset
99 *
32442
fb8447f6649c Rearrange these files a bit to group common functions
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32436
diff changeset
100 * @param webview The GtkWebView object
fb8447f6649c Rearrange these files a bit to group common functions
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32436
diff changeset
101 *
fb8447f6649c Rearrange these files a bit to group common functions
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32436
diff changeset
102 * @return gboolean indicating whether the webview is empty
32120
24c8a98a6acc webkit: Scroll to end when appending html.
masca@cpw.pidgin.im
parents: 32109
diff changeset
103 */
32442
fb8447f6649c Rearrange these files a bit to group common functions
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32436
diff changeset
104 gboolean gtk_webview_is_empty(GtkWebView *webview);
32120
24c8a98a6acc webkit: Scroll to end when appending html.
masca@cpw.pidgin.im
parents: 32109
diff changeset
105
24c8a98a6acc webkit: Scroll to end when appending html.
masca@cpw.pidgin.im
parents: 32109
diff changeset
106 /**
32061
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
107 * A very basic routine to append html, which can be considered
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
108 * equivalent to a "document.write" using JavaScript.
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
109 *
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
110 * @param webview The GtkWebView object
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
111 * @param markup The html markup to append
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
112 */
32133
8e1ec44ede75 Clean up this WebKit stuff. Fix up broken merging, mark unfinished
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32120
diff changeset
113 void gtk_webview_append_html(GtkWebView *webview, const char *markup);
32061
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
114
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
115 /**
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
116 * Rather than use webkit_webview_load_string, this routine
32176
5aa171c8776b Fix a bunch of tiny problems generating our doxygen documentation
Mark Doliner <mark@kingant.net>
parents: 32133
diff changeset
117 * parses and displays the \<img id=?\> tags that make use of the
32061
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
118 * Pidgin imgstore.
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
119 *
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
120 * @param webview The GtkWebView object
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
121 * @param html The HTML content to load
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
122 */
32808
b8cbd52e26b1 Remove _with_imgstore suffix on this function. There isn't a version
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32563
diff changeset
123 void gtk_webview_load_html_string(GtkWebView *webview, const char *html);
32061
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
124
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
125 /**
32080
b89351c7580b safely execute JS scripts only after loading is done. Untested code as of now, will test it in next commit.
tdrhq@soc.pidgin.im
parents: 32061
diff changeset
126 * Execute the JavaScript only after the webkit_webview_load_string
b89351c7580b safely execute JS scripts only after loading is done. Untested code as of now, will test it in next commit.
tdrhq@soc.pidgin.im
parents: 32061
diff changeset
127 * loads completely. We also guarantee that the scripts are executed
32133
8e1ec44ede75 Clean up this WebKit stuff. Fix up broken merging, mark unfinished
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32120
diff changeset
128 * in the order they are called here. This is useful to avoid race
8e1ec44ede75 Clean up this WebKit stuff. Fix up broken merging, mark unfinished
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32120
diff changeset
129 * conditions when calling JS functions immediately after opening the
32080
b89351c7580b safely execute JS scripts only after loading is done. Untested code as of now, will test it in next commit.
tdrhq@soc.pidgin.im
parents: 32061
diff changeset
130 * page.
b89351c7580b safely execute JS scripts only after loading is done. Untested code as of now, will test it in next commit.
tdrhq@soc.pidgin.im
parents: 32061
diff changeset
131 *
32284
6fb2b4b44934 Clean up documentation.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32199
diff changeset
132 * @param webview The GtkWebView object
6fb2b4b44934 Clean up documentation.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32199
diff changeset
133 * @param script The script to execute
32080
b89351c7580b safely execute JS scripts only after loading is done. Untested code as of now, will test it in next commit.
tdrhq@soc.pidgin.im
parents: 32061
diff changeset
134 */
32133
8e1ec44ede75 Clean up this WebKit stuff. Fix up broken merging, mark unfinished
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32120
diff changeset
135 void gtk_webview_safe_execute_script(GtkWebView *webview, const char *script);
32080
b89351c7580b safely execute JS scripts only after loading is done. Untested code as of now, will test it in next commit.
tdrhq@soc.pidgin.im
parents: 32061
diff changeset
136
b89351c7580b safely execute JS scripts only after loading is done. Untested code as of now, will test it in next commit.
tdrhq@soc.pidgin.im
parents: 32061
diff changeset
137 /**
32133
8e1ec44ede75 Clean up this WebKit stuff. Fix up broken merging, mark unfinished
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32120
diff changeset
138 * A convenience routine to quote a string for use as a JavaScript
32061
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
139 * string. For instance, "hello 'world'" becomes "'hello \\'world\\''"
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
140 *
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
141 * @param str The string to escape and quote
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
142 *
32284
6fb2b4b44934 Clean up documentation.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32199
diff changeset
143 * @return The quoted string
32061
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
144 */
32133
8e1ec44ede75 Clean up this WebKit stuff. Fix up broken merging, mark unfinished
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32120
diff changeset
145 char *gtk_webview_quote_js_string(const char *str);
32061
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
146
32120
24c8a98a6acc webkit: Scroll to end when appending html.
masca@cpw.pidgin.im
parents: 32109
diff changeset
147 /**
32442
fb8447f6649c Rearrange these files a bit to group common functions
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32436
diff changeset
148 * Set the vertical adjustment for the GtkWebView.
fb8447f6649c Rearrange these files a bit to group common functions
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32436
diff changeset
149 *
fb8447f6649c Rearrange these files a bit to group common functions
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32436
diff changeset
150 * @param webview The GtkWebView object
fb8447f6649c Rearrange these files a bit to group common functions
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32436
diff changeset
151 * @param vadj The GtkAdjustment that control the webview
fb8447f6649c Rearrange these files a bit to group common functions
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32436
diff changeset
152 */
fb8447f6649c Rearrange these files a bit to group common functions
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32436
diff changeset
153 void gtk_webview_set_vadjustment(GtkWebView *webview, GtkAdjustment *vadj);
fb8447f6649c Rearrange these files a bit to group common functions
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32436
diff changeset
154
fb8447f6649c Rearrange these files a bit to group common functions
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32436
diff changeset
155 /**
32120
24c8a98a6acc webkit: Scroll to end when appending html.
masca@cpw.pidgin.im
parents: 32109
diff changeset
156 * Scrolls the Webview to the end of its contents.
24c8a98a6acc webkit: Scroll to end when appending html.
masca@cpw.pidgin.im
parents: 32109
diff changeset
157 *
32284
6fb2b4b44934 Clean up documentation.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32199
diff changeset
158 * @param webview The GtkWebView object
6fb2b4b44934 Clean up documentation.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32199
diff changeset
159 * @param smooth A boolean indicating if smooth scrolling should be used
32120
24c8a98a6acc webkit: Scroll to end when appending html.
masca@cpw.pidgin.im
parents: 32109
diff changeset
160 */
24c8a98a6acc webkit: Scroll to end when appending html.
masca@cpw.pidgin.im
parents: 32109
diff changeset
161 void gtk_webview_scroll_to_end(GtkWebView *webview, gboolean smooth);
24c8a98a6acc webkit: Scroll to end when appending html.
masca@cpw.pidgin.im
parents: 32109
diff changeset
162
32419
7b9566b77501 Add page up/down for WebKit view.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32284
diff changeset
163 /**
7b9566b77501 Add page up/down for WebKit view.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32284
diff changeset
164 * Scrolls a GtkWebView up by one page.
7b9566b77501 Add page up/down for WebKit view.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32284
diff changeset
165 *
7b9566b77501 Add page up/down for WebKit view.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32284
diff changeset
166 * @param webview The GtkWebView.
7b9566b77501 Add page up/down for WebKit view.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32284
diff changeset
167 */
7b9566b77501 Add page up/down for WebKit view.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32284
diff changeset
168 void gtk_webview_page_up(GtkWebView *webview);
7b9566b77501 Add page up/down for WebKit view.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32284
diff changeset
169
7b9566b77501 Add page up/down for WebKit view.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32284
diff changeset
170 /**
7b9566b77501 Add page up/down for WebKit view.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32284
diff changeset
171 * Scrolls a GtkWebView down by one page.
7b9566b77501 Add page up/down for WebKit view.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32284
diff changeset
172 *
7b9566b77501 Add page up/down for WebKit view.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32284
diff changeset
173 * @param webview The GtkWebView.
7b9566b77501 Add page up/down for WebKit view.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32284
diff changeset
174 */
7b9566b77501 Add page up/down for WebKit view.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32284
diff changeset
175 void gtk_webview_page_down(GtkWebView *webview);
7b9566b77501 Add page up/down for WebKit view.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32284
diff changeset
176
32450
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
177 /**
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
178 * Enables or disables editing in a GtkWebView.
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
179 *
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
180 * @param webview The GtkWebView
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
181 * @param editable @c TRUE to make the widget editable, or @c FALSE otherwise.
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
182 */
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
183 void gtk_webview_set_editable(GtkWebView *webview, gboolean editable);
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
184
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
185 /**
32455
c5e5938bb89a Add a function for setting a WebView entry based on the
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32450
diff changeset
186 * Setup formatting for a GtkWebView depending on the flags specified.
c5e5938bb89a Add a function for setting a WebView entry based on the
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32450
diff changeset
187 *
c5e5938bb89a Add a function for setting a WebView entry based on the
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32450
diff changeset
188 * @param webview The GtkWebView.
c5e5938bb89a Add a function for setting a WebView entry based on the
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32450
diff changeset
189 * @param flags The connection flags describing the allowed formatting.
c5e5938bb89a Add a function for setting a WebView entry based on the
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32450
diff changeset
190 */
c5e5938bb89a Add a function for setting a WebView entry based on the
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32450
diff changeset
191 void gtk_webview_setup_entry(GtkWebView *webview, PurpleConnectionFlags flags);
c5e5938bb89a Add a function for setting a WebView entry based on the
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32450
diff changeset
192
c5e5938bb89a Add a function for setting a WebView entry based on the
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32450
diff changeset
193 /**
32450
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
194 * Enables or disables whole buffer formatting only (wbfo) in a GtkWebView.
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
195 * In this mode formatting options to the buffer take effect for the entire
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
196 * buffer instead of specific text.
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
197 *
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
198 * @param webview The GtkWebView
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
199 * @param wbfo @c TRUE to enable the mode, or @c FALSE otherwise.
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
200 */
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
201 void gtk_webview_set_whole_buffer_formatting_only(GtkWebView *webview,
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
202 gboolean wbfo);
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
203
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
204 /**
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
205 * Indicates which formatting functions to enable and disable in a GtkWebView.
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
206 *
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
207 * @param webview The GtkWebView
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
208 * @param buttons A GtkWebViewButtons bitmask indicating which functions to use
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
209 */
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
210 void gtk_webview_set_format_functions(GtkWebView *webview,
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
211 GtkWebViewButtons buttons);
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
212
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
213 /**
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
214 * Returns which formatting functions are enabled in a GtkWebView.
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
215 *
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
216 * @param webview The GtkWebView
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
217 *
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
218 * @return A GtkWebViewButtons bitmask indicating which functions to are enabled
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
219 */
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
220 GtkWebViewButtons gtk_webview_get_format_functions(GtkWebView *webview);
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
221
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
222 /**
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
223 * Sets each boolean to @c TRUE or @c FALSE to indicate if that formatting
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
224 * option is enabled at the current position in a GtkWebView.
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
225 *
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
226 * @param webview The GtkWebView
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
227 * @param bold The boolean to set for bold or @c NULL.
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
228 * @param italic The boolean to set for italic or @c NULL.
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
229 * @param underline The boolean to set for underline or @c NULL.
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
230 * @param strikethrough The boolean to set for strikethrough or @c NULL.
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
231 */
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
232 void gtk_webview_get_current_format(GtkWebView *webview, gboolean *bold,
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
233 gboolean *italic, gboolean *underline,
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
234 gboolean *strike);
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
235
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
236 /**
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
237 * Returns a string containing the selected font face at the current position
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
238 * in a GtkWebView.
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
239 *
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
240 * @param webview The GtkWebView
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
241 *
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
242 * @return A string containing the font face or @c NULL if none is set.
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
243 */
32562
4547ab591cfc WebKit knows the current formatting of the selection better than we
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32456
diff changeset
244 char *gtk_webview_get_current_fontface(GtkWebView *webview);
32450
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
245
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
246 /**
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
247 * Returns a string containing the selected foreground color at the current
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
248 * position in a GtkWebView.
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
249 *
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
250 * @param webview The GtkWebView
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
251 *
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
252 * @return A string containing the foreground color or @c NULL if none is set.
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
253 */
32562
4547ab591cfc WebKit knows the current formatting of the selection better than we
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32456
diff changeset
254 char *gtk_webview_get_current_forecolor(GtkWebView *webview);
32450
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
255
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
256 /**
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
257 * Returns a string containing the selected font background color at the current
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
258 * position in a GtkWebView.
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
259 *
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
260 * @param webview The GtkWebView
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
261 *
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
262 * @return A string containing the background color or @c NULL if none is set.
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
263 */
32562
4547ab591cfc WebKit knows the current formatting of the selection better than we
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32456
diff changeset
264 char *gtk_webview_get_current_backcolor(GtkWebView *webview);
32450
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
265
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
266 /**
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
267 * Returns a integer containing the selected HTML font size at the current
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
268 * position in a GtkWebView.
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
269 *
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
270 * @param webview The GtkWebView
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
271 *
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
272 * @return The HTML font size.
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
273 */
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
274 gint gtk_webview_get_current_fontsize(GtkWebView *webview);
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
275
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
276 /**
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
277 * Checks whether a GtkWebView is marked as editable.
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
278 *
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
279 * @param webview The GtkWebView
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
280 *
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
281 * @return @c TRUE if the IM/HTML is editable, or @c FALSE otherwise.
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
282 */
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
283 gboolean gtk_webview_get_editable(GtkWebView *webview);
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
284
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
285 /**
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
286 * Clear all the formatting on a GtkWebView.
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
287 *
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
288 * @param webview The GtkWebView
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
289 */
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
290 void gtk_webview_clear_formatting(GtkWebView *webview);
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
291
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
292 /**
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
293 * Toggles bold at the cursor location or selection in a GtkWebView.
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
294 *
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
295 * @param webview The GtkWebView
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
296 */
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
297 void gtk_webview_toggle_bold(GtkWebView *webview);
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
298
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
299 /**
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
300 * Toggles italic at the cursor location or selection in a GtkWebView.
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
301 *
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
302 * @param webview The GtkWebView
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
303 */
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
304 void gtk_webview_toggle_italic(GtkWebView *webview);
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
305
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
306 /**
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
307 * Toggles underline at the cursor location or selection in a GtkWebView.
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
308 *
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
309 * @param webview The GtkWebView
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
310 */
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
311 void gtk_webview_toggle_underline(GtkWebView *webview);
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
312
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
313 /**
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
314 * Toggles strikethrough at the cursor location or selection in a GtkWebView.
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
315 *
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
316 * @param webview The GtkWebView
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
317 */
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
318 void gtk_webview_toggle_strike(GtkWebView *webview);
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
319
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
320 /**
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
321 * Toggles a foreground color at the current location or selection in a
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
322 * GtkWebView.
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
323 *
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
324 * @param webview The GtkWebView
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
325 * @param color The HTML-style color, or @c NULL or "" to clear the color.
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
326 *
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
327 * @return @c TRUE if a color was set, or @c FALSE if it was cleared.
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
328 */
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
329 gboolean gtk_webview_toggle_forecolor(GtkWebView *webview, const char *color);
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
330
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
331 /**
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
332 * Toggles a background color at the current location or selection in a
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
333 * GtkWebView.
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
334 *
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
335 * @param webview The GtkWebView
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
336 * @param color The HTML-style color, or @c NULL or "" to clear the color.
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
337 *
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
338 * @return @c TRUE if a color was set, or @c FALSE if it was cleared.
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
339 */
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
340 gboolean gtk_webview_toggle_backcolor(GtkWebView *webview, const char *color);
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
341
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
342 /**
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
343 * Toggles a font face at the current location or selection in a GtkWebView.
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
344 *
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
345 * @param webview The GtkWebView
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
346 * @param face The font face name, or @c NULL or "" to clear the font.
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
347 *
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
348 * @return @c TRUE if a font name was set, or @c FALSE if it was cleared.
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
349 */
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
350 gboolean gtk_webview_toggle_fontface(GtkWebView *webview, const char *face);
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
351
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
352 /**
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
353 * Sets the font size at the current location or selection in a GtkWebView.
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
354 *
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
355 * @param webview The GtkWebView
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
356 * @param size The HTML font size to use.
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
357 */
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
358 void gtk_webview_font_set_size(GtkWebView *webview, gint size);
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
359
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
360 /**
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
361 * Decreases the font size by 1 at the current location or selection in a
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
362 * GtkWebView.
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
363 *
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
364 * @param webview The GtkWebView
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
365 */
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
366 void gtk_webview_font_shrink(GtkWebView *webview);
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
367
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
368 /**
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
369 * Increases the font size by 1 at the current location or selection in a
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
370 * GtkWebView.
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
371 *
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
372 * @param webview The GtkWebView
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
373 */
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
374 void gtk_webview_font_grow(GtkWebView *webview);
0d50155445fd Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32444
diff changeset
375
32436
34f778db624f Add G_BEGIN/END_DECLS to Pidgin public headers, most of which did
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32419
diff changeset
376 G_END_DECLS
34f778db624f Add G_BEGIN/END_DECLS to Pidgin public headers, most of which did
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32419
diff changeset
377
32061
ac42a0dfda48 Apparently I missed these in my previous commit.
tdrhq@soc.pidgin.im
parents:
diff changeset
378 #endif /* _PIDGIN_WEBVIEW_H_ */
32133
8e1ec44ede75 Clean up this WebKit stuff. Fix up broken merging, mark unfinished
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32120
diff changeset
379