Mercurial > pidgin
view 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 |
line wrap: on
line source
/** @page gtkimhtml-signals GtkIMHtml Signals @signals @signal url_clicked @signal format_buttons_update @signal format_function_clear @signal format_function_toggle @signal format_function_update @endsignals <hr> @signaldef url_clicked @signalproto void (*url_clicked)(GtkIMHtml *imhtml, char *uri); @endsignalproto @signaldesc Emitted when a link is clicked @param imhtml The GtkIMHtml emitting the signal. @param url The uri. @endsignaldef @signaldef format_buttons_update @signalproto void (*format_buttons_update)(GtkIMHtml *imhtml, GtkIMHtmlButtons buttons, gpointer data); @endsignalproto @signaldesc Emitted when allowed formatting has changed. @param imhtml The GtkIMHtml emitting the signal. @param buttons GtkIMHtmlButtons for the GtkIMHtml. @param data User defined data. @endsignaldef @signaldef format_function_clear @signalproto void (*format_function_clear)(GtkIMHtml *imhtml, gpointer data); @endsignalproto @signaldesc Emitted when clearing the formatting for the GtkIMHtml. @param imhtml The GtkIMHtml emitting the signal. @param data User defined data. @endsignaldef @signaldef format_function_toggle @signalproto void (*format_function_toggle)(GtkIMHtml *imhtml, GtkIMHtmlButtons buttons, gpointer data); @endsignalproto @signaldesc Emitted when a format has been toggled. @param imhtml The GtkIMHtml emitting the signal. @param buttons GtkIMHtmlButtons for the GtkIMHtml. @param data User defined data. @endsignaldef @signaldef format_function_update @signalproto void (*format_function_update)(GtkIMHtml *imhtml, gpointer data); @endsignalproto @signaldesc Emitted when the cursor has moved and formatting has changed @param imhtml The GtkIMHtml emitting the signal. @param data User defined data. @endsignaldef */ // vim: syntax=c tw=75 et