Table of Contents

Class ColorChooserHelper

Namespace
Gtk
Assembly
Gtk-4.0.dll
public sealed class ColorChooserHelper : Object, IObject, INotifyPropertyChanged, IDisposable, ColorChooser, IHandle, GTypeProvider
Inheritance
ColorChooserHelper
Implements
Inherited Members

Constructors

ColorChooserHelper(IntPtr, bool)

public ColorChooserHelper(IntPtr handle, bool ownedRef)

Parameters

handle IntPtr
ownedRef bool

Properties

Rgba

public RGBA Rgba { get; set; }

Property Value

RGBA

UseAlpha

public bool UseAlpha { get; set; }

Property Value

bool

Methods

AddPalette(Orientation, int, RGBA[]?)

public void AddPalette(Orientation orientation, int colorsPerLine, RGBA[]? colors)

Parameters

orientation Orientation
colorsPerLine int
colors RGBA[]

GetGType()

public static Type GetGType()

Returns

Type

GetUseAlpha()

public bool GetUseAlpha()

Returns

bool

SetRgba(RGBA)

public void SetRgba(RGBA color)

Parameters

color RGBA

SetUseAlpha(bool)

public void SetUseAlpha(bool useAlpha)

Parameters

useAlpha bool