get_text


Description:

[ Version ( deprecated = true , deprecated_since = "0.76" ) ]
public string? get_text (SelectionFunc? is_selected, out Array<CharAttributes?>? attributes)

Warning: get_text is deprecated since 0.76.

Extracts a view of the visible part of the terminal.

Note:

Use get_text_format instead

This method is unaware of BiDi. The columns returned in attributes are logical columns.

Note: since 0.68, passing a non-null attributes parameter is deprecated. Starting with 0.72, passing a non-null attributes parameter will make this function itself return null. Since 0.72, passing a non-null is_selected parameter will make this function itself return null.

Parameters:

this

a Terminal

is_selected

a SelectionFunc callback. Deprecated: 0.44: Always pass null here.

attributes

location for storing text attributes. Deprecated: 0.68: Always pass null here.

user_data

user data to be passed to the callback

Returns:

a newly allocated text string, or null.