Method

GtkClipboardset_can_store

since: 2.6

Declaration [src]

void
gtk_clipboard_set_can_store (
  GtkClipboard* clipboard,
  const GtkTargetEntry* targets,
  gint n_targets
)

Description [src]

Hints that the clipboard data should be stored somewhere when the application exits or when gtk_clipboard_store () is called.

This value is reset when the clipboard owner changes. Where the clipboard data is stored is platform dependent, see gdk_display_store_clipboard () for more information.

Available since: 2.6

Parameters

targets

Type: An array of GtkTargetEntry

Array containing information about which forms should be stored or NULL to indicate that all forms should be stored.

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

Type: gint

Number of elements in targets.