Method

GtkSourceSearchSettingsget_search_text

Declaration

const gchar*
gtk_source_search_settings_get_search_text (
  GtkSourceSearchSettings* settings
)

Description

Gets the text to search.

The return value must not be freed.

You may be interested to call gtk_source_utils_escape_search_text() after this function.

Return value

Returns: utf8
 

The text to search, or NULL if the search is disabled.

 The data is owned by the instance.
 The return value can be NULL.
 The string is a NUL terminated UTF-8 string.