comparison doc/gtkimhtml-signals.dox @ 30030:ffb8cd9fb528

Allow binding 'Paste as Plain Text'. This should be useful when people paste non-plaintext text as plaintext text often enough that right-click -> 'Paste as Plain Text' isn't good enough.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Mon, 22 Mar 2010 20:15:55 +0000
parents e0613cf8c493
children a1b4795104eb
comparison
equal deleted inserted replaced
30029:bab8917b8b5c 30030:ffb8cd9fb528
4 @signal url_clicked 4 @signal url_clicked
5 @signal format_buttons_update 5 @signal format_buttons_update
6 @signal format_function_clear 6 @signal format_function_clear
7 @signal format_function_toggle 7 @signal format_function_toggle
8 @signal format_function_update 8 @signal format_function_update
9 @paste
9 @endsignals 10 @endsignals
10 11
11 @see gtkimhtml.h 12 @see gtkimhtml.h
12 13
13 <hr> 14 <hr>
55 void (*format_function_update)(GtkIMHtml *imhtml, gpointer data); 56 void (*format_function_update)(GtkIMHtml *imhtml, gpointer data);
56 @endsignalproto 57 @endsignalproto
57 @signaldesc Emitted when the cursor has moved and formatting has changed 58 @signaldesc Emitted when the cursor has moved and formatting has changed
58 @param imhtml The GtkIMHtml emitting the signal. 59 @param imhtml The GtkIMHtml emitting the signal.
59 @param data User defined data. 60 @param data User defined data.
61
62 @signaldef paste
63 @signalproto
64 void (*paste) (GtkIMHtml *imhtml, char *format)
65 @endsignalproto
66 @signaldef 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.
60 @endsignaldef 72 @endsignaldef
61 */ 73 */
62 // vim: syntax=c.doxygen tw=75 et 74 // vim: syntax=c.doxygen tw=75 et