Table of Contents

Class ColorDialog

Namespace
Gtk.Internal
Assembly
Gtk-4.0.dll
public class ColorDialog
Inheritance
ColorDialog
Inherited Members

Methods

ChooseRgba(IntPtr, IntPtr, RGBAHandle, IntPtr, AsyncReadyCallback, IntPtr)

Calls native method gtk_color_dialog_choose_rgba. Version: 4.10

[Version("4.10")]
public static extern void ChooseRgba(IntPtr self, IntPtr parent, RGBAHandle initialColor, IntPtr cancellable, AsyncReadyCallback callback, IntPtr userData)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

parent IntPtr

Transfer ownership: None Nullable: True

initialColor RGBAHandle

Transfer ownership: None Nullable: True

cancellable IntPtr

Transfer ownership: None Nullable: True

callback AsyncReadyCallback

Transfer ownership: None Nullable: True

userData IntPtr

Transfer ownership: None Nullable: True

ChooseRgbaFinish(IntPtr, IntPtr, out ErrorOwnedHandle)

Calls native method gtk_color_dialog_choose_rgba_finish. Version: 4.10

[Version("4.10")]
public static extern RGBAOwnedHandle ChooseRgbaFinish(IntPtr self, IntPtr result, out ErrorOwnedHandle error)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

result IntPtr

Transfer ownership: None Nullable: False

error ErrorOwnedHandle

Returns

RGBAOwnedHandle

Transfer ownership: Full Nullable: True

GetGType()

Calls native function gtk_color_dialog_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetModal(IntPtr)

Calls native method gtk_color_dialog_get_modal. Version: 4.10

[Version("4.10")]
public static extern bool GetModal(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetTitle(IntPtr)

Calls native method gtk_color_dialog_get_title. Version: 4.10

[Version("4.10")]
public static extern NonNullableUtf8StringUnownedHandle GetTitle(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: False

GetWithAlpha(IntPtr)

Calls native method gtk_color_dialog_get_with_alpha. Version: 4.10

[Version("4.10")]
public static extern bool GetWithAlpha(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

New()

Calls native constructor gtk_color_dialog_new. Version: 4.10

[Version("4.10")]
public static extern IntPtr New()

Returns

IntPtr

Transfer ownership: Full Nullable: False

SetModal(IntPtr, bool)

Calls native method gtk_color_dialog_set_modal. Version: 4.10

[Version("4.10")]
public static extern void SetModal(IntPtr self, bool modal)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

modal bool

Transfer ownership: None Nullable: False

SetTitle(IntPtr, NonNullableUtf8StringHandle)

Calls native method gtk_color_dialog_set_title. Version: 4.10

[Version("4.10")]
public static extern void SetTitle(IntPtr self, NonNullableUtf8StringHandle title)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

title NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

SetWithAlpha(IntPtr, bool)

Calls native method gtk_color_dialog_set_with_alpha. Version: 4.10

[Version("4.10")]
public static extern void SetWithAlpha(IntPtr self, bool withAlpha)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

withAlpha bool

Transfer ownership: None Nullable: False