Function
GtkClipboardRichTextReceivedFunc
since: 2.10
Declaration
void
(* GtkClipboardRichTextReceivedFunc) (
GtkClipboard* clipboard,
GdkAtom format,
const guint8* text,
gsize length,
gpointer data
)
Description [src]
A function to be called when the results of
gtk_clipboard_request_rich_text() are received, or when the request fails.
Available since: 2.10
Parameters
clipboard-
Type:
GtkClipboardThe
GtkClipboard.The data is owned by the caller of the function. format-
Type:
GdkAtomThe format of the rich text.
text-
Type:
const guint8*The rich text received, as a UTF-8 encoded string, or
NULLif retrieving the data failed.The argument can be NULL.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. length-
Type:
gsizeLength of the text.
data-
Type:
gpointerThe
user_datasupplied to gtk_clipboard_request_rich_text().The argument can be NULL.The data is owned by the caller of the function.