Class

GtkSourceSearchSettings

Description

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 GtkSourceSearchContexts.

Ancestors

  • GObject

Constructors

gtk_source_search_settings_new

Creates a new search settings object.

Instance methods

gtk_source_search_settings_get_search_text

Gets the text to search.

gtk_source_search_settings_get_wrap_around
No description available.
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.

Class structure

struct GtkSourceSearchSettingsClass {
  GObjectClass parent_class;
  
}
Class members
parent_class
GObjectClass
  No description available.