Package: gtk

Function gtk-widget-clipboard

Lambda List

gtk-widget-clipboard (widget selection)

Arguments

widget -- a gtk-widget object
selection -- an atom as a string which identifies the clipboard to use, "CLIPBOARD" gives the default clipboard, another common value is "PRIMARY", which gives the primary X selection

Return Value

The appropriate gtk-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.

Details

Returns the clipboard object for the given selection to be used with the widget. The widget argument must have a gdk-display object associated with it, so must be attached to a toplevel window.
 

See also

*2021-10-31