@get


Description:

public static unowned Clipboard @get (Atom selection)

Returns the clipboard object for the given selection.

See get_for_display for complete details.

Parameters:

selection

a Atom which identifies the clipboard to use

Returns:

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 and, since it is owned by GTK+, must not be freed or unreffed.




2022 vala-language.org