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:
GtkClipboard
The
GtkClipboard
.The data is owned by the caller of the function. format
-
Type:
GdkAtom
The format of the rich text.
text
-
Type:
const guint8*
The rich text received, as a UTF-8 encoded string, or
NULL
if 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:
gsize
Length of the text.
data
-
Type:
gpointer
The
user_data
supplied to gtk_clipboard_request_rich_text().The argument can be NULL
.The data is owned by the caller of the function.