Gtk.Clipboard.SetWithOwner Method
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.

Syntax

public bool SetWithOwner (TargetEntry[] targets, ClipboardGetFunc get_func, ClipboardClearFunc clear_func, GLib.Object owner)

Parameters

targets
a Gtk.TargetEntry[]
get_func
a Gtk.ClipboardGetFunc
clear_func
a Gtk.ClipboardClearFunc
owner
a GLib.Object

Returns

a bool

Remarks

The difference between this function and Clipboard.SetWithData() is that a GLib.Object is passed in.

Requirements

Namespace: Gtk
Assembly: gtk-sharp (in gtk-sharp.dll)