Table of Contents

Class ColorButton

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

Methods

GetGType()

Calls native function gtk_color_button_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetModal(IntPtr)

Calls native method gtk_color_button_get_modal.

public static extern bool GetModal(IntPtr button)

Parameters

button IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetTitle(IntPtr)

Calls native method gtk_color_button_get_title.

public static extern NonNullableUtf8StringUnownedHandle GetTitle(IntPtr button)

Parameters

button IntPtr

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: False

New()

Calls native constructor gtk_color_button_new.

public static extern IntPtr New()

Returns

IntPtr

Transfer ownership: None Nullable: False

NewWithRgba(RGBAHandle)

Calls native constructor gtk_color_button_new_with_rgba.

public static extern IntPtr NewWithRgba(RGBAHandle rgba)

Parameters

rgba RGBAHandle

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

SetModal(IntPtr, bool)

Calls native method gtk_color_button_set_modal.

public static extern void SetModal(IntPtr button, bool modal)

Parameters

button IntPtr

Transfer ownership: None Nullable: False

modal bool

Transfer ownership: None Nullable: False

SetTitle(IntPtr, NonNullableUtf8StringHandle)

Calls native method gtk_color_button_set_title.

public static extern void SetTitle(IntPtr button, NonNullableUtf8StringHandle title)

Parameters

button IntPtr

Transfer ownership: None Nullable: False

title NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False