Class FindController
- Namespace
- WebKit
- Assembly
- WebKit-6.0.dll
public sealed class FindController : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
FindController
- Implements
- Inherited Members
Constructors
FindController(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 FindController(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
FindController(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected FindController(CreationData data)
Parameters
dataCreationData
FindController(FindControllerHandle)
protected FindController(FindControllerHandle handle)
Parameters
handleFindControllerHandle
Fields
CountedMatchesSignal
Signal Descriptor for OnCountedMatches.
public static readonly Signal<FindController, FindController.CountedMatchesSignalArgs> CountedMatchesSignal
Field Value
FailedToFindTextSignal
Signal Descriptor for OnFailedToFindText.
public static readonly Signal<FindController> FailedToFindTextSignal
Field Value
FoundTextSignal
Signal Descriptor for OnFoundText.
public static readonly Signal<FindController, FindController.FoundTextSignalArgs> FoundTextSignal
Field Value
MaxMatchCountPropertyDefinition
public static readonly Property<uint, FindController> MaxMatchCountPropertyDefinition
Field Value
OptionsPropertyDefinition
public static readonly Property<FindOptions, FindController> OptionsPropertyDefinition
Field Value
TextPropertyDefinition
public static readonly Property<string?, FindController> TextPropertyDefinition
Field Value
WebViewPropertyDefinition
public static readonly Property<WebView?, FindController> WebViewPropertyDefinition
Field Value
Properties
MaxMatchCount
public uint MaxMatchCount { get; }
Property Value
Options
public FindOptions Options { get; }
Property Value
Text
public string? Text { get; }
Property Value
WebView
public WebView? WebView { get; }
Property Value
Methods
CountMatches(string, uint, uint)
public void CountMatches(string searchText, uint findOptions, uint maxMatchCount)
Parameters
GetGType()
public static Type GetGType()
Returns
GetMaxMatchCount()
public uint GetMaxMatchCount()
Returns
GetOptions()
public uint GetOptions()
Returns
GetSearchText()
public string GetSearchText()
Returns
GetWebView()
public WebView GetWebView()
Returns
NewFromPointer(nint, bool)
Creates a new managed FindController instance for a given pointer.
public static FindController NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new FindController and sets the properties specified by the construct arguments.
public static FindController NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
Search(string, uint, uint)
public void Search(string searchText, uint findOptions, uint maxMatchCount)
Parameters
SearchFinish()
public void SearchFinish()
SearchNext()
public void SearchNext()
SearchPrevious()
public void SearchPrevious()
Events
OnCountedMatches
public event SignalHandler<FindController, FindController.CountedMatchesSignalArgs> OnCountedMatches
Event Type
OnFailedToFindText
public event SignalHandler<FindController> OnFailedToFindText
Event Type
OnFoundText
public event SignalHandler<FindController, FindController.FoundTextSignalArgs> OnFoundText