Terminal.getTextIncludeTrailingSpaces

Extracts a view of the visible part of the terminal. If @is_selected is not %NULL, characters will only be read if @is_selected returns %TRUE after being passed the column and row, respectively. A #VteCharAttributes structure is added to @attributes for each byte added to the returned string detailing the character's position, colors, and other characteristics. This function differs from vte_terminal_get_text() in that trailing spaces at the end of lines are included.

class Terminal
string
getTextIncludeTrailingSpaces

Parameters

isSelected VteSelectionFunc

a #VteSelectionFunc callback

userData void*

user data to be passed to the callback

attributes ArrayG

location for storing text attributes

Return Value

Type: string

a newly allocated text string, or %NULL.

Meta