Class ColorChooserHelper
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public sealed class ColorChooserHelper : Object, ColorChooser, NativeObject, IDisposable, InstanceFactory, GTypeProvider
- Inheritance
-
ColorChooserHelper
- Implements
- Inherited Members
Constructors
ColorChooserHelper(ObjectHandle)
public ColorChooserHelper(ObjectHandle handle)
Parameters
handleObjectHandle
Fields
ColorActivatedSignal
Signal Descriptor for OnColorActivated.
public static readonly Signal<ColorChooser, ColorChooser.ColorActivatedSignalArgs> ColorActivatedSignal
Field Value
Properties
Rgba
public RGBA Rgba { get; set; }
Property Value
UseAlpha
public bool UseAlpha { get; set; }
Property Value
Methods
AddPalette(Orientation, int, RGBA[]?)
public void AddPalette(Orientation orientation, int colorsPerLine, RGBA[]? colors)
Parameters
orientationOrientationcolorsPerLineintcolorsRGBA[]
GetGType()
public static Type GetGType()
Returns
GetRgba(out RGBA)
public void GetRgba(out RGBA color)
Parameters
colorRGBA
GetUseAlpha()
public bool GetUseAlpha()
Returns
SetRgba(RGBA)
public void SetRgba(RGBA color)
Parameters
colorRGBA
SetUseAlpha(bool)
public void SetUseAlpha(bool useAlpha)
Parameters
useAlphabool
Events
OnColorActivated
public event SignalHandler<ColorChooser, ColorChooser.ColorActivatedSignalArgs> OnColorActivated