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
Fields
ShowEditorPropertyDefinition
public static readonly Property<bool, ColorChooserDialog> ShowEditorPropertyDefinition
Field Value
Properties
AccessibleRole
public AccessibleRole AccessibleRole { get; set; }
Property Value
Rgba
public RGBA Rgba { get; set; }
Property Value
ShowEditor
public bool ShowEditor { 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
orientation
OrientationcolorsPerLine
intcolors
RGBA[]
Announce(string, AccessibleAnnouncementPriority)
[Version("4.14")]
public void Announce(string message, AccessibleAnnouncementPriority priority)
Parameters
message
stringpriority
AccessibleAnnouncementPriority
GetAccessibleParent()
[Version("4.10")]
public Accessible? GetAccessibleParent()
Returns
GetAccessibleRole()
public AccessibleRole GetAccessibleRole()
Returns
GetAtContext()
[Version("4.10")]
public ATContext GetAtContext()
Returns
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
Returns
GetBuildableId()
public string? GetBuildableId()
Returns
GetDisplay()
public Display GetDisplay()
Returns
GetFirstAccessibleChild()
[Version("4.10")]
public Accessible? GetFirstAccessibleChild()
Returns
GetGType()
public static Type GetGType()
Returns
GetNextAccessibleSibling()
[Version("4.10")]
public Accessible? GetNextAccessibleSibling()
Returns
GetPlatformState(AccessiblePlatformState)
[Version("4.10")]
public bool GetPlatformState(AccessiblePlatformState state)
Parameters
state
AccessiblePlatformState
Returns
GetRenderer()
public Renderer? GetRenderer()
Returns
GetSurface()
public Surface? GetSurface()
Returns
GetSurfaceTransform(out double, out double)
public void GetSurfaceTransform(out double x, out double y)
Parameters
GetUseAlpha()
public bool GetUseAlpha()
Returns
New(string?, Window?)
public static ColorChooserDialog New(string? title, Window? parent)
Parameters
Returns
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
AccessiblenextSibling
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