Class FaviconDatabase
- Namespace
- WebKit
- Assembly
- WebKit-6.0.dll
public sealed class FaviconDatabase : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
FaviconDatabase
- Implements
- Inherited Members
Constructors
FaviconDatabase(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 FaviconDatabase(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
FaviconDatabase(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected FaviconDatabase(CreationData data)
Parameters
dataCreationData
FaviconDatabase(FaviconDatabaseHandle)
protected FaviconDatabase(FaviconDatabaseHandle handle)
Parameters
handleFaviconDatabaseHandle
Fields
FaviconChangedSignal
Signal Descriptor for OnFaviconChanged.
public static readonly Signal<FaviconDatabase, FaviconDatabase.FaviconChangedSignalArgs> FaviconChangedSignal
Field Value
Methods
Clear()
public void Clear()
GetFaviconFinish(AsyncResult)
public Texture GetFaviconFinish(AsyncResult result)
Parameters
resultAsyncResult
Returns
Exceptions
- GException
Throws a GException in case of an error.
GetFaviconUri(string)
public string GetFaviconUri(string pageUri)
Parameters
pageUristring
Returns
GetGType()
public static Type GetGType()
Returns
GetPageIconsFinish(AsyncResult)
[Version("2.54")]
public ImageList GetPageIconsFinish(AsyncResult result)
Parameters
resultAsyncResult
Returns
Exceptions
- GException
Throws a GException in case of an error.
NewFromPointer(nint, bool)
Creates a new managed FaviconDatabase instance for a given pointer.
public static FaviconDatabase NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new FaviconDatabase and sets the properties specified by the construct arguments.
public static FaviconDatabase NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
Events
OnFaviconChanged
public event SignalHandler<FaviconDatabase, FaviconDatabase.FaviconChangedSignalArgs> OnFaviconChanged