Color
Chooser
Interface
constructor
base_
interface
padding
name
add_
palette
color_
activated
get_
rgba
set_
rgba
GJS API Reference
Gtk-3.0
Gtk
ColorChooserInterface
Class ColorChooserInterface
Hierarchy
ColorChooserInterface
Index
Constructors
constructor
Properties
base_
interface
padding
name
Methods
add_
palette
color_
activated
get_
rgba
set_
rgba
Constructors
constructor
new
Color
Chooser
Interface
(
)
:
Gtk
.
ColorChooserInterface
Returns
Gtk
.
ColorChooserInterface
Properties
base_
interface
base_
interface
:
TypeInterface
padding
padding
:
object
[]
Static
name
name
:
string
Methods
add_
palette
add_
palette
(
chooser
:
Gtk
.
ColorChooser
, orientation
:
Gtk
.
Orientation
, colors_per_line
:
number
, colors
:
Gdk
.
RGBA
[]
)
:
void
Parameters
chooser:
Gtk
.
ColorChooser
orientation:
Gtk
.
Orientation
colors_per_line:
number
colors:
Gdk
.
RGBA
[]
Returns
void
color_
activated
color_
activated
(
chooser
:
Gtk
.
ColorChooser
, color
:
Gdk
.
RGBA
)
:
void
Parameters
chooser:
Gtk
.
ColorChooser
color:
Gdk
.
RGBA
Returns
void
get_
rgba
get_
rgba
(
chooser
:
Gtk
.
ColorChooser
)
:
Gdk
.
RGBA
Parameters
chooser:
Gtk
.
ColorChooser
Returns
Gdk
.
RGBA
set_
rgba
set_
rgba
(
chooser
:
Gtk
.
ColorChooser
, color
:
Gdk
.
RGBA
)
:
void
Parameters
chooser:
Gtk
.
ColorChooser
color:
Gdk
.
RGBA
Returns
void
Color
Chooser
Interface
constructor
base_
interface
padding
name
add_
palette
color_
activated
get_
rgba
set_
rgba
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHdGtfM18wLkd0ay5Db2xvckNob29zZXJJbnRlcmZhY2UuaHRtbCNjb25zdHJ1Y3RvciIsIm5hbWUiOiJjb25zdHJ1Y3RvciIsImNoaWxkcm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