Method
VteTerminalget_text_selected_full
since: 0.72
Declaration [src]
char*
vte_terminal_get_text_selected_full (
VteTerminal* terminal,
VteFormat format,
gsize* length
)
Description [src]
Gets the currently selected text in the format specified by format
.
Available since: 0.72
Parameters
format
-
Type:
VteFormat
The
VteFormat
to use. length
-
Type:
gsize*
A pointer to a #gsize to store the string length.
The argument will be set by the function. The argument can be NULL
.
Return value
Type: char*
A newly allocated string containing the selected text, or NULL
if there is no selection or the format is not supported.
The caller of the method takes ownership of the data, and is responsible for freeing it. |
The return value can be NULL . |
The value is a NUL terminated UTF-8 string. |