gtkcolorchooserdialog: Document show-editor

This commit is contained in:
Maximiliano Sandoval 2024-05-25 23:35:45 +02:00
parent 6f85827fcb
commit 64abadb370
No known key found for this signature in database
GPG Key ID: D64A8D747F6FE706

View File

@ -232,6 +232,14 @@ gtk_color_chooser_dialog_class_init (GtkColorChooserDialogClass *class)
g_object_class_override_property (object_class, PROP_RGBA, "rgba");
g_object_class_override_property (object_class, PROP_USE_ALPHA, "use-alpha");
/**
* GtkColorChooserDialog:show-editor:
*
* Whether the color chooser dialog is showing the single-color editor.
*
* It can be set to switch the color chooser into single-color editing mode.
*/
g_object_class_install_property (object_class, PROP_SHOW_EDITOR,
g_param_spec_boolean ("show-editor", NULL, NULL,
FALSE, GTK_PARAM_READWRITE));