set_search_text


Description:

public void set_search_text (string? search_text)

Sets the text to search.

If search_text is null or is empty, the search will be disabled. A copy of search_text will be made, so you can safely free search_text after a call to this function.

You may be interested to call [func@utils_unescape_search_text] before this function.

Parameters:

this

a SearchSettings.

search_text

the nul-terminated text to search, or null to disable the search.




2022 vala-language.org