aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-dateedit.h
diff options
context:
space:
mode:
authorDamon Chaplin <damon@helixcode.com>2000-10-12 02:03:52 +0800
committerDamon Chaplin <damon@src.gnome.org>2000-10-12 02:03:52 +0800
commitfb19241a191ae47984e19ae43f0e6acff96cbb1a (patch)
tree5861f5ab084c53b754325c1e19954928d4c735cf /widgets/misc/e-dateedit.h
parentfc74307dec70e897af78e748703e88b27eb491e8 (diff)
downloadgsoc2013-evolution-fb19241a191ae47984e19ae43f0e6acff96cbb1a.tar
gsoc2013-evolution-fb19241a191ae47984e19ae43f0e6acff96cbb1a.tar.gz
gsoc2013-evolution-fb19241a191ae47984e19ae43f0e6acff96cbb1a.tar.bz2
gsoc2013-evolution-fb19241a191ae47984e19ae43f0e6acff96cbb1a.tar.lz
gsoc2013-evolution-fb19241a191ae47984e19ae43f0e6acff96cbb1a.tar.xz
gsoc2013-evolution-fb19241a191ae47984e19ae43f0e6acff96cbb1a.tar.zst
gsoc2013-evolution-fb19241a191ae47984e19ae43f0e6acff96cbb1a.zip
fixed to recalculate min_cell_width/height in case the show_week_numbers
2000-10-11 Damon Chaplin <damon@helixcode.com> * e-calendar-item.c (e_calendar_item_recalc_sizes): fixed to recalculate min_cell_width/height in case the show_week_numbers option is changed. * e-dateedit.c: added support for hiding the date field, and added get/set_time_of_day() functions to get/set just the time. svn path=/trunk/; revision=5854
Diffstat (limited to 'widgets/misc/e-dateedit.h')
-rw-r--r--widgets/misc/e-dateedit.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/widgets/misc/e-dateedit.h b/widgets/misc/e-dateedit.h
index a2783c1814..b616e7b581 100644
--- a/widgets/misc/e-dateedit.h
+++ b/widgets/misc/e-dateedit.h
@@ -71,6 +71,20 @@ time_t e_date_edit_get_time (EDateEdit *dedit);
void e_date_edit_set_time (EDateEdit *dedit,
time_t the_time);
+/* These get or set the value in the time field, useful if only a time is
+ being edited. */
+gboolean e_date_edit_get_time_of_day (EDateEdit *dedit,
+ gint *hour,
+ gint *minute);
+void e_date_edit_set_time_of_day (EDateEdit *dedit,
+ gint hour,
+ gint minute);
+
+/* Whether we show the date field. */
+gboolean e_date_edit_get_show_date (EDateEdit *dedit);
+void e_date_edit_set_show_date (EDateEdit *dedit,
+ gboolean show_date);
+
/* Whether we show the time field. */
gboolean e_date_edit_get_show_time (EDateEdit *dedit);
void e_date_edit_set_show_time (EDateEdit *dedit,