Function

GtkClipboardTextReceivedFunc

Declaration

void
(* GtkClipboardTextReceivedFunc) (
  GtkClipboard* clipboard,
  const gchar* text,
  gpointer data
)

Description [src]

A function to be called when the results of gtk_clipboard_request_text() are received, or when the request fails.

Parameters

clipboard GtkClipboard
 

The GtkClipboard.

 The data is owned by the caller of the function.
text const gchar*
 

The 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 string is a NUL terminated UTF-8 string.
data gpointer
 

The user_data supplied to gtk_clipboard_request_text().