Method

GntClipboardget_string

Declaration [src]

gchar*
gnt_clipboard_get_string (
  GntClipboard* clip
)

Description [src]

Get the current text from the clipboard.

Return value

Type: gchar*

A copy of the string in the clipboard. The caller should free the returned value.

The caller of the method takes ownership of the data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.