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
constructArgumentsConstructArgument[]
SearchSettings(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected SearchSettings(CreationData data)
Parameters
dataCreationData
SearchSettings(SearchSettingsHandle)
protected SearchSettings(SearchSettingsHandle handle)
Parameters
handleSearchSettingsHandle
Fields
AtWordBoundariesPropertyDefinition
public static readonly Property<bool, SearchSettings> AtWordBoundariesPropertyDefinition
Field Value
CaseSensitivePropertyDefinition
public static readonly Property<bool, SearchSettings> CaseSensitivePropertyDefinition
Field Value
RegexEnabledPropertyDefinition
public static readonly Property<bool, SearchSettings> RegexEnabledPropertyDefinition
Field Value
SearchTextPropertyDefinition
public static readonly Property<string?, SearchSettings> SearchTextPropertyDefinition
Field Value
VisibleOnlyPropertyDefinition
public static readonly Property<bool, SearchSettings> VisibleOnlyPropertyDefinition
Field Value
WrapAroundPropertyDefinition
public static readonly Property<bool, SearchSettings> WrapAroundPropertyDefinition
Field Value
Properties
AtWordBoundaries
public bool AtWordBoundaries { get; set; }
Property Value
CaseSensitive
public bool CaseSensitive { get; set; }
Property Value
RegexEnabled
public bool RegexEnabled { get; set; }
Property Value
SearchText
public string? SearchText { get; set; }
Property Value
VisibleOnly
public bool VisibleOnly { get; set; }
Property Value
WrapAround
public bool WrapAround { get; set; }
Property Value
Methods
GetAtWordBoundaries()
public bool GetAtWordBoundaries()
Returns
GetCaseSensitive()
public bool GetCaseSensitive()
Returns
GetGType()
public static Type GetGType()
Returns
GetRegexEnabled()
public bool GetRegexEnabled()
Returns
GetSearchText()
public string? GetSearchText()
Returns
GetVisibleOnly()
[Version("5.12")]
public bool GetVisibleOnly()
Returns
GetWrapAround()
public bool GetWrapAround()
Returns
New()
public static SearchSettings New()
Returns
NewFromPointer(nint, bool)
Creates a new managed SearchSettings instance for a given pointer.
public static SearchSettings NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new SearchSettings and sets the properties specified by the construct arguments.
public static SearchSettings NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
SetAtWordBoundaries(bool)
public void SetAtWordBoundaries(bool atWordBoundaries)
Parameters
atWordBoundariesbool
SetCaseSensitive(bool)
public void SetCaseSensitive(bool caseSensitive)
Parameters
caseSensitivebool
SetRegexEnabled(bool)
public void SetRegexEnabled(bool regexEnabled)
Parameters
regexEnabledbool
SetSearchText(string?)
public void SetSearchText(string? searchText)
Parameters
searchTextstring
SetVisibleOnly(bool)
[Version("5.12")]
public void SetVisibleOnly(bool visibleOnly)
Parameters
visibleOnlybool
SetWrapAround(bool)
public void SetWrapAround(bool wrapAround)
Parameters
wrapAroundbool