ColorChooser

interface ColorChooser(source)

⚠️ Deprecated ⚠️

This is deprecated since version 4.10.

Use class@Gtk.ColorDialog and class@Gtk.ColorDialogButton instead of widgets implementing GtkColorChooser

GtkColorChooser is an interface that is implemented by widgets for choosing colors.

Depending on the situation, colors may be allowed to have alpha (translucency).

In GTK, the main widgets that implement this interface are class@Gtk.ColorChooserWidget, class@Gtk.ColorChooserDialog and class@Gtk.ColorButton.

Skipped during bindings generation

  • parameter colors: Array parameter of type Gdk.RGBA is not supported

  • method rgba: Property has no getter

Inheritors

Types

Link copied to clipboard
class ColorChooserImpl(gtkColorChooserPointer: <Error class: unknown class><<Error class: unknown class>>) : ColorChooser

The ColorChooserImpl type represents a native instance of the ColorChooser interface.

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val gtkColorChooserPointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
open var useAlpha: Boolean

This is deprecated since version 4.10.

Functions

Link copied to clipboard
open fun getRgba(color: <Error class: unknown class>)

This is deprecated since version 4.10.

Link copied to clipboard
open fun getUseAlpha(): Boolean

This is deprecated since version 4.10.

Link copied to clipboard
open fun onColorActivated(    connectFlags: <Error class: unknown class> = ConnectFlags(0u),     handler: (<Error class: unknown class>) -> Unit): <Error class: unknown class>

This is deprecated since version 4.10.

Link copied to clipboard
open fun setRgba(color: <Error class: unknown class>)

This is deprecated since version 4.10.

Link copied to clipboard
open fun setUseAlpha(useAlpha: Boolean)

This is deprecated since version 4.10.