Table of Contents

Class ColorChooserDialog

Namespace
Gtk
Assembly
Gtk-4.0.dll
public class ColorChooserDialog : Dialog, IObject, INotifyPropertyChanged, IDisposable, Accessible, Buildable, ColorChooser, ConstraintTarget, Native, Root, ShortcutManager, IHandle, GTypeProvider
Inheritance
ColorChooserDialog
Implements
Inherited Members

Constructors

ColorChooserDialog()

public ColorChooserDialog()

ColorChooserDialog(params ConstructArgument[])

protected ColorChooserDialog(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

ColorChooserDialog(IntPtr, bool)

protected ColorChooserDialog(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

ShowEditorPropertyDefinition

public static readonly Property<bool, ColorChooserDialog> ShowEditorPropertyDefinition

Field Value

Property<bool, ColorChooserDialog>

Properties

AccessibleRole

public AccessibleRole AccessibleRole { get; set; }

Property Value

AccessibleRole

Rgba

public RGBA Rgba { get; set; }

Property Value

RGBA

ShowEditor

public bool ShowEditor { get; set; }

Property Value

bool

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[]

Announce(string, AccessibleAnnouncementPriority)

[Version("4.14")]
public void Announce(string message, AccessibleAnnouncementPriority priority)

Parameters

message string
priority AccessibleAnnouncementPriority

GetAccessibleParent()

[Version("4.10")]
public Accessible? GetAccessibleParent()

Returns

Accessible

GetAccessibleRole()

public AccessibleRole GetAccessibleRole()

Returns

AccessibleRole

GetAtContext()

[Version("4.10")]
public ATContext GetAtContext()

Returns

ATContext

GetBounds(out int, out int, out int, out int)

[Version("4.10")]
public bool GetBounds(out int x, out int y, out int width, out int height)

Parameters

x int
y int
width int
height int

Returns

bool

GetBuildableId()

public string? GetBuildableId()

Returns

string

GetDisplay()

public Display GetDisplay()

Returns

Display

GetFirstAccessibleChild()

[Version("4.10")]
public Accessible? GetFirstAccessibleChild()

Returns

Accessible

GetGType()

public static Type GetGType()

Returns

Type

GetNextAccessibleSibling()

[Version("4.10")]
public Accessible? GetNextAccessibleSibling()

Returns

Accessible

GetPlatformState(AccessiblePlatformState)

[Version("4.10")]
public bool GetPlatformState(AccessiblePlatformState state)

Parameters

state AccessiblePlatformState

Returns

bool

GetRenderer()

public Renderer? GetRenderer()

Returns

Renderer

GetSurface()

public Surface? GetSurface()

Returns

Surface

GetSurfaceTransform(out double, out double)

public void GetSurfaceTransform(out double x, out double y)

Parameters

x double
y double

GetUseAlpha()

public bool GetUseAlpha()

Returns

bool

New(string?, Window?)

public static ColorChooserDialog New(string? title, Window? parent)

Parameters

title string
parent Window

Returns

ColorChooserDialog

Realize()

public void Realize()

ResetProperty(AccessibleProperty)

public void ResetProperty(AccessibleProperty property)

Parameters

property AccessibleProperty

ResetRelation(AccessibleRelation)

public void ResetRelation(AccessibleRelation relation)

Parameters

relation AccessibleRelation

ResetState(AccessibleState)

public void ResetState(AccessibleState state)

Parameters

state AccessibleState

SetAccessibleParent(Accessible?, Accessible?)

[Version("4.10")]
public void SetAccessibleParent(Accessible? parent, Accessible? nextSibling)

Parameters

parent Accessible
nextSibling Accessible

SetRgba(RGBA)

public void SetRgba(RGBA color)

Parameters

color RGBA

SetUseAlpha(bool)

public void SetUseAlpha(bool useAlpha)

Parameters

useAlpha bool

Unrealize()

public void Unrealize()

UpdateNextAccessibleSibling(Accessible?)

[Version("4.10")]
public void UpdateNextAccessibleSibling(Accessible? newSibling)

Parameters

newSibling Accessible