gtkClipboardWaitIsRichTextAvailable {RGtk2}R Documentation

gtkClipboardWaitIsRichTextAvailable

Description

Test to see if there is rich text available to be pasted This is done by requesting the TARGETS atom and checking if it contains any of the supported rich text targets. This function waits for the data to be received using the main loop, so events, timeouts, etc, may be dispatched during the wait.

Usage

gtkClipboardWaitIsRichTextAvailable(object, buffer)

Arguments

object [GtkClipboard] a GtkClipboard
buffer [GtkTextBuffer] a GtkTextBuffer

Details

This function is a little faster than calling gtkClipboardWaitForRichText since it doesn't need to retrieve the actual text.

Since 2.10

Value

[logical] TRUE is there is rich text available, FALSE otherwise.

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]