GtkClipboard* gtk_widget_get_clipboard ( GtkWidget* widget, GdkAtom selection )
Returns the clipboard object for the given selection to
be used with
widget must have a
associated with it, so must be attached to a toplevel window.
The appropriate clipboard object. If no clipboard already exists, a new one will be created. Once a clipboard object has been created, it is persistent for all time.
|The data is owned by the instance.|