pidgin/gtkutils.h

changeset 32577
e32ba7559843
parent 32554
0d844fac6679
child 32604
8d0a34f26244
equal deleted inserted replaced
32576:06ed3d7e9e72 32577:e32ba7559843
110 110
111 /** 111 /**
112 * Create an GtkWebView widget and associated GtkIMHtmlToolbar widget. This 112 * Create an GtkWebView widget and associated GtkIMHtmlToolbar widget. This
113 * function puts both widgets in a nice GtkFrame. They're separated by an 113 * function puts both widgets in a nice GtkFrame. They're separated by an
114 * attractive GtkSeparator. 114 * attractive GtkSeparator.
115 * FIXME: There is no editable GtkWebView yet. 115 * TODO WEBKIT: editable isn't supported yet
116 * 116 *
117 * @param editable @c TRUE if this webview should be editable. If this is 117 * @param editable @c TRUE if this webview should be editable. If this is
118 * @c FALSE, then the toolbar will NOT be created. If this webview 118 * @c FALSE, then the toolbar will NOT be created. If this webview
119 * should be read-only at first, but may become editable later, then 119 * should be read-only at first, but may become editable later, then
120 * pass in @c TRUE here and then manually call gtk_webview_set_editable() 120 * pass in @c TRUE here and then manually call gtk_webview_set_editable()
124 * @param toolbar_ret A pointer to a pointer to a GtkWidget. If editable is 124 * @param toolbar_ret A pointer to a pointer to a GtkWidget. If editable is
125 * TRUE then this will be set to the toolbar when this function exits. 125 * TRUE then this will be set to the toolbar when this function exits.
126 * Otherwise this will be set to @c NULL. 126 * Otherwise this will be set to @c NULL.
127 * @param sw_ret This will be filled with a pointer to the scrolled window 127 * @param sw_ret This will be filled with a pointer to the scrolled window
128 * widget which contains the webview. 128 * widget which contains the webview.
129 *
129 * @return The GtkFrame containing the toolbar and webview. 130 * @return The GtkFrame containing the toolbar and webview.
130 */ 131 */
131 GtkWidget *pidgin_create_webview(gboolean editable, GtkWidget **webview_ret, GtkWidget **toolbar_ret, GtkWidget **sw_ret); 132 GtkWidget *pidgin_create_webview(gboolean editable, GtkWidget **webview_ret, GtkWidget **toolbar_ret, GtkWidget **sw_ret);
132 133
133 /** 134 /**

mercurial