diff options
author | Matthias Clasen <maclas@gmx.de> | 2003-06-14 22:27:14 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2003-06-14 22:27:14 +0000 |
commit | ec280c7b326e45dc014e94021fd290285570ad36 (patch) | |
tree | f0bc8b6563a0da5e0405b45dbf08de68297998c2 /gtk/gtkcalendar.c | |
parent | ee9683ceec0a8d218a100624944f978a738d3d1f (diff) | |
download | gdk-pixbuf-ec280c7b326e45dc014e94021fd290285570ad36.tar.gz |
Document new properties as 2.4 additions.
2003-06-15 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcalendar.c (gtk_calendar_class_init):
* gtk/gtknotebook.c (gtk_notebook_class_init):
* gtk/gtkalignment.c (gtk_alignment_class_init):
* gtk/gtkpaned.c (gtk_paned_class_init): Document new properties
as 2.4 additions.
* gtk/gtkwidget.c (gtk_widget_class_init): Move inline signal docs
to the proper place, immediately before the g_signal_new() call.
* gtk/gtktextiter.h: Make the flags-nature of GtkTextSearchFlags
more obvious. (#115122, Jeff Franks)
Diffstat (limited to 'gtk/gtkcalendar.c')
-rw-r--r-- | gtk/gtkcalendar.c | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/gtk/gtkcalendar.c b/gtk/gtkcalendar.c index 0823651bd..29a3d991a 100644 --- a/gtk/gtkcalendar.c +++ b/gtk/gtkcalendar.c @@ -433,6 +433,14 @@ gtk_calendar_class_init (GtkCalendarClass *class) _("The selected day (as a number between 1 and 31, or 0 to unselect the currently selected day)"), 0, 31, 0, G_PARAM_READWRITE)); + +/** + * GtkCalendar:show-heading: + * + * Determines whether a heading is displayed. + * + * Since: 2.4 + */ g_object_class_install_property (gobject_class, PROP_SHOW_HEADING, g_param_spec_boolean ("show_heading", @@ -440,6 +448,14 @@ gtk_calendar_class_init (GtkCalendarClass *class) _("If TRUE, a heading is displayed"), TRUE, G_PARAM_READWRITE)); + +/** + * GtkCalendar:show-day-names: + * + * Determines whether day names are displayed. + * + * Since: 2.4 + */ g_object_class_install_property (gobject_class, PROP_SHOW_DAY_NAMES, g_param_spec_boolean ("show_day_names", @@ -447,6 +463,13 @@ gtk_calendar_class_init (GtkCalendarClass *class) _("If TRUE, day names are displayed"), TRUE, G_PARAM_READWRITE)); +/** + * GtkCalendar:no-month-change: + * + * Determines whether the selected month can be changed. + * + * Since: 2.4 + */ g_object_class_install_property (gobject_class, PROP_NO_MONTH_CHANGE, g_param_spec_boolean ("no_month_change", @@ -454,6 +477,14 @@ gtk_calendar_class_init (GtkCalendarClass *class) _("If TRUE, the selected month can not be changed"), FALSE, G_PARAM_READWRITE)); + +/** + * GtkCalendar:show-week-numbers: + * + * Determines whether week numbers are displayed. + * + * Since: 2.4 + */ g_object_class_install_property (gobject_class, PROP_SHOW_WEEK_NUMBERS, g_param_spec_boolean ("show_week_numbers", @@ -461,6 +492,14 @@ gtk_calendar_class_init (GtkCalendarClass *class) _("If TRUE, week numbers are displayed"), FALSE, G_PARAM_READWRITE)); + +/** + * GtkCalendar:week-start-monday: + * + * If this is %TRUE, Monday is displayed as the first day of the week. + * + * Since: 2.4 + */ g_object_class_install_property (gobject_class, PROP_WEEK_START_MONDAY, g_param_spec_boolean ("week_start_monday", |