Mercurial > pidgin
annotate doc/gtkimhtml-signals.dox @ 17883:9a19c46adf66
The server's ad-hoc commands are now listed in the account's action menu. Note that this requires an additional field in the _PurplePluginAction struct. There's no other way, since there was no way to supply user_data, and dynamically created functions are not supported by C. This should be fine, since that struct is only malloced in purple_plugin_action_new, which is part of the core. Applications have to either pass the struct unmodified, or restore the user_data pointer if the action is recreated when necessary (as is the case in Adium).
author | Andreas Monitzer <pidgin@monitzer.com> |
---|---|
date | Mon, 25 Jun 2007 19:08:16 +0000 |
parents | 5bc3d67ceb24 |
children | e0613cf8c493 |
rev | line source |
---|---|
9001 | 1 /** @page gtkimhtml-signals GtkIMHtml Signals |
2 | |
3 @signals | |
4 @signal url_clicked | |
5 @signal format_buttons_update | |
6 @signal format_function_clear | |
7 @signal format_function_toggle | |
8 @signal format_function_update | |
9 @endsignals | |
10 | |
11 <hr> | |
12 | |
13 @signaldef url_clicked | |
14 @signalproto | |
15 void (*url_clicked)(GtkIMHtml *imhtml, char *uri); | |
16 @endsignalproto | |
17 @signaldesc Emitted when a link is clicked | |
18 @param imhtml The GtkIMHtml emitting the signal. | |
19 @param url The uri. | |
20 @endsignaldef | |
21 | |
22 @signaldef format_buttons_update | |
23 @signalproto | |
24 void (*format_buttons_update)(GtkIMHtml *imhtml, GtkIMHtmlButtons buttons, gpointer data); | |
25 @endsignalproto | |
26 @signaldesc Emitted when allowed formatting has changed. | |
27 @param imhtml The GtkIMHtml emitting the signal. | |
28 @param buttons GtkIMHtmlButtons for the GtkIMHtml. | |
29 @param data User defined data. | |
30 @endsignaldef | |
31 | |
32 @signaldef format_function_clear | |
33 @signalproto | |
34 void (*format_function_clear)(GtkIMHtml *imhtml, gpointer data); | |
35 @endsignalproto | |
36 @signaldesc Emitted when clearing the formatting for the GtkIMHtml. | |
37 @param imhtml The GtkIMHtml emitting the signal. | |
38 @param data User defined data. | |
39 @endsignaldef | |
40 | |
41 @signaldef format_function_toggle | |
42 @signalproto | |
43 void (*format_function_toggle)(GtkIMHtml *imhtml, GtkIMHtmlButtons buttons, gpointer data); | |
44 @endsignalproto | |
45 @signaldesc Emitted when a format has been toggled. | |
46 @param imhtml The GtkIMHtml emitting the signal. | |
47 @param buttons GtkIMHtmlButtons for the GtkIMHtml. | |
48 @param data User defined data. | |
49 @endsignaldef | |
50 | |
51 @signaldef format_function_update | |
52 @signalproto | |
53 void (*format_function_update)(GtkIMHtml *imhtml, gpointer data); | |
54 @endsignalproto | |
55 @signaldesc Emitted when the cursor has moved and formatting has changed | |
56 @param imhtml The GtkIMHtml emitting the signal. | |
57 @param data User defined data. | |
58 @endsignaldef | |
59 */ | |
12291
5bc3d67ceb24
[gaim-migrate @ 14595]
Etan Reisner <pidgin@unreliablesource.net>
parents:
9001
diff
changeset
|
60 // vim: syntax=c tw=75 et |