Function

GtkClipboardTargetsReceivedFunc

since: 2.4

Declaration

void
(* GtkClipboardTargetsReceivedFunc) (
  GtkClipboard* clipboard,
  GdkAtom* atoms,
  gint n_atoms,
  gpointer data
)

Description [src]

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

Available since: 2.4

Parameters

clipboard

Type: GtkClipboard

The GtkClipboard.

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

Type: An array of GdkAtom

The supported targets, as array of GdkAtom, or NULL if retrieving the data failed.

The argument can be NULL.
The length of the array is specified in the n_atoms argument.
The data is owned by the caller of the function.
n_atoms

Type: gint

The length of the atoms array.

data

Type: gpointer

The user_data supplied to gtk_clipboard_request_targets().

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