aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/gncal-week-view.h
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@nuclecu.unam.mx>1998-04-02 14:12:25 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-04-02 14:12:25 +0800
commit23463e22bcec65cf1013ae036dc126be0e1903d6 (patch)
treecde4f870b0cd6e88301f1558efbcff788df993c3 /calendar/gui/gncal-week-view.h
parent4750b90ad18f4f59fa19b839550d6397f5dffbfd (diff)
downloadgsoc2013-evolution-23463e22bcec65cf1013ae036dc126be0e1903d6.tar
gsoc2013-evolution-23463e22bcec65cf1013ae036dc126be0e1903d6.tar.gz
gsoc2013-evolution-23463e22bcec65cf1013ae036dc126be0e1903d6.tar.bz2
gsoc2013-evolution-23463e22bcec65cf1013ae036dc126be0e1903d6.tar.lz
gsoc2013-evolution-23463e22bcec65cf1013ae036dc126be0e1903d6.tar.xz
gsoc2013-evolution-23463e22bcec65cf1013ae036dc126be0e1903d6.tar.zst
gsoc2013-evolution-23463e22bcec65cf1013ae036dc126be0e1903d6.zip
New week view composite widget. This provides a full week view (7 day
1998-04-02 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-week-view.[ch]: New week view composite widget. This provides a full week view (7 day views plus busy time display -- the latter is currently unimplemented). 1998-04-01 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-day-view.c: New day view widget. It is intended to be a child widget of the week view composite widget. svn path=/trunk/; revision=90
Diffstat (limited to 'calendar/gui/gncal-week-view.h')
-rw-r--r--calendar/gui/gncal-week-view.h52
1 files changed, 52 insertions, 0 deletions
diff --git a/calendar/gui/gncal-week-view.h b/calendar/gui/gncal-week-view.h
new file mode 100644
index 0000000000..9b626cf756
--- /dev/null
+++ b/calendar/gui/gncal-week-view.h
@@ -0,0 +1,52 @@
+/* Week view composite widget for gncal
+ *
+ * Copyright (C) 1998 The Free Software Foundation
+ *
+ * Author: Federico Mena <federico@nuclecu.unam.mx>
+ */
+
+#ifndef WEEK_VIEW_H
+#define WEEK_VIEW_H
+
+
+#include <gtk/gtktable.h>
+#include <libgnome/gnome-defs.h>
+#include "gncal-day-view.h"
+
+
+BEGIN_GNOME_DECLS
+
+
+#define GNCAL_WEEK_VIEW(obj) GTK_CHECK_CAST (obj, gncal_week_view_get_type (), GncalWeekView)
+#define GNCAL_WEEK_VIEW_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gncal_week_view_get_type (), GncalWeekViewClass)
+#define GNCAL_IS_WEEK_VIEW(obj) GTK_CHECK_TYPE (obj, gncal_week_view_get_type ())
+
+
+typedef struct _GncalWeekView GncalWeekView;
+typedef struct _GncalWeekViewClass GncalWeekViewClass;
+
+struct _GncalWeekView {
+ GtkTable table;
+
+ Calendar *calendar; /* the calendar we are associated to */
+
+ struct tm start_of_week;
+
+ GncalDayView *days[7]; /* the day view widgets */
+};
+
+struct _GncalWeekViewClass {
+ GtkTableClass parent_class;
+};
+
+
+guint gncal_week_view_get_type (void);
+GtkWidget *gncal_week_view_new (Calendar *calendar, time_t start_of_week);
+
+void gncal_week_view_update (GncalWeekView *wview);
+void gncal_week_view_set (GncalWeekView *wview, time_t start_of_week);
+
+
+END_GNOME_DECLS
+
+#endif