(* 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


clipboard GtkClipboard

The GtkClipboard.

 The data is owned by the caller of the function.
format GdkAtom

The format of the rich text.

text 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 gsize

Length of the text.

data gpointer

The user_data supplied to gtk_clipboard_request_rich_text().

 The argument can be NULL.