Class ColorChooser
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
IntPtrTransfer ownership: None Nullable: False
orientation
OrientationTransfer ownership: None Nullable: False
colorsPerLine
intTransfer ownership: None Nullable: False
nColors
intTransfer ownership: None Nullable: False
colors
RGBAArrayHandleTransfer 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
IntPtrTransfer 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
IntPtrTransfer ownership: None Nullable: False
color
RGBAHandleTransfer 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)