Table of Contents

Class ColorDialog

Namespace
Gtk
Assembly
Gtk-4.0.dll
public class ColorDialog : Object, IDisposable, GTypeProvider, InstanceFactory
Inheritance
ColorDialog
Implements
Inherited Members

Constructors

ColorDialog(params ConstructArgument[])

public ColorDialog(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

ColorDialog(ColorDialogHandle)

public ColorDialog(ColorDialogHandle handle)

Parameters

handle ColorDialogHandle

Fields

ModalPropertyDefinition

public static readonly Property<bool, ColorDialog> ModalPropertyDefinition

Field Value

Property<bool, ColorDialog>

TitlePropertyDefinition

public static readonly Property<string?, ColorDialog> TitlePropertyDefinition

Field Value

Property<string, ColorDialog>

WithAlphaPropertyDefinition

public static readonly Property<bool, ColorDialog> WithAlphaPropertyDefinition

Field Value

Property<bool, ColorDialog>

Properties

Modal

public bool Modal { get; set; }

Property Value

bool

Title

public string? Title { get; set; }

Property Value

string

WithAlpha

public bool WithAlpha { get; set; }

Property Value

bool

Methods

ChooseRgbaFinish(AsyncResult)

[Version("4.10")]
public RGBA? ChooseRgbaFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

RGBA

GetGType()

public static Type GetGType()

Returns

Type

GetModal()

[Version("4.10")]
public bool GetModal()

Returns

bool

GetTitle()

[Version("4.10")]
public string GetTitle()

Returns

string

GetWithAlpha()

[Version("4.10")]
public bool GetWithAlpha()

Returns

bool

New()

[Version("4.10")]
public static ColorDialog New()

Returns

ColorDialog

SetModal(bool)

[Version("4.10")]
public void SetModal(bool modal)

Parameters

modal bool

SetTitle(string)

[Version("4.10")]
public void SetTitle(string title)

Parameters

title string

SetWithAlpha(bool)

[Version("4.10")]
public void SetWithAlpha(bool withAlpha)

Parameters

withAlpha bool