RGtk2 (version 2.20.31)

gtkClipboardSetWithData: gtkClipboardSetWithData

Description

Virtually sets the contents of the specified clipboard by providing a list of supported formats for the clipboard data and a function to call to get the actual data when it is requested.

Usage

gtkClipboardSetWithData(object, targets, get.func, user.data = NULL)

Arguments

object
targets
array containing information about the available forms for the clipboard data
get.func
function to call to get the actual clipboard data
user.data
user data to pass to get.func and clear.func.

Value

TRUE if setting the clipboard data succeeded. If setting the clipboard data failed the provided callback functions will be ignored.