1 /** @page gtkimhtml-signals GtkIMHtml Signals
5 @signal format_buttons_update
6 @signal format_function_clear
7 @signal format_function_toggle
8 @signal format_function_update
16 @signaldef url_clicked
18 void (*url_clicked)(GtkIMHtml *imhtml, char *uri);
20 @signaldesc Emitted when a link is clicked
21 @param imhtml The GtkIMHtml emitting the signal.
25 @signaldef format_buttons_update
27 void (*format_buttons_update)(GtkIMHtml *imhtml, GtkIMHtmlButtons buttons, gpointer data);
29 @signaldesc Emitted when allowed formatting has changed.
30 @param imhtml The GtkIMHtml emitting the signal.
31 @param buttons GtkIMHtmlButtons for the GtkIMHtml.
32 @param data User defined data.
35 @signaldef format_function_clear
37 void (*format_function_clear)(GtkIMHtml *imhtml, gpointer data);
39 @signaldesc Emitted when clearing the formatting for the GtkIMHtml.
40 @param imhtml The GtkIMHtml emitting the signal.
41 @param data User defined data.
44 @signaldef format_function_toggle
46 void (*format_function_toggle)(GtkIMHtml *imhtml, GtkIMHtmlButtons buttons, gpointer data);
48 @signaldesc Emitted when a format has been toggled.
49 @param imhtml The GtkIMHtml emitting the signal.
50 @param buttons GtkIMHtmlButtons for the GtkIMHtml.
51 @param data User defined data.
54 @signaldef format_function_update
56 void (*format_function_update)(GtkIMHtml *imhtml, gpointer data);
58 @signaldesc Emitted when the cursor has moved and formatting has changed
59 @param imhtml The GtkIMHtml emitting the signal.
60 @param data User defined data.
64 void (*paste) (GtkIMHtml *imhtml, char *format)
66 @signaldesc Emitted when paste from the clipboard is requested.
67 @param imhtml The GtkIMHtml emitting the signal.
68 @param format If 'text', then the formatting of the clipboard content
69 will be removed before pasting. If empty or 'html', then
70 the formatting will not be removed. Any other value for
71 this parameter is ignored and nothing is pasted.
74 // vim: syntax=c.doxygen tw=75 et