| 77 |
77 |
| 78 |
78 |
| 79 G_BEGIN_DECLS |
79 G_BEGIN_DECLS |
| 80 |
80 |
| 81 /** |
81 /** |
| 82 * Sets up a gtkimhtml widget, loads it with smileys, and sets the |
|
| 83 * default signal handlers. |
|
| 84 * |
|
| 85 * @param imhtml The gtkimhtml widget to setup. |
|
| 86 */ |
|
| 87 void pidgin_setup_imhtml(GtkWidget *imhtml); |
|
| 88 |
|
| 89 /** |
|
| 90 * Create an GtkIMHtml widget and associated GtkIMHtmlToolbar widget. This |
|
| 91 * functions puts both widgets in a nice GtkFrame. They're separate by an |
|
| 92 * attractive GtkSeparator. |
|
| 93 * |
|
| 94 * @param editable @c TRUE if this imhtml should be editable. If this is @c FALSE, |
|
| 95 * then the toolbar will NOT be created. If this imthml should be |
|
| 96 * read-only at first, but may become editable later, then pass in |
|
| 97 * @c TRUE here and then manually call gtk_imhtml_set_editable() later. |
|
| 98 * @param imhtml_ret A pointer to a pointer to a GtkWidget. This pointer |
|
| 99 * will be set to the imhtml when this function exits. |
|
| 100 * @param toolbar_ret A pointer to a pointer to a GtkWidget. If editable is |
|
| 101 * TRUE then this will be set to the toolbar when this function exits. |
|
| 102 * Otherwise this will be set to @c NULL. |
|
| 103 * @param sw_ret This will be filled with a pointer to the scrolled window |
|
| 104 * widget which contains the imhtml. |
|
| 105 * @return The GtkFrame containing the toolbar and imhtml. |
|
| 106 */ |
|
| 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 |
82 * Sets up a gtkwebview widget, loads it with smileys, and sets the |
| 111 * default signal handlers. |
83 * default signal handlers. |
| 112 * |
84 * |
| 113 * @param webview The gtkwebview widget to setup. |
85 * @param webview The gtkwebview widget to setup. |
| 114 */ |
86 */ |
| 115 void pidgin_setup_webview(GtkWidget *webview); |
87 void pidgin_setup_webview(GtkWidget *webview); |
| 116 |
88 |
| 117 /** |
89 /** |
| 118 * Create an GtkWebView widget and associated GtkIMHtmlToolbar widget. This |
90 * Create an GtkWebView widget and associated GtkWebViewToolbar widget. This |
| 119 * function puts both widgets in a nice GtkFrame. They're separated by an |
91 * function puts both widgets in a nice GtkFrame. They're separated by an |
| 120 * attractive GtkSeparator. |
92 * attractive GtkSeparator. |
| 121 * |
93 * |
| 122 * @param editable @c TRUE if this webview should be editable. If this is |
94 * @param editable @c TRUE if this webview should be editable. If this is |
| 123 * @c FALSE, then the toolbar will NOT be created. If this webview |
95 * @c FALSE, then the toolbar will NOT be created. If this webview |