Table of Contents

Class SearchSettings

Namespace
GtkSource
Assembly
GtkSource-5.dll
public class SearchSettings : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
SearchSettings
Implements
Inherited Members

Constructors

SearchSettings(params ConstructArgument[])

[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public SearchSettings(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

SearchSettings(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected SearchSettings(CreationData data)

Parameters

data CreationData

SearchSettings(SearchSettingsHandle)

protected SearchSettings(SearchSettingsHandle handle)

Parameters

handle SearchSettingsHandle

Fields

AtWordBoundariesPropertyDefinition

public static readonly Property<bool, SearchSettings> AtWordBoundariesPropertyDefinition

Field Value

Property<bool, SearchSettings>

CaseSensitivePropertyDefinition

public static readonly Property<bool, SearchSettings> CaseSensitivePropertyDefinition

Field Value

Property<bool, SearchSettings>

RegexEnabledPropertyDefinition

public static readonly Property<bool, SearchSettings> RegexEnabledPropertyDefinition

Field Value

Property<bool, SearchSettings>

SearchTextPropertyDefinition

public static readonly Property<string?, SearchSettings> SearchTextPropertyDefinition

Field Value

Property<string, SearchSettings>

VisibleOnlyPropertyDefinition

public static readonly Property<bool, SearchSettings> VisibleOnlyPropertyDefinition

Field Value

Property<bool, SearchSettings>

WrapAroundPropertyDefinition

public static readonly Property<bool, SearchSettings> WrapAroundPropertyDefinition

Field Value

Property<bool, SearchSettings>

Properties

AtWordBoundaries

public bool AtWordBoundaries { get; set; }

Property Value

bool

CaseSensitive

public bool CaseSensitive { get; set; }

Property Value

bool

RegexEnabled

public bool RegexEnabled { get; set; }

Property Value

bool

SearchText

public string? SearchText { get; set; }

Property Value

string

VisibleOnly

public bool VisibleOnly { get; set; }

Property Value

bool

WrapAround

public bool WrapAround { get; set; }

Property Value

bool

Methods

GetAtWordBoundaries()

public bool GetAtWordBoundaries()

Returns

bool

GetCaseSensitive()

public bool GetCaseSensitive()

Returns

bool

GetGType()

public static Type GetGType()

Returns

Type

GetRegexEnabled()

public bool GetRegexEnabled()

Returns

bool

GetSearchText()

public string? GetSearchText()

Returns

string

GetVisibleOnly()

[Version("5.12")]
public bool GetVisibleOnly()

Returns

bool

GetWrapAround()

public bool GetWrapAround()

Returns

bool

New()

public static SearchSettings New()

Returns

SearchSettings

NewFromPointer(nint, bool)

Creates a new managed SearchSettings instance for a given pointer.

public static SearchSettings NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

SearchSettings

NewWithProperties(ConstructArgument[])

Creates a new SearchSettings and sets the properties specified by the construct arguments.

public static SearchSettings NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

SearchSettings

SetAtWordBoundaries(bool)

public void SetAtWordBoundaries(bool atWordBoundaries)

Parameters

atWordBoundaries bool

SetCaseSensitive(bool)

public void SetCaseSensitive(bool caseSensitive)

Parameters

caseSensitive bool

SetRegexEnabled(bool)

public void SetRegexEnabled(bool regexEnabled)

Parameters

regexEnabled bool

SetSearchText(string?)

public void SetSearchText(string? searchText)

Parameters

searchText string

SetVisibleOnly(bool)

[Version("5.12")]
public void SetVisibleOnly(bool visibleOnly)

Parameters

visibleOnly bool

SetWrapAround(bool)

public void SetWrapAround(bool wrapAround)

Parameters

wrapAround bool