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
-
Type:
GtkClipboard
The
GtkClipboard
.The data is owned by the caller of the function. text
-
Type:
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 value is a NUL terminated UTF-8 string. data
-
Type:
gpointer
The
user_data
supplied to gtk_clipboard_request_text().The argument can be NULL
.The data is owned by the caller of the function.