multi-choice: Add the popover property

This allows a multi choice's label to be clicked to reveal a popover. It
is needed by the date chooser, to have a combined month and year choice
that can be split in two via a popover.

This leaves the indendation purposefully broken to ease reviewing the
actual changes.
This commit is contained in:
Adrien Plazas
2022-06-16 08:23:45 -03:00
committed by Georges Basile Stavracas Neto
parent 78931df46c
commit b031c9591a
3 changed files with 260 additions and 0 deletions
+5
View File
@@ -34,6 +34,11 @@ gint gcal_multi_choice_get_value (GcalMultiChoic
void gcal_multi_choice_set_value (GcalMultiChoice *self,
gint value);
GtkPopover* gcal_multi_choice_get_popover (GcalMultiChoice *self);
void gcal_multi_choice_set_popover (GcalMultiChoice *self,
GtkWidget *popover);
void gcal_multi_choice_set_choices (GcalMultiChoice *self,
const gchar **selfs);