color-swatch: add a "selectable" property to GtkColorSwatch
We don't want e.g. the swatch in GtkColorEditor to get the select badge when it's clicked, so make this a property (on by default).
This commit is contained in:
@ -90,7 +90,11 @@ void gtk_color_swatch_set_icon (GtkColorSwatch *swatch,
|
||||
G_GNUC_INTERNAL
|
||||
void gtk_color_swatch_set_use_alpha (GtkColorSwatch *swatch,
|
||||
gboolean use_alpha);
|
||||
|
||||
G_GNUC_INTERNAL
|
||||
void gtk_color_swatch_set_selectable (GtkColorSwatch *swatch,
|
||||
gboolean selectable);
|
||||
G_GNUC_INTERNAL
|
||||
gboolean gtk_color_swatch_get_selectable (GtkColorSwatch *swatch);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user