Interface
GtkColorChooser
Description [src]
interface Gtk.ColorChooser : GObject.Object
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
GtkColorChooserWidget
, GtkColorChooserDialog
and
GtkColorButton
.
Prerequisite
In order to implement ColorChooser, your type must inherit from
GObject
.
Interface structure
struct GtkColorChooserInterface {
GTypeInterface base_interface;
void (* get_rgba) (
GtkColorChooser* chooser,
GdkRGBA* color
);
void (* set_rgba) (
GtkColorChooser* chooser,
const GdkRGBA* color
);
void (* add_palette) (
GtkColorChooser* chooser,
GtkOrientation orientation,
int colors_per_line,
int n_colors,
GdkRGBA* colors
);
void (* color_activated) (
GtkColorChooser* chooser,
const GdkRGBA* color
);
}
No description available.
Interface members
base_interface |
|
No description available. | |
get_rgba |
|
No description available. | |
set_rgba |
|
No description available. | |
add_palette |
|
No description available. | |
color_activated |
|
No description available. |