Function

StClipboardCallbackFunc

Declaration

void
(* StClipboardCallbackFunc) (
  StClipboard* clipboard,
  const gchar* text,
  gpointer user_data
)

Description [src]

Callback function called when text is retrieved from the clipboard.

Parameters

clipboard

Type: StClipboard

A StClipboard.

The data is owned by the caller of the function.
text

Type: const gchar*

Text from the clipboard.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
user_data

Type: gpointer

User data.

The argument can be NULL.
The data is owned by the caller of the function.