| |
1 <?xml version='1.0' encoding="ISO-8859-1"?> |
| |
2 <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" |
| |
3 "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [ |
| |
4 ]> |
| |
5 <chapter id="chapter-signals-gtkimhtml"> |
| |
6 <title>IMHtml signals</title> |
| |
7 |
| |
8 <programlisting> |
| |
9 @signals |
| |
10 @signal url_clicked |
| |
11 @signal format_buttons_update |
| |
12 @signal format_function_clear |
| |
13 @signal format_function_toggle |
| |
14 @signal format_function_update |
| |
15 @signal paste |
| |
16 @endsignals |
| |
17 |
| |
18 @see gtkimhtml.h |
| |
19 |
| |
20 @signaldef url_clicked |
| |
21 @signalproto |
| |
22 void (*url_clicked)(GtkIMHtml *imhtml, char *uri); |
| |
23 @endsignalproto |
| |
24 @signaldesc Emitted when a link is clicked |
| |
25 @param imhtml The GtkIMHtml emitting the signal. |
| |
26 @param url The uri. |
| |
27 @endsignaldef |
| |
28 |
| |
29 @signaldef format_buttons_update |
| |
30 @signalproto |
| |
31 void (*format_buttons_update)(GtkIMHtml *imhtml, GtkIMHtmlButtons buttons, gpointer data); |
| |
32 @endsignalproto |
| |
33 @signaldesc Emitted when allowed formatting has changed. |
| |
34 @param imhtml The GtkIMHtml emitting the signal. |
| |
35 @param buttons GtkIMHtmlButtons for the GtkIMHtml. |
| |
36 @param data User defined data. |
| |
37 @endsignaldef |
| |
38 |
| |
39 @signaldef format_function_clear |
| |
40 @signalproto |
| |
41 void (*format_function_clear)(GtkIMHtml *imhtml, gpointer data); |
| |
42 @endsignalproto |
| |
43 @signaldesc Emitted when clearing the formatting for the GtkIMHtml. |
| |
44 @param imhtml The GtkIMHtml emitting the signal. |
| |
45 @param data User defined data. |
| |
46 @endsignaldef |
| |
47 |
| |
48 @signaldef format_function_toggle |
| |
49 @signalproto |
| |
50 void (*format_function_toggle)(GtkIMHtml *imhtml, GtkIMHtmlButtons buttons, gpointer data); |
| |
51 @endsignalproto |
| |
52 @signaldesc Emitted when a format has been toggled. |
| |
53 @param imhtml The GtkIMHtml emitting the signal. |
| |
54 @param buttons GtkIMHtmlButtons for the GtkIMHtml. |
| |
55 @param data User defined data. |
| |
56 @endsignaldef |
| |
57 |
| |
58 @signaldef format_function_update |
| |
59 @signalproto |
| |
60 void (*format_function_update)(GtkIMHtml *imhtml, gpointer data); |
| |
61 @endsignalproto |
| |
62 @signaldesc Emitted when the cursor has moved and formatting has changed |
| |
63 @param imhtml The GtkIMHtml emitting the signal. |
| |
64 @param data User defined data. |
| |
65 |
| |
66 @signaldef paste |
| |
67 @signalproto |
| |
68 void (*paste) (GtkIMHtml *imhtml, char *format) |
| |
69 @endsignalproto |
| |
70 @signaldesc Emitted when paste from the clipboard is requested. |
| |
71 @param imhtml The GtkIMHtml emitting the signal. |
| |
72 @param format If 'text', then the formatting of the clipboard content |
| |
73 will be removed before pasting. If empty or 'html', then |
| |
74 the formatting will not be removed. Any other value for |
| |
75 this parameter is ignored and nothing is pasted. |
| |
76 @endsignaldef |
| |
77 |
| |
78 </programlisting> |
| |
79 </chapter> |