Package: gtk

Function gtk:clipboard-wait-is-target-available

Lambda List

gtk:clipboard-wait-is-target-available (clipboard target)

Arguments

clipboard -- a gtk:clipboard object
target -- a gdk:atom-as-string string indicating which target to look for

Return Value

True if the target is available, false otherwise.

Details

Checks if a clipboard supports pasting data of a given type. This function can be used to determine if a "Paste" menu item should be insensitive or not.

If you want to see if there is text available on the clipboard, use the gtk:clipboard-wait-is-text-available function instead.
 

See also

#2023-3-16