Mercurial > pidgin
comparison pidgin/gtkutils.h @ 32454:126420f99f6f
Add a WebView setup function.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Wed, 04 Jan 2012 23:56:07 +0000 |
parents | 34f778db624f |
children |
comparison
equal
deleted
inserted
replaced
32453:215f7f125f4d | 32454:126420f99f6f |
---|---|
103 * @param sw_ret This will be filled with a pointer to the scrolled window | 103 * @param sw_ret This will be filled with a pointer to the scrolled window |
104 * widget which contains the imhtml. | 104 * widget which contains the imhtml. |
105 * @return The GtkFrame containing the toolbar and imhtml. | 105 * @return The GtkFrame containing the toolbar and imhtml. |
106 */ | 106 */ |
107 GtkWidget *pidgin_create_imhtml(gboolean editable, GtkWidget **imhtml_ret, GtkWidget **toolbar_ret, GtkWidget **sw_ret); | 107 GtkWidget *pidgin_create_imhtml(gboolean editable, GtkWidget **imhtml_ret, GtkWidget **toolbar_ret, GtkWidget **sw_ret); |
108 | |
109 /** | |
110 * Sets up a gtkwebview widget, loads it with smileys, and sets the | |
111 * default signal handlers. | |
112 * | |
113 * @param webview The gtkwebview widget to setup. | |
114 */ | |
115 void pidgin_setup_webview(GtkWidget *webview); | |
108 | 116 |
109 /** | 117 /** |
110 * Create an GtkWebView widget and associated GtkIMHtmlToolbar widget. This | 118 * Create an GtkWebView widget and associated GtkIMHtmlToolbar widget. This |
111 * function puts both widgets in a nice GtkFrame. They're separated by an | 119 * function puts both widgets in a nice GtkFrame. They're separated by an |
112 * attractive GtkSeparator. | 120 * attractive GtkSeparator. |