| 890 |
890 |
| 891 /** |
891 /** |
| 892 * Register a protocol with the GtkIMHtml widget. Registering a protocol would |
892 * Register a protocol with the GtkIMHtml widget. Registering a protocol would |
| 893 * allow certain text to be clickable. |
893 * allow certain text to be clickable. |
| 894 * |
894 * |
| 895 * @param name The name of the protocol (e.g. http) |
895 * @param name The name of the protocol (e.g. http://) |
| 896 * @param activate The callback to trigger when the protocol text is clicked. |
896 * @param activate The callback to trigger when the protocol text is clicked. |
| 897 * Removes any current protocol definition if @c NULL. The |
897 * Removes any current protocol definition if @c NULL. The |
| 898 * callback should return @c TRUE if the link was activated |
898 * callback should return @c TRUE if the link was activated |
| 899 * properly, @c FALSE otherwise. |
899 * properly, @c FALSE otherwise. |
| 900 * @param context_menu The callback to trigger when the context menu is popped |
900 * @param context_menu The callback to trigger when the context menu is popped |