diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-02-24 21:56:03 -0500 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2021-03-11 16:37:32 +0000 |
commit | 08509acc04056b045bfda6b603119d82b3da4e60 (patch) | |
tree | 3e07926d5f3090a2be2f9edbde42a996f5694326 /gtk/gtkcalendar.c | |
parent | 6ff78c99fa0afe07ec9b2061dea647ded7a869d7 (diff) | |
download | gtk+-08509acc04056b045bfda6b603119d82b3da4e60.tar.gz |
claendar: Add property annotations
Connect properties, getters, and setters with annotations.
Diffstat (limited to 'gtk/gtkcalendar.c')
-rw-r--r-- | gtk/gtkcalendar.c | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/gtk/gtkcalendar.c b/gtk/gtkcalendar.c index ba64b71201..596119ee93 100644 --- a/gtk/gtkcalendar.c +++ b/gtk/gtkcalendar.c @@ -26,9 +26,7 @@ */ /** - * SECTION:gtkcalendar - * @Short_description: Displays a calendar and allows the user to select a date - * @Title: GtkCalendar + * GtkCalendar: * * `GtkCalendar` is a widget that displays a Gregorian calendar, one month * at a time. @@ -412,7 +410,7 @@ gtk_calendar_class_init (GtkCalendarClass *class) G_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY)); /** - * GtkCalendar:show-heading: + * GtkCalendar:show-heading: (attributes org.gtk.Property.get=gtk_calendar_get_show_heading org.gtk.Property.set=gtk_calendar_set_show_heading) * * Determines whether a heading is displayed. */ @@ -425,7 +423,7 @@ gtk_calendar_class_init (GtkCalendarClass *class) GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY)); /** - * GtkCalendar:show-day-names: + * GtkCalendar:show-day-names: (attributes org.gtk.Property.get=gtk_calendar_get_show_day_names org.gtk.Property.set=gtk_calendar_set_show_day_names) * * Determines whether day names are displayed. */ @@ -437,7 +435,7 @@ gtk_calendar_class_init (GtkCalendarClass *class) TRUE, GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY)); /** - * GtkCalendar:show-week-numbers: + * GtkCalendar:show-week-numbers: (attributes org.gtk.Property.get=gtk_calendar_get_show_week_numbers org.gtk.Property.set=gtk_calendar_set_show_week_numbers) * * Determines whether week numbers are displayed. */ @@ -1630,7 +1628,7 @@ gtk_calendar_get_date (GtkCalendar *self) } /** - * gtk_calendar_set_show_week_numbers: + * gtk_calendar_set_show_week_numbers: (attributes org.gtk.Method.set_property=show-week-numbers) * @self: a `GtkCalendar` * @value: whether to show week numbers on the left of the days * @@ -1656,7 +1654,7 @@ gtk_calendar_set_show_week_numbers (GtkCalendar *self, } /** - * gtk_calendar_get_show_week_numbers: + * gtk_calendar_get_show_week_numbers: (attributes org.gtk.Method.get_property=show-week-numbers) * @self: a `GtkCalendar` * * Returns whether @self is showing week numbers right @@ -1676,7 +1674,7 @@ gtk_calendar_get_show_week_numbers (GtkCalendar *self) } /** - * gtk_calendar_set_show_heading: + * gtk_calendar_set_show_heading: (attributes org.gtk.Method.set_property=show-heading) * @self: a `GtkCalendar` * @value: Whether to show the heading in the calendar * @@ -1702,7 +1700,7 @@ gtk_calendar_set_show_heading (GtkCalendar *self, } /** - * gtk_calendar_get_show_heading: + * gtk_calendar_get_show_heading: (attributes org.gtk.Method.get_property=show-heading) * @self: a `GtkCalendar` * * Returns whether @self is currently showing the heading. @@ -1721,7 +1719,7 @@ gtk_calendar_get_show_heading (GtkCalendar *self) } /** - * gtk_calendar_set_show_day_names: + * gtk_calendar_set_show_day_names: (attributes org.gtk.Method.set_property=show-day-names) * @self: a `GtkCalendar` * @value: Whether to show day names above the day numbers * @@ -1747,7 +1745,7 @@ gtk_calendar_set_show_day_names (GtkCalendar *self, } /** - * gtk_calendar_get_show_day_names: + * gtk_calendar_get_show_day_names: (attributes org.gtk.Method.get_property=show-day-names) * @self: a `GtkCalendar` * * Returns whether @self is currently showing the names |