Table of Contents

Class ColorChooserRequest

Namespace
WebKit
Assembly
WebKit-6.0.dll
public sealed class ColorChooserRequest : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
ColorChooserRequest
Implements
Inherited Members

Constructors

ColorChooserRequest(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 ColorChooserRequest(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

ColorChooserRequest(CreationData)

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

Parameters

data CreationData

ColorChooserRequest(ColorChooserRequestHandle)

protected ColorChooserRequest(ColorChooserRequestHandle handle)

Parameters

handle ColorChooserRequestHandle

Fields

FinishedSignal

Signal Descriptor for OnFinished.

public static readonly Signal<ColorChooserRequest> FinishedSignal

Field Value

Signal<ColorChooserRequest>

RgbaPropertyDefinition

public static readonly Property<RGBA, ColorChooserRequest> RgbaPropertyDefinition

Field Value

Property<RGBA, ColorChooserRequest>

Properties

Rgba

public RGBA Rgba { get; set; }

Property Value

RGBA

Methods

Cancel()

[Version("2.8")]
public void Cancel()

Finish()

[Version("2.8")]
public void Finish()

GetElementRectangle(out Rectangle)

[Version("2.8")]
public void GetElementRectangle(out Rectangle rect)

Parameters

rect Rectangle

GetGType()

public static Type GetGType()

Returns

Type

GetRgba(out RGBA)

[Version("2.8")]
public void GetRgba(out RGBA rgba)

Parameters

rgba RGBA

NewFromPointer(nint, bool)

Creates a new managed ColorChooserRequest instance for a given pointer.

public static ColorChooserRequest NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

ColorChooserRequest

NewWithProperties(ConstructArgument[])

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

public static ColorChooserRequest NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

ColorChooserRequest

SetRgba(RGBA)

[Version("2.8")]
public void SetRgba(RGBA rgba)

Parameters

rgba RGBA

Events

OnFinished

public event SignalHandler<ColorChooserRequest> OnFinished

Event Type

SignalHandler<ColorChooserRequest>