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
constructArgumentsConstructArgument[]
ColorChooserRequest(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected ColorChooserRequest(CreationData data)
Parameters
dataCreationData
ColorChooserRequest(ColorChooserRequestHandle)
protected ColorChooserRequest(ColorChooserRequestHandle handle)
Parameters
handleColorChooserRequestHandle
Fields
FinishedSignal
Signal Descriptor for OnFinished.
public static readonly Signal<ColorChooserRequest> FinishedSignal
Field Value
RgbaPropertyDefinition
public static readonly Property<RGBA, ColorChooserRequest> RgbaPropertyDefinition
Field Value
Properties
Rgba
public RGBA Rgba { get; set; }
Property Value
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
rectRectangle
GetGType()
public static Type GetGType()
Returns
GetRgba(out RGBA)
[Version("2.8")]
public void GetRgba(out RGBA rgba)
Parameters
rgbaRGBA
NewFromPointer(nint, bool)
Creates a new managed ColorChooserRequest instance for a given pointer.
public static ColorChooserRequest NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new ColorChooserRequest and sets the properties specified by the construct arguments.
public static ColorChooserRequest NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
SetRgba(RGBA)
[Version("2.8")]
public void SetRgba(RGBA rgba)
Parameters
rgbaRGBA
Events
OnFinished
public event SignalHandler<ColorChooserRequest> OnFinished