if retrieving the given target failed. If non-null, this value must be freed with [gtk.selection_data.SelectionData.free] when you are finished with it.
Clipboard.waitForContents
gtk.selection_data.SelectionData waitForContents(gdk.atom.Atom target)Requests the contents of the clipboard using the given target. This function waits for the data to be received using the main loop, so events, timeouts, etc, may be dispatched during the wait.
Parameters
target | an atom representing the form into which the clipboard owner should convert the selection. |
Returns
a newly-allocated #GtkSelectionData object or null