Thu, 16 Aug 2012 02:17:37 -0400
Use new GtkFontChooser where available.
This currently ignores the font size, even though it's still visible, but
I think that may change in the future.
|
32806
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
1 | /* |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
2 | * GtkWebViewToolbar |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
3 | * |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
4 | * Pidgin is the legal property of its developers, whose names are too numerous |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
5 | * to list here. Please refer to the COPYRIGHT file distributed with this |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
6 | * source distribution. |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
7 | * |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
8 | * This program is free software; you can redistribute it and/or modify |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
9 | * under the terms of the GNU General Public License as published by |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
10 | * the Free Software Foundation; either version 2 of the License, or |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
11 | * (at your option) any later version. |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
12 | * |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
13 | * This program is distributed in the hope that it will be useful, |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
16 | * GNU General Public License for more details. |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
17 | * |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
18 | * You should have received a copy of the GNU General Public License |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
19 | * along with this program; if not, write to the Free Software |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
21 | * |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
22 | */ |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
23 | #ifndef _PIDGINWEBVIEWTOOLBAR_H_ |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
24 | #define _PIDGINWEBVIEWTOOLBAR_H_ |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
25 | |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
26 | #include <gtk/gtk.h> |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
27 | #include "gtkwebview.h" |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
28 | |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
29 | #define DEFAULT_FONT_FACE "Helvetica 12" |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
30 | |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
31 | #define GTK_TYPE_WEBVIEWTOOLBAR (gtk_webviewtoolbar_get_type()) |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
32 | #define GTK_WEBVIEWTOOLBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_WEBVIEWTOOLBAR, GtkWebViewToolbar)) |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
33 | #define GTK_WEBVIEWTOOLBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_WEBVIEWTOOLBAR, GtkWebViewToolbarClass)) |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
34 | #define GTK_IS_WEBVIEWTOOLBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_WEBVIEWTOOLBAR)) |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
35 | #define GTK_IS_WEBVIEWTOOLBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_WEBVIEWTOOLBAR)) |
|
32816
7ce59d2c507c
Add missing macro.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32806
diff
changeset
|
36 | #define GTK_WEBVIEWTOOLBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_WEBVIEWTOOLBAR, GtkWebViewToolbarClass)) |
|
32806
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
37 | |
|
33255
0c8cfc86bdc2
Add method for activating GtkWebViewToolbar items.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32817
diff
changeset
|
38 | typedef enum { |
|
0c8cfc86bdc2
Add method for activating GtkWebViewToolbar items.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32817
diff
changeset
|
39 | GTK_WEBVIEWTOOLBAR_ACTION_BOLD, |
|
0c8cfc86bdc2
Add method for activating GtkWebViewToolbar items.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32817
diff
changeset
|
40 | GTK_WEBVIEWTOOLBAR_ACTION_ITALIC, |
|
0c8cfc86bdc2
Add method for activating GtkWebViewToolbar items.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32817
diff
changeset
|
41 | GTK_WEBVIEWTOOLBAR_ACTION_UNDERLINE, |
|
0c8cfc86bdc2
Add method for activating GtkWebViewToolbar items.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32817
diff
changeset
|
42 | GTK_WEBVIEWTOOLBAR_ACTION_STRIKE, |
|
0c8cfc86bdc2
Add method for activating GtkWebViewToolbar items.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32817
diff
changeset
|
43 | GTK_WEBVIEWTOOLBAR_ACTION_LARGER, |
|
0c8cfc86bdc2
Add method for activating GtkWebViewToolbar items.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32817
diff
changeset
|
44 | #if 0 |
|
0c8cfc86bdc2
Add method for activating GtkWebViewToolbar items.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32817
diff
changeset
|
45 | GTK_WEBVIEWTOOLBAR_ACTION_NORMAL, |
|
0c8cfc86bdc2
Add method for activating GtkWebViewToolbar items.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32817
diff
changeset
|
46 | #endif |
|
0c8cfc86bdc2
Add method for activating GtkWebViewToolbar items.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32817
diff
changeset
|
47 | GTK_WEBVIEWTOOLBAR_ACTION_SMALLER, |
|
0c8cfc86bdc2
Add method for activating GtkWebViewToolbar items.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32817
diff
changeset
|
48 | GTK_WEBVIEWTOOLBAR_ACTION_FONTFACE, |
|
0c8cfc86bdc2
Add method for activating GtkWebViewToolbar items.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32817
diff
changeset
|
49 | GTK_WEBVIEWTOOLBAR_ACTION_FGCOLOR, |
|
0c8cfc86bdc2
Add method for activating GtkWebViewToolbar items.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32817
diff
changeset
|
50 | GTK_WEBVIEWTOOLBAR_ACTION_BGCOLOR, |
|
0c8cfc86bdc2
Add method for activating GtkWebViewToolbar items.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32817
diff
changeset
|
51 | GTK_WEBVIEWTOOLBAR_ACTION_CLEAR, |
|
0c8cfc86bdc2
Add method for activating GtkWebViewToolbar items.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32817
diff
changeset
|
52 | GTK_WEBVIEWTOOLBAR_ACTION_IMAGE, |
|
0c8cfc86bdc2
Add method for activating GtkWebViewToolbar items.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32817
diff
changeset
|
53 | GTK_WEBVIEWTOOLBAR_ACTION_LINK, |
|
0c8cfc86bdc2
Add method for activating GtkWebViewToolbar items.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32817
diff
changeset
|
54 | GTK_WEBVIEWTOOLBAR_ACTION_HR, |
|
0c8cfc86bdc2
Add method for activating GtkWebViewToolbar items.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32817
diff
changeset
|
55 | GTK_WEBVIEWTOOLBAR_ACTION_SMILEY, |
|
0c8cfc86bdc2
Add method for activating GtkWebViewToolbar items.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32817
diff
changeset
|
56 | GTK_WEBVIEWTOOLBAR_ACTION_ATTENTION |
|
0c8cfc86bdc2
Add method for activating GtkWebViewToolbar items.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32817
diff
changeset
|
57 | } GtkWebViewToolbarAction; |
|
0c8cfc86bdc2
Add method for activating GtkWebViewToolbar items.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32817
diff
changeset
|
58 | |
|
32806
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
59 | typedef struct _GtkWebViewToolbar GtkWebViewToolbar; |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
60 | typedef struct _GtkWebViewToolbarClass GtkWebViewToolbarClass; |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
61 | |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
62 | struct _GtkWebViewToolbar { |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
63 | GtkHBox box; |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
64 | |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
65 | GtkWidget *webview; |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
66 | }; |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
67 | |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
68 | struct _GtkWebViewToolbarClass { |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
69 | GtkHBoxClass parent_class; |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
70 | }; |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
71 | |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
72 | G_BEGIN_DECLS |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
73 | |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
74 | /** |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
75 | * Returns the GType for a GtkWebViewToolbar widget |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
76 | * |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
77 | * @return The GType for GtkWebViewToolbar widget |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
78 | */ |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
79 | GType gtk_webviewtoolbar_get_type(void); |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
80 | |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
81 | /** |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
82 | * Create a new GtkWebViewToolbar object |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
83 | * |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
84 | * @return A GtkWidget corresponding to the GtkWebViewToolbar object |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
85 | */ |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
86 | GtkWidget *gtk_webviewtoolbar_new(void); |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
87 | |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
88 | /** |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
89 | * Attach a GtkWebViewToolbar object to a GtkWebView |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
90 | * |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
91 | * @param toolbar The GtkWebViewToolbar object |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
92 | * @param webview The GtkWebView object |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
93 | */ |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
94 | void gtk_webviewtoolbar_attach(GtkWebViewToolbar *toolbar, GtkWidget *webview); |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
95 | |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
96 | /** |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
97 | * Associate the smileys from a protocol to a GtkWebViewToolbar object |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
98 | * |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
99 | * @param toolbar The GtkWebViewToolbar object |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
100 | * @param proto_id The ID of the protocol from which smileys are associated |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
101 | */ |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
102 | void gtk_webviewtoolbar_associate_smileys(GtkWebViewToolbar *toolbar, |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
103 | const char *proto_id); |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
104 | |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
105 | /** |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
106 | * Switch the active conversation for a GtkWebViewToolbar object |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
107 | * |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
108 | * @param toolbar The GtkWebViewToolbar object |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
109 | * @param conv The new conversation |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
110 | */ |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
111 | void gtk_webviewtoolbar_switch_active_conversation(GtkWebViewToolbar *toolbar, |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
112 | PurpleConversation *conv); |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
113 | |
|
33255
0c8cfc86bdc2
Add method for activating GtkWebViewToolbar items.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32817
diff
changeset
|
114 | /** |
|
0c8cfc86bdc2
Add method for activating GtkWebViewToolbar items.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32817
diff
changeset
|
115 | * Activate a GtkWebViewToolbar action |
|
0c8cfc86bdc2
Add method for activating GtkWebViewToolbar items.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32817
diff
changeset
|
116 | * |
|
0c8cfc86bdc2
Add method for activating GtkWebViewToolbar items.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32817
diff
changeset
|
117 | * @param toolbar The GtkWebViewToolbar object |
|
0c8cfc86bdc2
Add method for activating GtkWebViewToolbar items.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32817
diff
changeset
|
118 | * @param action The GtkWebViewToolbarAction |
|
0c8cfc86bdc2
Add method for activating GtkWebViewToolbar items.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32817
diff
changeset
|
119 | */ |
|
0c8cfc86bdc2
Add method for activating GtkWebViewToolbar items.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32817
diff
changeset
|
120 | void gtk_webviewtoolbar_activate(GtkWebViewToolbar *toolbar, |
|
0c8cfc86bdc2
Add method for activating GtkWebViewToolbar items.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32817
diff
changeset
|
121 | GtkWebViewToolbarAction action); |
|
0c8cfc86bdc2
Add method for activating GtkWebViewToolbar items.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32817
diff
changeset
|
122 | |
|
32806
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
123 | G_END_DECLS |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
124 | |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
125 | #endif /* _PIDGINWEBVIEWTOOLBAR_H_ */ |
|
b7a37f648129
Add a GtkWebViewToolbar. This is basically a copy of the GtkIMHtml
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
diff
changeset
|
126 |