Table of Contents

Class ColorChooser

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

Methods

AddPalette(IntPtr, Orientation, int, int, RGBAArrayHandle)

Calls native method gtk_color_chooser_add_palette.

public static extern void AddPalette(IntPtr chooser, Orientation orientation, int colorsPerLine, int nColors, RGBAArrayHandle colors)

Parameters

chooser IntPtr

Transfer ownership: None Nullable: False

orientation Orientation

Transfer ownership: None Nullable: False

colorsPerLine int

Transfer ownership: None Nullable: False

nColors int

Transfer ownership: None Nullable: False

colors RGBAArrayHandle

Transfer ownership: None Nullable: True

GetGType()

Calls native function gtk_color_chooser_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetUseAlpha(IntPtr)

Calls native method gtk_color_chooser_get_use_alpha.

public static extern bool GetUseAlpha(IntPtr chooser)

Parameters

chooser IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

SetRgba(IntPtr, RGBAHandle)

Calls native method gtk_color_chooser_set_rgba.

public static extern void SetRgba(IntPtr chooser, RGBAHandle color)

Parameters

chooser IntPtr

Transfer ownership: None Nullable: False

color RGBAHandle

Transfer ownership: None Nullable: False

SetUseAlpha(IntPtr, bool)

Calls native method gtk_color_chooser_set_use_alpha.

public static extern void SetUseAlpha(IntPtr chooser, bool useAlpha)

Parameters

chooser IntPtr

Transfer ownership: None Nullable: False

useAlpha bool

Transfer ownership: None Nullable: False