Tue, 04 Feb 2014 17:31:03 +0530
Fix a bunch of gtk-doc warnings in pidgin
|
32513
9352b4c92d13
Clean up this WebKit stuff. Fix up broken merging, mark unfinished
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32500
diff
changeset
|
1 | /* pidgin |
|
9352b4c92d13
Clean up this WebKit stuff. Fix up broken merging, mark unfinished
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32500
diff
changeset
|
2 | * |
|
9352b4c92d13
Clean up this WebKit stuff. Fix up broken merging, mark unfinished
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32500
diff
changeset
|
3 | * Pidgin is the legal property of its developers, whose names are too numerous |
|
32441
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
4 | * to list here. Please refer to the COPYRIGHT file distributed with this |
|
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
5 | * source distribution. |
|
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
6 | * |
|
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
7 | * This program is free software; you can redistribute it and/or modify |
|
32513
9352b4c92d13
Clean up this WebKit stuff. Fix up broken merging, mark unfinished
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32500
diff
changeset
|
8 | * it under the terms of the GNU General Public License as published by |
|
32441
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
9 | * the Free Software Foundation; either version 2 of the License, or |
|
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
10 | * (at your option) any later version. |
|
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
11 | * |
|
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
12 | * This program is distributed in the hope that it will be useful, |
|
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
15 | * GNU General Public License for more details. |
|
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
16 | * |
|
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
17 | * You should have received a copy of the GNU General Public License |
|
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
18 | * along with this program; if not, write to the Free Software |
|
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
|
32513
9352b4c92d13
Clean up this WebKit stuff. Fix up broken merging, mark unfinished
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32500
diff
changeset
|
20 | * |
|
32441
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
21 | */ |
|
35451
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35417
diff
changeset
|
22 | /** |
|
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35417
diff
changeset
|
23 | * SECTION:gtkwebview |
|
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35417
diff
changeset
|
24 | * @section_id: pidgin-gtkwebview |
|
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35417
diff
changeset
|
25 | * @short_description: <filename>gtkwebview.h</filename> |
|
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35417
diff
changeset
|
26 | * @title: WebKitWebView Wrapper |
|
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35417
diff
changeset
|
27 | * |
|
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35417
diff
changeset
|
28 | * Wrapper over the Gtk WebKitWebView component. |
|
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35417
diff
changeset
|
29 | */ |
|
32441
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
30 | |
|
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
31 | #ifndef _PIDGIN_WEBVIEW_H_ |
|
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
32 | #define _PIDGIN_WEBVIEW_H_ |
|
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
33 | |
|
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
34 | #include <glib.h> |
|
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
35 | #include <gtk/gtk.h> |
|
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
36 | #include <webkit/webkit.h> |
|
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
37 | |
|
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
38 | #define GTK_TYPE_WEBVIEW (gtk_webview_get_type()) |
|
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
39 | #define GTK_WEBVIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_WEBVIEW, GtkWebView)) |
|
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
40 | #define GTK_WEBVIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_WEBVIEW, GtkWebViewClass)) |
|
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
41 | #define GTK_IS_WEBVIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_WEBVIEW)) |
|
32796
34f384b0d75f
Rearrange these files a bit to group common functions
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32790
diff
changeset
|
42 | #define GTK_IS_WEBVIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_WEBVIEW)) |
|
34f384b0d75f
Rearrange these files a bit to group common functions
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32790
diff
changeset
|
43 | #define GTK_WEBVIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_WEBVIEW, GtkWebViewClass)) |
|
32441
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
44 | |
|
32805
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
45 | typedef enum { |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
46 | GTK_WEBVIEW_BOLD = 1 << 0, |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
47 | GTK_WEBVIEW_ITALIC = 1 << 1, |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
48 | GTK_WEBVIEW_UNDERLINE = 1 << 2, |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
49 | GTK_WEBVIEW_GROW = 1 << 3, |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
50 | GTK_WEBVIEW_SHRINK = 1 << 4, |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
51 | GTK_WEBVIEW_FACE = 1 << 5, |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
52 | GTK_WEBVIEW_FORECOLOR = 1 << 6, |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
53 | GTK_WEBVIEW_BACKCOLOR = 1 << 7, |
|
32896
a9cbf3a55393
Having a backcolor and a background seems a bit redundant. And we
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32895
diff
changeset
|
54 | GTK_WEBVIEW_LINK = 1 << 8, |
|
a9cbf3a55393
Having a backcolor and a background seems a bit redundant. And we
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32895
diff
changeset
|
55 | GTK_WEBVIEW_IMAGE = 1 << 9, |
|
a9cbf3a55393
Having a backcolor and a background seems a bit redundant. And we
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32895
diff
changeset
|
56 | GTK_WEBVIEW_SMILEY = 1 << 10, |
|
a9cbf3a55393
Having a backcolor and a background seems a bit redundant. And we
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32895
diff
changeset
|
57 | GTK_WEBVIEW_LINKDESC = 1 << 11, |
|
a9cbf3a55393
Having a backcolor and a background seems a bit redundant. And we
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32895
diff
changeset
|
58 | GTK_WEBVIEW_STRIKE = 1 << 12, |
|
32805
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
59 | /** Show custom smileys when appropriate. */ |
|
32896
a9cbf3a55393
Having a backcolor and a background seems a bit redundant. And we
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32895
diff
changeset
|
60 | GTK_WEBVIEW_CUSTOM_SMILEY = 1 << 13, |
|
32805
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
61 | GTK_WEBVIEW_ALL = -1 |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
62 | } GtkWebViewButtons; |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
63 | |
|
33256
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
64 | typedef enum { |
|
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
65 | GTK_WEBVIEW_SMILEY_CUSTOM = 1 << 0 |
|
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
66 | } GtkWebViewSmileyFlags; |
|
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
67 | |
|
34274
9169710b5af5
Hide GtkWebViewToolbar stuff within the GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33264
diff
changeset
|
68 | typedef enum { |
|
9169710b5af5
Hide GtkWebViewToolbar stuff within the GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33264
diff
changeset
|
69 | GTK_WEBVIEW_ACTION_BOLD, |
|
9169710b5af5
Hide GtkWebViewToolbar stuff within the GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33264
diff
changeset
|
70 | GTK_WEBVIEW_ACTION_ITALIC, |
|
9169710b5af5
Hide GtkWebViewToolbar stuff within the GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33264
diff
changeset
|
71 | GTK_WEBVIEW_ACTION_UNDERLINE, |
|
9169710b5af5
Hide GtkWebViewToolbar stuff within the GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33264
diff
changeset
|
72 | GTK_WEBVIEW_ACTION_STRIKE, |
|
9169710b5af5
Hide GtkWebViewToolbar stuff within the GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33264
diff
changeset
|
73 | GTK_WEBVIEW_ACTION_LARGER, |
|
9169710b5af5
Hide GtkWebViewToolbar stuff within the GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33264
diff
changeset
|
74 | #if 0 |
|
9169710b5af5
Hide GtkWebViewToolbar stuff within the GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33264
diff
changeset
|
75 | GTK_WEBVIEW_ACTION_NORMAL, |
|
9169710b5af5
Hide GtkWebViewToolbar stuff within the GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33264
diff
changeset
|
76 | #endif |
|
9169710b5af5
Hide GtkWebViewToolbar stuff within the GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33264
diff
changeset
|
77 | GTK_WEBVIEW_ACTION_SMALLER, |
|
9169710b5af5
Hide GtkWebViewToolbar stuff within the GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33264
diff
changeset
|
78 | GTK_WEBVIEW_ACTION_FONTFACE, |
|
9169710b5af5
Hide GtkWebViewToolbar stuff within the GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33264
diff
changeset
|
79 | GTK_WEBVIEW_ACTION_FGCOLOR, |
|
9169710b5af5
Hide GtkWebViewToolbar stuff within the GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33264
diff
changeset
|
80 | GTK_WEBVIEW_ACTION_BGCOLOR, |
|
9169710b5af5
Hide GtkWebViewToolbar stuff within the GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33264
diff
changeset
|
81 | GTK_WEBVIEW_ACTION_CLEAR, |
|
9169710b5af5
Hide GtkWebViewToolbar stuff within the GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33264
diff
changeset
|
82 | GTK_WEBVIEW_ACTION_IMAGE, |
|
9169710b5af5
Hide GtkWebViewToolbar stuff within the GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33264
diff
changeset
|
83 | GTK_WEBVIEW_ACTION_LINK, |
|
9169710b5af5
Hide GtkWebViewToolbar stuff within the GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33264
diff
changeset
|
84 | GTK_WEBVIEW_ACTION_HR, |
|
9169710b5af5
Hide GtkWebViewToolbar stuff within the GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33264
diff
changeset
|
85 | GTK_WEBVIEW_ACTION_SMILEY, |
|
9169710b5af5
Hide GtkWebViewToolbar stuff within the GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33264
diff
changeset
|
86 | GTK_WEBVIEW_ACTION_ATTENTION |
|
9169710b5af5
Hide GtkWebViewToolbar stuff within the GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33264
diff
changeset
|
87 | } GtkWebViewAction; |
|
9169710b5af5
Hide GtkWebViewToolbar stuff within the GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33264
diff
changeset
|
88 | |
|
32796
34f384b0d75f
Rearrange these files a bit to group common functions
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32790
diff
changeset
|
89 | typedef struct _GtkWebView GtkWebView; |
|
34f384b0d75f
Rearrange these files a bit to group common functions
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32790
diff
changeset
|
90 | typedef struct _GtkWebViewClass GtkWebViewClass; |
|
33256
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
91 | typedef struct _GtkWebViewSmiley GtkWebViewSmiley; |
|
32460
5771be5530d8
safely execute JS scripts only after loading is done. Untested code as of now, will test it in next commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
32441
diff
changeset
|
92 | |
|
32441
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
93 | struct _GtkWebView |
|
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
94 | { |
|
32796
34f384b0d75f
Rearrange these files a bit to group common functions
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32790
diff
changeset
|
95 | WebKitWebView parent; |
|
32441
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
96 | }; |
|
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
97 | |
|
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
98 | struct _GtkWebViewClass |
|
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
99 | { |
|
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
100 | WebKitWebViewClass parent; |
|
32811
87c1f3bb5461
Add some formatting signals to webview from imhtml.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32810
diff
changeset
|
101 | |
|
33229
f9503bfa54a4
Add protocol registration on a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33221
diff
changeset
|
102 | GList *protocols; |
|
f9503bfa54a4
Add protocol registration on a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33221
diff
changeset
|
103 | |
|
32811
87c1f3bb5461
Add some formatting signals to webview from imhtml.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32810
diff
changeset
|
104 | void (*buttons_update)(GtkWebView *, GtkWebViewButtons); |
|
87c1f3bb5461
Add some formatting signals to webview from imhtml.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32810
diff
changeset
|
105 | void (*toggle_format)(GtkWebView *, GtkWebViewButtons); |
|
87c1f3bb5461
Add some formatting signals to webview from imhtml.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32810
diff
changeset
|
106 | void (*clear_format)(GtkWebView *); |
|
87c1f3bb5461
Add some formatting signals to webview from imhtml.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32810
diff
changeset
|
107 | void (*update_format)(GtkWebView *); |
|
33007
78b670090850
Add a changed signal shortcut for editable webview changes.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33004
diff
changeset
|
108 | void (*changed)(GtkWebView *); |
|
33241
d5a07f1ea70b
Add a signal for when HTML is appended to a WebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33231
diff
changeset
|
109 | void (*html_appended)(GtkWebView *, WebKitDOMRange *); |
|
32441
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
110 | }; |
|
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
111 | |
|
32790
b95c7c504118
Add G_BEGIN/END_DECLS to Pidgin public headers, most of which did
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32772
diff
changeset
|
112 | G_BEGIN_DECLS |
|
32441
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
113 | |
|
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
114 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
115 | * gtk_webview_get_type: |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
116 | * |
|
32441
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
117 | * Returns the GType for a GtkWebView widget |
|
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
118 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
119 | * Returns: The GType for GtkWebView widget |
|
32441
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
120 | */ |
|
32513
9352b4c92d13
Clean up this WebKit stuff. Fix up broken merging, mark unfinished
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32500
diff
changeset
|
121 | GType gtk_webview_get_type(void); |
|
32441
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
122 | |
|
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
123 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
124 | * gtk_webview_new: |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
125 | * @editable: Whether this GtkWebView will be user-editable |
|
32441
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
126 | * |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
127 | * Create a new GtkWebView object |
|
34276
2b602f67f875
Make editable-ness a construct-only property of the GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34274
diff
changeset
|
128 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
129 | * Returns: A GtkWidget corresponding to the GtkWebView object |
|
32441
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
130 | */ |
|
34276
2b602f67f875
Make editable-ness a construct-only property of the GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
34274
diff
changeset
|
131 | GtkWidget *gtk_webview_new(gboolean editable); |
|
32441
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
132 | |
|
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
133 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
134 | * gtk_webview_append_html: |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
135 | * @webview: The GtkWebView object |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
136 | * @markup: The html markup to append |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
137 | * |
|
32441
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
138 | * A very basic routine to append html, which can be considered |
|
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
139 | * equivalent to a "document.write" using JavaScript. |
|
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
140 | */ |
|
32513
9352b4c92d13
Clean up this WebKit stuff. Fix up broken merging, mark unfinished
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32500
diff
changeset
|
141 | void gtk_webview_append_html(GtkWebView *webview, const char *markup); |
|
32441
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
142 | |
|
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
143 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
144 | * gtk_webview_load_html_string: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
145 | * @webview: The GtkWebView object |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
146 | * @html: The HTML content to load |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
147 | * |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
148 | * Requests loading of the given content. |
|
32441
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
149 | */ |
|
32993
d6da54acf528
Remove _with_imgstore suffix on this function. There isn't a version
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32896
diff
changeset
|
150 | void gtk_webview_load_html_string(GtkWebView *webview, const char *html); |
|
32441
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
151 | |
|
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
152 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
153 | * gtk_webview_load_html_string_with_selection: |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
154 | * @webview: The GtkWebView object |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
155 | * @html: The HTML content to load |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
156 | * |
|
33083
e96acbe0e928
Move caret selection into GtkWebView code.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33054
diff
changeset
|
157 | * Requests loading of the given content and sets the selection. You must |
|
e96acbe0e928
Move caret selection into GtkWebView code.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33054
diff
changeset
|
158 | * include an anchor tag with id='caret' in the HTML string, which will be |
|
e96acbe0e928
Move caret selection into GtkWebView code.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33054
diff
changeset
|
159 | * used to set the selection. This tag is then removed so that querying the |
|
e96acbe0e928
Move caret selection into GtkWebView code.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33054
diff
changeset
|
160 | * WebView's HTML contents will no longer return it. |
|
e96acbe0e928
Move caret selection into GtkWebView code.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33054
diff
changeset
|
161 | */ |
|
e96acbe0e928
Move caret selection into GtkWebView code.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33054
diff
changeset
|
162 | void gtk_webview_load_html_string_with_selection(GtkWebView *webview, const char *html); |
|
e96acbe0e928
Move caret selection into GtkWebView code.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33054
diff
changeset
|
163 | |
|
e96acbe0e928
Move caret selection into GtkWebView code.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33054
diff
changeset
|
164 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
165 | * gtk_webview_safe_execute_script: |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
166 | * @webview: The GtkWebView object |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
167 | * @script: The script to execute |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
168 | * |
|
32460
5771be5530d8
safely execute JS scripts only after loading is done. Untested code as of now, will test it in next commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
32441
diff
changeset
|
169 | * Execute the JavaScript only after the webkit_webview_load_string |
|
5771be5530d8
safely execute JS scripts only after loading is done. Untested code as of now, will test it in next commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
32441
diff
changeset
|
170 | * loads completely. We also guarantee that the scripts are executed |
|
32513
9352b4c92d13
Clean up this WebKit stuff. Fix up broken merging, mark unfinished
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32500
diff
changeset
|
171 | * in the order they are called here. This is useful to avoid race |
|
9352b4c92d13
Clean up this WebKit stuff. Fix up broken merging, mark unfinished
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32500
diff
changeset
|
172 | * conditions when calling JS functions immediately after opening the |
|
32460
5771be5530d8
safely execute JS scripts only after loading is done. Untested code as of now, will test it in next commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
32441
diff
changeset
|
173 | * page. |
|
5771be5530d8
safely execute JS scripts only after loading is done. Untested code as of now, will test it in next commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
32441
diff
changeset
|
174 | */ |
|
32513
9352b4c92d13
Clean up this WebKit stuff. Fix up broken merging, mark unfinished
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32500
diff
changeset
|
175 | void gtk_webview_safe_execute_script(GtkWebView *webview, const char *script); |
|
32460
5771be5530d8
safely execute JS scripts only after loading is done. Untested code as of now, will test it in next commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
32441
diff
changeset
|
176 | |
|
5771be5530d8
safely execute JS scripts only after loading is done. Untested code as of now, will test it in next commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
32441
diff
changeset
|
177 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
178 | * gtk_webview_quote_js_string: |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
179 | * @str: The string to escape and quote |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
180 | * |
|
32513
9352b4c92d13
Clean up this WebKit stuff. Fix up broken merging, mark unfinished
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32500
diff
changeset
|
181 | * A convenience routine to quote a string for use as a JavaScript |
|
32441
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
182 | * string. For instance, "hello 'world'" becomes "'hello \\'world\\''" |
|
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
183 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
184 | * Returns: The quoted string |
|
32441
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
185 | */ |
|
32513
9352b4c92d13
Clean up this WebKit stuff. Fix up broken merging, mark unfinished
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32500
diff
changeset
|
186 | char *gtk_webview_quote_js_string(const char *str); |
|
32441
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
187 | |
|
32500
d8aa742c6288
webkit: Scroll to end when appending html.
Jorge Villaseñor <masca@cpw.pidgin.im>
parents:
32489
diff
changeset
|
188 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
189 | * gtk_webview_set_vadjustment: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
190 | * @webview: The GtkWebView object |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
191 | * @vadj: The GtkAdjustment that control the webview |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
192 | * |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
193 | * Set the vertical adjustment for the GtkWebView. |
|
32796
34f384b0d75f
Rearrange these files a bit to group common functions
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32790
diff
changeset
|
194 | */ |
|
34f384b0d75f
Rearrange these files a bit to group common functions
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32790
diff
changeset
|
195 | void gtk_webview_set_vadjustment(GtkWebView *webview, GtkAdjustment *vadj); |
|
34f384b0d75f
Rearrange these files a bit to group common functions
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32790
diff
changeset
|
196 | |
|
34f384b0d75f
Rearrange these files a bit to group common functions
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32790
diff
changeset
|
197 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
198 | * gtk_webview_scroll_to_end: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
199 | * @webview: The GtkWebView object |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
200 | * @smooth: A boolean indicating if smooth scrolling should be used |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
201 | * |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
202 | * Scrolls the Webview to the end of its contents. |
|
32500
d8aa742c6288
webkit: Scroll to end when appending html.
Jorge Villaseñor <masca@cpw.pidgin.im>
parents:
32489
diff
changeset
|
203 | */ |
|
d8aa742c6288
webkit: Scroll to end when appending html.
Jorge Villaseñor <masca@cpw.pidgin.im>
parents:
32489
diff
changeset
|
204 | void gtk_webview_scroll_to_end(GtkWebView *webview, gboolean smooth); |
|
d8aa742c6288
webkit: Scroll to end when appending html.
Jorge Villaseñor <masca@cpw.pidgin.im>
parents:
32489
diff
changeset
|
205 | |
|
32772
9d79ccaeedfe
Add page up/down for WebKit view.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32657
diff
changeset
|
206 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
207 | * gtk_webview_set_autoscroll: |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
208 | * @webview: The GtkWebView object |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
209 | * @scroll: Whether to automatically scroll |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
210 | * |
|
33247
d8d6e87ce594
Add autoscrolling for the debug window.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33241
diff
changeset
|
211 | * Set whether the GtkWebView stays at its end when HTML content is appended. If |
|
d8d6e87ce594
Add autoscrolling for the debug window.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33241
diff
changeset
|
212 | * not already at the end before appending, then scrolling will not occur. |
|
d8d6e87ce594
Add autoscrolling for the debug window.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33241
diff
changeset
|
213 | */ |
|
d8d6e87ce594
Add autoscrolling for the debug window.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33241
diff
changeset
|
214 | void gtk_webview_set_autoscroll(GtkWebView *webview, gboolean scroll); |
|
d8d6e87ce594
Add autoscrolling for the debug window.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33241
diff
changeset
|
215 | |
|
d8d6e87ce594
Add autoscrolling for the debug window.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33241
diff
changeset
|
216 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
217 | * gtk_webview_get_autoscroll: |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
218 | * @webview: The GtkWebView object |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
219 | * |
|
33247
d8d6e87ce594
Add autoscrolling for the debug window.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33241
diff
changeset
|
220 | * Set whether the GtkWebView stays at its end when HTML content is appended. If |
|
d8d6e87ce594
Add autoscrolling for the debug window.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33241
diff
changeset
|
221 | * not already at the end before appending, then scrolling will not occur. |
|
d8d6e87ce594
Add autoscrolling for the debug window.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33241
diff
changeset
|
222 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
223 | * Returns: Whether to automatically scroll |
|
33247
d8d6e87ce594
Add autoscrolling for the debug window.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33241
diff
changeset
|
224 | */ |
|
d8d6e87ce594
Add autoscrolling for the debug window.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33241
diff
changeset
|
225 | gboolean gtk_webview_get_autoscroll(GtkWebView *webview); |
|
d8d6e87ce594
Add autoscrolling for the debug window.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33241
diff
changeset
|
226 | |
|
d8d6e87ce594
Add autoscrolling for the debug window.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33241
diff
changeset
|
227 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
228 | * gtk_webview_page_up: |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
229 | * @webview: The GtkWebView. |
|
32772
9d79ccaeedfe
Add page up/down for WebKit view.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32657
diff
changeset
|
230 | * |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
231 | * Scrolls a GtkWebView up by one page. |
|
32772
9d79ccaeedfe
Add page up/down for WebKit view.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32657
diff
changeset
|
232 | */ |
|
9d79ccaeedfe
Add page up/down for WebKit view.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32657
diff
changeset
|
233 | void gtk_webview_page_up(GtkWebView *webview); |
|
9d79ccaeedfe
Add page up/down for WebKit view.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32657
diff
changeset
|
234 | |
|
9d79ccaeedfe
Add page up/down for WebKit view.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32657
diff
changeset
|
235 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
236 | * gtk_webview_page_down: |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
237 | * @webview: The GtkWebView. |
|
32772
9d79ccaeedfe
Add page up/down for WebKit view.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32657
diff
changeset
|
238 | * |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
239 | * Scrolls a GtkWebView down by one page. |
|
32772
9d79ccaeedfe
Add page up/down for WebKit view.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32657
diff
changeset
|
240 | */ |
|
9d79ccaeedfe
Add page up/down for WebKit view.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32657
diff
changeset
|
241 | void gtk_webview_page_down(GtkWebView *webview); |
|
9d79ccaeedfe
Add page up/down for WebKit view.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32657
diff
changeset
|
242 | |
|
32805
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
243 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
244 | * gtk_webview_setup_entry: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
245 | * @webview: The GtkWebView. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
246 | * @flags: The connection flags describing the allowed formatting. |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
247 | * |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
248 | * Setup formatting for a GtkWebView depending on the flags specified. |
|
32810
17dceb2423c2
Add a function for setting a WebView entry based on the
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32805
diff
changeset
|
249 | */ |
|
17dceb2423c2
Add a function for setting a WebView entry based on the
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32805
diff
changeset
|
250 | void gtk_webview_setup_entry(GtkWebView *webview, PurpleConnectionFlags flags); |
|
17dceb2423c2
Add a function for setting a WebView entry based on the
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32805
diff
changeset
|
251 | |
|
17dceb2423c2
Add a function for setting a WebView entry based on the
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32805
diff
changeset
|
252 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
253 | * pidgin_webview_set_spellcheck: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
254 | * @webview: The GtkWebView. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
255 | * @enable: Whether to enable or disable spell-checking. |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
256 | * |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
257 | * Setup spell-checking on a GtkWebView. |
|
33021
3dc4b2cdba7f
Enable spell checking in an editable webview.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33017
diff
changeset
|
258 | */ |
|
3dc4b2cdba7f
Enable spell checking in an editable webview.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33017
diff
changeset
|
259 | void pidgin_webview_set_spellcheck(GtkWebView *webview, gboolean enable); |
|
3dc4b2cdba7f
Enable spell checking in an editable webview.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33017
diff
changeset
|
260 | |
|
3dc4b2cdba7f
Enable spell checking in an editable webview.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33017
diff
changeset
|
261 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
262 | * gtk_webview_set_whole_buffer_formatting_only: |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
263 | * @webview: The GtkWebView |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
264 | * @wbfo: %TRUE to enable the mode, or %FALSE otherwise. |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
265 | * |
|
32805
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
266 | * Enables or disables whole buffer formatting only (wbfo) in a GtkWebView. |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
267 | * In this mode formatting options to the buffer take effect for the entire |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
268 | * buffer instead of specific text. |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
269 | */ |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
270 | void gtk_webview_set_whole_buffer_formatting_only(GtkWebView *webview, |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
271 | gboolean wbfo); |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
272 | |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
273 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
274 | * gtk_webview_set_format_functions: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
275 | * @webview: The GtkWebView |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
276 | * @buttons: A GtkWebViewButtons bitmask indicating which functions to use |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
277 | * |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
278 | * Indicates which formatting functions to enable and disable in a GtkWebView. |
|
32805
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
279 | */ |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
280 | void gtk_webview_set_format_functions(GtkWebView *webview, |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
281 | GtkWebViewButtons buttons); |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
282 | |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
283 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
284 | * gtk_webview_activate_anchor: |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
285 | * @link: The WebKitDOMHTMLAnchorElement object |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
286 | * |
|
33231
ab65d36fd975
Add a convenience function to activate a WebKit anchor element.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33229
diff
changeset
|
287 | * Activates a WebKitDOMHTMLAnchorElement object. This triggers the navigation |
|
ab65d36fd975
Add a convenience function to activate a WebKit anchor element.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33229
diff
changeset
|
288 | * signals, and marks the link as visited (when possible). |
|
ab65d36fd975
Add a convenience function to activate a WebKit anchor element.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33229
diff
changeset
|
289 | */ |
|
ab65d36fd975
Add a convenience function to activate a WebKit anchor element.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33229
diff
changeset
|
290 | void gtk_webview_activate_anchor(WebKitDOMHTMLAnchorElement *link); |
|
ab65d36fd975
Add a convenience function to activate a WebKit anchor element.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33229
diff
changeset
|
291 | |
|
ab65d36fd975
Add a convenience function to activate a WebKit anchor element.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33229
diff
changeset
|
292 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
293 | * gtk_webview_class_register_protocol: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
294 | * @name: The name of the protocol (e.g. http://) |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
295 | * @activate: The callback to trigger when the protocol text is clicked. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
296 | * Removes any current protocol definition if %NULL. The |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
297 | * callback should return %TRUE if the link was activated |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
298 | * properly, %FALSE otherwise. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
299 | * @context_menu: The callback to trigger when the context menu is popped |
|
33229
f9503bfa54a4
Add protocol registration on a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33221
diff
changeset
|
300 | * up on the protocol text. The callback should return |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
301 | * %TRUE if the request for context menu was processed |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
302 | * successfully, %FALSE otherwise. |
|
33229
f9503bfa54a4
Add protocol registration on a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33221
diff
changeset
|
303 | * |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
304 | * Register a protocol with the GtkWebView widget. Registering a protocol would |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
305 | * allow certain text to be clickable. |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
306 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
307 | * Returns: %TRUE if the protocol was successfully registered |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
308 | * (or unregistered, when \a activate is %NULL) |
|
33229
f9503bfa54a4
Add protocol registration on a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33221
diff
changeset
|
309 | */ |
|
f9503bfa54a4
Add protocol registration on a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33221
diff
changeset
|
310 | gboolean gtk_webview_class_register_protocol(const char *name, |
|
f9503bfa54a4
Add protocol registration on a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33221
diff
changeset
|
311 | gboolean (*activate)(GtkWebView *webview, const char *uri), |
|
f9503bfa54a4
Add protocol registration on a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33221
diff
changeset
|
312 | gboolean (*context_menu)(GtkWebView *webview, WebKitDOMHTMLAnchorElement *link, GtkWidget *menu)); |
|
f9503bfa54a4
Add protocol registration on a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33221
diff
changeset
|
313 | |
|
f9503bfa54a4
Add protocol registration on a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33221
diff
changeset
|
314 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
315 | * gtk_webview_get_format_functions: |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
316 | * @webview: The GtkWebView |
|
32805
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
317 | * |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
318 | * Returns which formatting functions are enabled in a GtkWebView. |
|
32805
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
319 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
320 | * Returns: A GtkWebViewButtons bitmask indicating which functions to are enabled |
|
32805
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
321 | */ |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
322 | GtkWebViewButtons gtk_webview_get_format_functions(GtkWebView *webview); |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
323 | |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
324 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
325 | * gtk_webview_get_current_format: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
326 | * @webview: The GtkWebView |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
327 | * @bold: The boolean to set for bold or %NULL. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
328 | * @italic: The boolean to set for italic or %NULL. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
329 | * @underline: The boolean to set for underline or %NULL. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
330 | * @strikethrough: The boolean to set for strikethrough or %NULL. |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
331 | * |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
332 | * Sets each boolean to %TRUE or %FALSE to indicate if that formatting |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
333 | * option is enabled at the current position in a GtkWebView. |
|
32805
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
334 | */ |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
335 | void gtk_webview_get_current_format(GtkWebView *webview, gboolean *bold, |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
336 | gboolean *italic, gboolean *underline, |
|
35455
216a37403c5b
Fix a bunch of gtk-doc warnings in pidgin
Ankit Vani <a@nevitus.org>
parents:
35451
diff
changeset
|
337 | gboolean *strikethrough); |
|
32805
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
338 | |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
339 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
340 | * gtk_webview_get_current_fontface: |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
341 | * @webview: The GtkWebView |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
342 | * |
|
32805
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
343 | * Returns a string containing the selected font face at the current position |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
344 | * in a GtkWebView. |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
345 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
346 | * Returns: A string containing the font face or %NULL if none is set. |
|
32805
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
347 | */ |
|
32895
fbd3b11e535a
WebKit knows the current formatting of the selection better than we
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32811
diff
changeset
|
348 | char *gtk_webview_get_current_fontface(GtkWebView *webview); |
|
32805
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
349 | |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
350 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
351 | * gtk_webview_get_current_forecolor: |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
352 | * @webview: The GtkWebView |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
353 | * |
|
32805
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
354 | * Returns a string containing the selected foreground color at the current |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
355 | * position in a GtkWebView. |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
356 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
357 | * Returns: A string containing the foreground color or %NULL if none is set. |
|
32805
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
358 | */ |
|
32895
fbd3b11e535a
WebKit knows the current formatting of the selection better than we
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32811
diff
changeset
|
359 | char *gtk_webview_get_current_forecolor(GtkWebView *webview); |
|
32805
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
360 | |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
361 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
362 | * gtk_webview_get_current_backcolor: |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
363 | * @webview: The GtkWebView |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
364 | * |
|
32805
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
365 | * Returns a string containing the selected font background color at the current |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
366 | * position in a GtkWebView. |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
367 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
368 | * Returns: A string containing the background color or %NULL if none is set. |
|
32805
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
369 | */ |
|
32895
fbd3b11e535a
WebKit knows the current formatting of the selection better than we
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32811
diff
changeset
|
370 | char *gtk_webview_get_current_backcolor(GtkWebView *webview); |
|
32805
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
371 | |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
372 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
373 | * gtk_webview_get_current_fontsize: |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
374 | * @webview: The GtkWebView |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
375 | * |
|
32805
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
376 | * Returns a integer containing the selected HTML font size at the current |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
377 | * position in a GtkWebView. |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
378 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
379 | * Returns: The HTML font size. |
|
32805
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
380 | */ |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
381 | gint gtk_webview_get_current_fontsize(GtkWebView *webview); |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
382 | |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
383 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
384 | * gtk_webview_get_head_html: |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
385 | * @webview: The GtkWebView |
|
33004
2a86ad923464
Add some convenience functions to get the contents of a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32993
diff
changeset
|
386 | * |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
387 | * Gets the content of the head element of a GtkWebView as HTML. |
|
33004
2a86ad923464
Add some convenience functions to get the contents of a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32993
diff
changeset
|
388 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
389 | * Returns: The HTML from the head element. |
|
33004
2a86ad923464
Add some convenience functions to get the contents of a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32993
diff
changeset
|
390 | */ |
|
2a86ad923464
Add some convenience functions to get the contents of a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32993
diff
changeset
|
391 | gchar *gtk_webview_get_head_html(GtkWebView *webview); |
|
2a86ad923464
Add some convenience functions to get the contents of a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32993
diff
changeset
|
392 | |
|
2a86ad923464
Add some convenience functions to get the contents of a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32993
diff
changeset
|
393 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
394 | * gtk_webview_get_body_html: |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
395 | * @webview: The GtkWebView |
|
33004
2a86ad923464
Add some convenience functions to get the contents of a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32993
diff
changeset
|
396 | * |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
397 | * Gets the HTML content of a GtkWebView. |
|
33004
2a86ad923464
Add some convenience functions to get the contents of a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32993
diff
changeset
|
398 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
399 | * Returns: The HTML that is currently displayed. |
|
33004
2a86ad923464
Add some convenience functions to get the contents of a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32993
diff
changeset
|
400 | */ |
|
2a86ad923464
Add some convenience functions to get the contents of a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32993
diff
changeset
|
401 | gchar *gtk_webview_get_body_html(GtkWebView *webview); |
|
2a86ad923464
Add some convenience functions to get the contents of a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32993
diff
changeset
|
402 | |
|
2a86ad923464
Add some convenience functions to get the contents of a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32993
diff
changeset
|
403 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
404 | * gtk_webview_get_body_text: |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
405 | * @webview: The GtkWebView |
|
33004
2a86ad923464
Add some convenience functions to get the contents of a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32993
diff
changeset
|
406 | * |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
407 | * Gets the text content of a GtkWebView. |
|
33004
2a86ad923464
Add some convenience functions to get the contents of a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32993
diff
changeset
|
408 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
409 | * Returns: The HTML-free text that is currently displayed. |
|
33004
2a86ad923464
Add some convenience functions to get the contents of a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32993
diff
changeset
|
410 | */ |
|
2a86ad923464
Add some convenience functions to get the contents of a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32993
diff
changeset
|
411 | gchar *gtk_webview_get_body_text(GtkWebView *webview); |
|
33014
2f8a83007ab9
Set up the link description from the already selected text.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33013
diff
changeset
|
412 | |
|
2f8a83007ab9
Set up the link description from the already selected text.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33013
diff
changeset
|
413 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
414 | * gtk_webview_get_selected_text: |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
415 | * @webview: The GtkWebView |
|
33014
2f8a83007ab9
Set up the link description from the already selected text.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33013
diff
changeset
|
416 | * |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
417 | * Gets the selected text of a GtkWebView. |
|
33014
2f8a83007ab9
Set up the link description from the already selected text.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33013
diff
changeset
|
418 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
419 | * Returns: The HTML-free text that is currently selected, or NULL if nothing is |
|
33014
2f8a83007ab9
Set up the link description from the already selected text.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33013
diff
changeset
|
420 | * currently selected. |
|
2f8a83007ab9
Set up the link description from the already selected text.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33013
diff
changeset
|
421 | */ |
|
2f8a83007ab9
Set up the link description from the already selected text.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33013
diff
changeset
|
422 | gchar *gtk_webview_get_selected_text(GtkWebView *webview); |
|
33004
2a86ad923464
Add some convenience functions to get the contents of a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32993
diff
changeset
|
423 | |
|
2a86ad923464
Add some convenience functions to get the contents of a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32993
diff
changeset
|
424 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
425 | * gtk_webview_get_caret: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
426 | * @webview: The GtkWebView |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
427 | * @container_ret: A pointer to a pointer to a WebKitDOMNode. This pointer |
| 35129 | 428 | * will be set to the container the caret is in. Set to |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
429 | * %NULL if a range is selected. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
430 | * @pos_ret: A pointer to a glong. This value will be set to the |
| 35129 | 431 | * position of the caret in the container. Set to -1 if a |
| 432 | * range is selected. | |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
433 | * |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
434 | * Gets the container of the caret, along with its position in the container |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
435 | * from a GtkWebView. |
| 35129 | 436 | */ |
| 437 | void gtk_webview_get_caret(GtkWebView *webview, WebKitDOMNode **container_ret, | |
| 438 | glong *pos_ret); | |
| 439 | ||
| 440 | /** | |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
441 | * gtk_webview_set_caret: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
442 | * @webview: The GtkWebView |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
443 | * @container: The WebKitDOMNode to set the caret in |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
444 | * @pos: The position of the caret in the container |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
445 | * |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
446 | * Sets the caret position in container, in a GtkWebView. |
| 35129 | 447 | */ |
| 448 | void gtk_webview_set_caret(GtkWebView *webview, WebKitDOMNode *container, | |
| 449 | glong pos); | |
| 450 | ||
| 451 | /** | |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
452 | * gtk_webview_clear_formatting: |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
453 | * @webview: The GtkWebView |
|
32805
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
454 | * |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
455 | * Clear all the formatting on a GtkWebView. |
|
32805
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
456 | */ |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
457 | void gtk_webview_clear_formatting(GtkWebView *webview); |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
458 | |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
459 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
460 | * gtk_webview_toggle_bold: |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
461 | * @webview: The GtkWebView |
|
32805
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
462 | * |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
463 | * Toggles bold at the cursor location or selection in a GtkWebView. |
|
32805
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
464 | */ |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
465 | void gtk_webview_toggle_bold(GtkWebView *webview); |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
466 | |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
467 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
468 | * gtk_webview_toggle_italic: |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
469 | * @webview: The GtkWebView |
|
32805
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
470 | * |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
471 | * Toggles italic at the cursor location or selection in a GtkWebView. |
|
32805
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
472 | */ |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
473 | void gtk_webview_toggle_italic(GtkWebView *webview); |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
474 | |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
475 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
476 | * gtk_webview_toggle_underline: |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
477 | * @webview: The GtkWebView |
|
32805
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
478 | * |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
479 | * Toggles underline at the cursor location or selection in a GtkWebView. |
|
32805
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
480 | */ |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
481 | void gtk_webview_toggle_underline(GtkWebView *webview); |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
482 | |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
483 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
484 | * gtk_webview_toggle_strike: |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
485 | * @webview: The GtkWebView |
|
32805
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
486 | * |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
487 | * Toggles strikethrough at the cursor location or selection in a GtkWebView. |
|
32805
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
488 | */ |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
489 | void gtk_webview_toggle_strike(GtkWebView *webview); |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
490 | |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
491 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
492 | * gtk_webview_toggle_forecolor: |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
493 | * @webview: The GtkWebView |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
494 | * @color: The HTML-style color, or %NULL or "" to clear the color. |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
495 | * |
|
32805
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
496 | * Toggles a foreground color at the current location or selection in a |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
497 | * GtkWebView. |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
498 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
499 | * Returns: %TRUE if a color was set, or %FALSE if it was cleared. |
|
32805
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
500 | */ |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
501 | gboolean gtk_webview_toggle_forecolor(GtkWebView *webview, const char *color); |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
502 | |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
503 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
504 | * gtk_webview_toggle_backcolor: |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
505 | * @webview: The GtkWebView |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
506 | * @color: The HTML-style color, or %NULL or "" to clear the color. |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
507 | * |
|
32805
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
508 | * Toggles a background color at the current location or selection in a |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
509 | * GtkWebView. |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
510 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
511 | * Returns: %TRUE if a color was set, or %FALSE if it was cleared. |
|
32805
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
512 | */ |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
513 | gboolean gtk_webview_toggle_backcolor(GtkWebView *webview, const char *color); |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
514 | |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
515 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
516 | * gtk_webview_toggle_fontface: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
517 | * @webview: The GtkWebView |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
518 | * @face: The font face name, or %NULL or "" to clear the font. |
|
32805
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
519 | * |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
520 | * Toggles a font face at the current location or selection in a GtkWebView. |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
521 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
522 | * Returns: %TRUE if a font name was set, or %FALSE if it was cleared. |
|
32805
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
523 | */ |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
524 | gboolean gtk_webview_toggle_fontface(GtkWebView *webview, const char *face); |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
525 | |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
526 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
527 | * gtk_webview_font_set_size: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
528 | * @webview: The GtkWebView |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
529 | * @size: The HTML font size to use. |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
530 | * |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
531 | * Sets the font size at the current location or selection in a GtkWebView. |
|
32805
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
532 | */ |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
533 | void gtk_webview_font_set_size(GtkWebView *webview, gint size); |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
534 | |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
535 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
536 | * gtk_webview_font_shrink: |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
537 | * @webview: The GtkWebView |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
538 | * |
|
32805
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
539 | * Decreases the font size by 1 at the current location or selection in a |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
540 | * GtkWebView. |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
541 | */ |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
542 | void gtk_webview_font_shrink(GtkWebView *webview); |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
543 | |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
544 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
545 | * gtk_webview_font_grow: |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
546 | * @webview: The GtkWebView |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
547 | * |
|
32805
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
548 | * Increases the font size by 1 at the current location or selection in a |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
549 | * GtkWebView. |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
550 | */ |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
551 | void gtk_webview_font_grow(GtkWebView *webview); |
|
57f914c32dc4
Copy some editing functions from GtkIMHtml. These are incomplete.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32798
diff
changeset
|
552 | |
|
33012
3a742f00a0f4
Restore Insert Horizontal Rule functionality.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33007
diff
changeset
|
553 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
554 | * gtk_webview_insert_hr: |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
555 | * @webview: The GtkWebView |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
556 | * |
|
33012
3a742f00a0f4
Restore Insert Horizontal Rule functionality.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33007
diff
changeset
|
557 | * Inserts a horizontal rule at the current location or selection in a |
|
3a742f00a0f4
Restore Insert Horizontal Rule functionality.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33007
diff
changeset
|
558 | * GtkWebView. |
|
3a742f00a0f4
Restore Insert Horizontal Rule functionality.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33007
diff
changeset
|
559 | */ |
|
3a742f00a0f4
Restore Insert Horizontal Rule functionality.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33007
diff
changeset
|
560 | void gtk_webview_insert_hr(GtkWebView *webview); |
|
3a742f00a0f4
Restore Insert Horizontal Rule functionality.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33007
diff
changeset
|
561 | |
|
33013
f62232fb738a
Restore "Insert Link" functionality.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33012
diff
changeset
|
562 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
563 | * gtk_webview_insert_link: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
564 | * @webview: The GtkWebView |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
565 | * @url: The URL of the link |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
566 | * @desc: The text description of the link. If not supplied, the URL is |
|
33013
f62232fb738a
Restore "Insert Link" functionality.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33012
diff
changeset
|
567 | * used instead. |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
568 | * |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
569 | * Inserts a link at the current location or selection in a GtkWebView. |
|
33013
f62232fb738a
Restore "Insert Link" functionality.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33012
diff
changeset
|
570 | */ |
|
f62232fb738a
Restore "Insert Link" functionality.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33012
diff
changeset
|
571 | void gtk_webview_insert_link(GtkWebView *webview, const char *url, const char *desc); |
|
f62232fb738a
Restore "Insert Link" functionality.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33012
diff
changeset
|
572 | |
|
33017
d21ab88ad911
Fixup Insert Image functionality.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33014
diff
changeset
|
573 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
574 | * gtk_webview_insert_image: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
575 | * @webview: The GtkWebView |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
576 | * @id: The PurpleStoredImage id |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
577 | * |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
578 | * Inserts an image at the current location or selection in a GtkWebView. |
|
33017
d21ab88ad911
Fixup Insert Image functionality.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33014
diff
changeset
|
579 | */ |
|
d21ab88ad911
Fixup Insert Image functionality.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33014
diff
changeset
|
580 | void gtk_webview_insert_image(GtkWebView *webview, int id); |
|
d21ab88ad911
Fixup Insert Image functionality.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33014
diff
changeset
|
581 | |
|
33256
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
582 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
583 | * gtk_webview_get_protocol_name: |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
584 | * @webview: The GtkWebView |
|
33256
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
585 | * |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
586 | * Gets the protocol name associated with this GtkWebView. |
|
33256
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
587 | */ |
|
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
588 | const char *gtk_webview_get_protocol_name(GtkWebView *webview); |
|
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
589 | |
|
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
590 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
591 | * gtk_webview_set_protocol_name: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
592 | * @webview: The GtkWebView |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
593 | * @protocol_name: The protocol name to associate with the GtkWebView |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
594 | * |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
595 | * Associates a protocol name with a GtkWebView. |
|
33256
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
596 | */ |
|
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
597 | void gtk_webview_set_protocol_name(GtkWebView *webview, const char *protocol_name); |
|
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
598 | |
|
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
599 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
600 | * gtk_webview_smiley_create: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
601 | * @file: The image file for the smiley |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
602 | * @shortcut: The key shortcut for the smiley |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
603 | * @hide: %TRUE if the smiley should be hidden in the smiley dialog, |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
604 | * %FALSE otherwise |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
605 | * @flags: The smiley flags |
|
33256
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
606 | * |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
607 | * Create a new GtkWebViewSmiley. |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
608 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
609 | * Returns: The newly created smiley |
|
33256
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
610 | */ |
|
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
611 | GtkWebViewSmiley *gtk_webview_smiley_create(const char *file, |
|
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
612 | const char *shortcut, |
|
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
613 | gboolean hide, |
|
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
614 | GtkWebViewSmileyFlags flags); |
|
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
615 | |
|
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
616 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
617 | * gtk_webview_smiley_reload: |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
618 | * @smiley: The smiley to reload |
|
33256
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
619 | * |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
620 | * Reload the image data for the smiley. |
|
33256
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
621 | */ |
|
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
622 | void gtk_webview_smiley_reload(GtkWebViewSmiley *smiley); |
|
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
623 | |
|
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
624 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
625 | * gtk_webview_smiley_destroy: |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
626 | * @smiley: The smiley to destroy |
|
33256
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
627 | * |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
628 | * Destroy a GtkWebViewSmiley. |
|
33256
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
629 | */ |
|
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
630 | void gtk_webview_smiley_destroy(GtkWebViewSmiley *smiley); |
|
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
631 | |
|
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
632 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
633 | * gtk_webview_smiley_get_smile: |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
634 | * @smiley: The smiley |
|
33264
423d5b6e9d9a
Add more accessors for GtkWebViewSmiley fields.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33256
diff
changeset
|
635 | * |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
636 | * Returns the text associated with a smiley. |
|
33264
423d5b6e9d9a
Add more accessors for GtkWebViewSmiley fields.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33256
diff
changeset
|
637 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
638 | * Returns: The text |
|
33264
423d5b6e9d9a
Add more accessors for GtkWebViewSmiley fields.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33256
diff
changeset
|
639 | */ |
|
423d5b6e9d9a
Add more accessors for GtkWebViewSmiley fields.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33256
diff
changeset
|
640 | const char *gtk_webview_smiley_get_smile(const GtkWebViewSmiley *smiley); |
|
423d5b6e9d9a
Add more accessors for GtkWebViewSmiley fields.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33256
diff
changeset
|
641 | |
|
423d5b6e9d9a
Add more accessors for GtkWebViewSmiley fields.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33256
diff
changeset
|
642 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
643 | * gtk_webview_smiley_get_file: |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
644 | * @smiley: The smiley |
|
33264
423d5b6e9d9a
Add more accessors for GtkWebViewSmiley fields.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33256
diff
changeset
|
645 | * |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
646 | * Returns the file associated with a smiley. |
|
33264
423d5b6e9d9a
Add more accessors for GtkWebViewSmiley fields.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33256
diff
changeset
|
647 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
648 | * Returns: The file |
|
33264
423d5b6e9d9a
Add more accessors for GtkWebViewSmiley fields.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33256
diff
changeset
|
649 | */ |
|
423d5b6e9d9a
Add more accessors for GtkWebViewSmiley fields.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33256
diff
changeset
|
650 | const char *gtk_webview_smiley_get_file(const GtkWebViewSmiley *smiley); |
|
423d5b6e9d9a
Add more accessors for GtkWebViewSmiley fields.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33256
diff
changeset
|
651 | |
|
423d5b6e9d9a
Add more accessors for GtkWebViewSmiley fields.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33256
diff
changeset
|
652 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
653 | * gtk_webview_smiley_get_hidden: |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
654 | * @smiley: The smiley |
|
33264
423d5b6e9d9a
Add more accessors for GtkWebViewSmiley fields.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33256
diff
changeset
|
655 | * |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
656 | * Returns the invisibility of a smiley. |
|
33264
423d5b6e9d9a
Add more accessors for GtkWebViewSmiley fields.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33256
diff
changeset
|
657 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
658 | * Returns: The hidden status |
|
33264
423d5b6e9d9a
Add more accessors for GtkWebViewSmiley fields.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33256
diff
changeset
|
659 | */ |
|
423d5b6e9d9a
Add more accessors for GtkWebViewSmiley fields.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33256
diff
changeset
|
660 | gboolean gtk_webview_smiley_get_hidden(const GtkWebViewSmiley *smiley); |
|
423d5b6e9d9a
Add more accessors for GtkWebViewSmiley fields.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33256
diff
changeset
|
661 | |
|
423d5b6e9d9a
Add more accessors for GtkWebViewSmiley fields.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33256
diff
changeset
|
662 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
663 | * gtk_webview_smiley_get_flags: |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
664 | * @smiley: The smiley |
|
33256
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
665 | * |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
666 | * Returns the flags associated with a smiley. |
|
33264
423d5b6e9d9a
Add more accessors for GtkWebViewSmiley fields.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33256
diff
changeset
|
667 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
668 | * Returns: The flags |
|
33256
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
669 | */ |
|
33264
423d5b6e9d9a
Add more accessors for GtkWebViewSmiley fields.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33256
diff
changeset
|
670 | GtkWebViewSmileyFlags gtk_webview_smiley_get_flags(const GtkWebViewSmiley *smiley); |
|
33256
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
671 | |
|
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
672 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
673 | * gtk_webview_smiley_find: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
674 | * @webview: The GtkWebView |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
675 | * @sml: The name of the smiley category |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
676 | * @text: The text associated with the smiley |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
677 | * |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
678 | * Returns the smiley object associated with the text. |
|
33256
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
679 | */ |
|
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
680 | GtkWebViewSmiley *gtk_webview_smiley_find(GtkWebView *webview, const char *sml, |
|
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
681 | const char *text); |
|
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
682 | |
|
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
683 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
684 | * gtk_webview_associate_smiley: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
685 | * @webview: The GtkWebView |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
686 | * @sml: The name of the smiley category |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
687 | * @smiley: The GtkWebViewSmiley to associate |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
688 | * |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
689 | * Associates a smiley with a GtkWebView. |
|
33256
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
690 | */ |
|
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
691 | void gtk_webview_associate_smiley(GtkWebView *webview, const char *sml, |
|
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
692 | GtkWebViewSmiley *smiley); |
|
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
693 | |
|
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
694 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
695 | * gtk_webview_remove_smileys: |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
696 | * @webview: The GtkWebView. |
|
33256
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
697 | * |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
698 | * Removes all smileys associated with a GtkWebView. |
|
33256
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
699 | */ |
|
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
700 | void gtk_webview_remove_smileys(GtkWebView *webview); |
|
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
701 | |
|
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
702 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
703 | * gtk_webview_insert_smiley: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
704 | * @webview: The GtkWebView |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
705 | * @sml: The category of the smiley |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
706 | * @smiley: The text of the smiley to insert |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
707 | * |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
708 | * Inserts a smiley at the current location or selection in a GtkWebView. |
|
33256
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
709 | */ |
|
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
710 | void gtk_webview_insert_smiley(GtkWebView *webview, const char *sml, |
|
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
711 | const char *smiley); |
|
2bf06f291ff7
Add some smiley stuff to a GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33247
diff
changeset
|
712 | |
|
34274
9169710b5af5
Hide GtkWebViewToolbar stuff within the GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33264
diff
changeset
|
713 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
714 | * gtk_webview_show_toolbar: |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
715 | * @webview: The GtkWebView. |
|
34274
9169710b5af5
Hide GtkWebViewToolbar stuff within the GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33264
diff
changeset
|
716 | * |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
717 | * Makes the toolbar associated with a GtkWebView visible. |
|
34274
9169710b5af5
Hide GtkWebViewToolbar stuff within the GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33264
diff
changeset
|
718 | */ |
|
9169710b5af5
Hide GtkWebViewToolbar stuff within the GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33264
diff
changeset
|
719 | void gtk_webview_show_toolbar(GtkWebView *webview); |
|
9169710b5af5
Hide GtkWebViewToolbar stuff within the GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33264
diff
changeset
|
720 | |
|
9169710b5af5
Hide GtkWebViewToolbar stuff within the GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33264
diff
changeset
|
721 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
722 | * gtk_webview_hide_toolbar: |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
723 | * @webview: The GtkWebView. |
|
34274
9169710b5af5
Hide GtkWebViewToolbar stuff within the GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33264
diff
changeset
|
724 | * |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
725 | * Makes the toolbar associated with a GtkWebView invisible. |
|
34274
9169710b5af5
Hide GtkWebViewToolbar stuff within the GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33264
diff
changeset
|
726 | */ |
|
9169710b5af5
Hide GtkWebViewToolbar stuff within the GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33264
diff
changeset
|
727 | void gtk_webview_hide_toolbar(GtkWebView *webview); |
|
9169710b5af5
Hide GtkWebViewToolbar stuff within the GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33264
diff
changeset
|
728 | |
|
9169710b5af5
Hide GtkWebViewToolbar stuff within the GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33264
diff
changeset
|
729 | /** |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
730 | * gtk_webview_activate_toolbar: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
731 | * @webview: The GtkWebView |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
35129
diff
changeset
|
732 | * @action: The GtkWebViewAction |
|
35417
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
733 | * |
|
4e34bb5d3681
Convert docs from doxygen to gtk-doc format for gtksound to pidgintooltip
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
734 | * Activate an action on the toolbar associated with a GtkWebView. |
|
34274
9169710b5af5
Hide GtkWebViewToolbar stuff within the GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33264
diff
changeset
|
735 | */ |
|
9169710b5af5
Hide GtkWebViewToolbar stuff within the GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33264
diff
changeset
|
736 | void gtk_webview_activate_toolbar(GtkWebView *webview, GtkWebViewAction action); |
|
9169710b5af5
Hide GtkWebViewToolbar stuff within the GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33264
diff
changeset
|
737 | |
|
9169710b5af5
Hide GtkWebViewToolbar stuff within the GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33264
diff
changeset
|
738 | /* Do not use. */ |
|
9169710b5af5
Hide GtkWebViewToolbar stuff within the GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33264
diff
changeset
|
739 | void |
|
9169710b5af5
Hide GtkWebViewToolbar stuff within the GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33264
diff
changeset
|
740 | gtk_webview_set_toolbar(GtkWebView *webview, GtkWidget *toolbar); |
|
9169710b5af5
Hide GtkWebViewToolbar stuff within the GtkWebView.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
33264
diff
changeset
|
741 | |
|
32790
b95c7c504118
Add G_BEGIN/END_DECLS to Pidgin public headers, most of which did
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32772
diff
changeset
|
742 | G_END_DECLS |
|
b95c7c504118
Add G_BEGIN/END_DECLS to Pidgin public headers, most of which did
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32772
diff
changeset
|
743 | |
|
32441
8a015ca299f9
Apparently I missed these in my previous commit.
Arnold Noronha <tdrhq@soc.pidgin.im>
parents:
diff
changeset
|
744 | #endif /* _PIDGIN_WEBVIEW_H_ */ |
|
32513
9352b4c92d13
Clean up this WebKit stuff. Fix up broken merging, mark unfinished
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32500
diff
changeset
|
745 |