Class
GtkSourceSearchSettings
Description [src]
class GtkSource.SearchSettings : GObject.Object {
parent_instance: GObject
}
Search settings.
A GtkSourceSearchSettings
object represents the settings of a search. The
search settings can be associated with one or several
GtkSourceSearchContext
s.
Constructors
gtk_source_search_settings_new
Creates a new search settings object.
Instance methods
gtk_source_search_settings_get_at_word_boundaries
gtk_source_search_settings_get_case_sensitive
gtk_source_search_settings_get_regex_enabled
gtk_source_search_settings_get_search_text
Gets the text to search.
gtk_source_search_settings_get_wrap_around
gtk_source_search_settings_set_at_word_boundaries
Change whether the search is done at word boundaries.
gtk_source_search_settings_set_case_sensitive
Enables or disables the case sensitivity for the search.
gtk_source_search_settings_set_regex_enabled
Enables or disables whether to search by regular expressions.
gtk_source_search_settings_set_search_text
Sets the text to search.
gtk_source_search_settings_set_wrap_around
Enables or disables the wrap around search.
Properties
GtkSource.SearchSettings:at-word-boundaries
If TRUE
, a search match must start and end a word. The match can
span multiple words.
GtkSource.SearchSettings:case-sensitive
Whether the search is case sensitive.
GtkSource.SearchSettings:regex-enabled
Search by regular expressions with
GtkSourceSearchSettings:search-text
as the pattern.
GtkSource.SearchSettings:search-text
A search string, or NULL
if the search is disabled.
GtkSource.SearchSettings:wrap-around
For a forward search, continue at the beginning of the buffer if no search occurrence is found. For a backward search, continue at the end of the buffer.
Signals
Signals inherited from GObject (1)
GObject.Object::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.