aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/quick-view.h
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@nuclecu.unam.mx>1998-09-29 08:54:21 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-09-29 08:54:21 +0800
commit550314f75b3a94e468e5f1117b9425d6d3784161 (patch)
treec80a72f998e8eaa090f3f0a3cd423fa8344f43f5 /calendar/gui/quick-view.h
parenta73b55050bd1c94567161aed1b3123eeb76c75d0 (diff)
downloadgsoc2013-evolution-550314f75b3a94e468e5f1117b9425d6d3784161.tar.gz
gsoc2013-evolution-550314f75b3a94e468e5f1117b9425d6d3784161.tar.zst
gsoc2013-evolution-550314f75b3a94e468e5f1117b9425d6d3784161.zip
New file that presents a quick view of the events in a particular day when
1998-09-28 Federico Mena Quintero <federico@nuclecu.unam.mx> * quick-view.[ch]: New file that presents a quick view of the events in a particular day when the mouse is clicked on the year view. Work in progress. * year-view.c (do_quick_view_popup): New function that creates a quick view for the events in a day. * Makefile.am (gnomecal_SOURCES): Added quick-view.[ch] to the list of sources. svn path=/trunk/; revision=413
Diffstat (limited to 'calendar/gui/quick-view.h')
-rw-r--r--calendar/gui/quick-view.h59
1 files changed, 59 insertions, 0 deletions
diff --git a/calendar/gui/quick-view.h b/calendar/gui/quick-view.h
new file mode 100644
index 0000000000..c6b2cf8814
--- /dev/null
+++ b/calendar/gui/quick-view.h
@@ -0,0 +1,59 @@
+/* Quick view widget for Gnomecal
+ *
+ * Copyright (C) 1998 The Free Software Foundation
+ *
+ * Author: Federico Mena <federico@nuclecu.unam.mx
+ */
+
+#ifndef QUICK_VIEW_H
+#define QUICK_VIEW_H
+
+#include <libgnome/gnome-defs.h>
+#include "gnome-cal.h"
+
+
+BEGIN_GNOME_DECLS
+
+
+#define TYPE_QUICK_VIEW (quick_view_get_type ())
+#define QUICK_VIEW(obj) (GTK_CHECK_CAST ((obj), TYPE_QUICK_VIEW, QuickView))
+#define QUICK_VIEW_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), TYPE_QUICK_VIEW, QuickViewClass))
+#define IS_QUICK_VIEW(obj) (GTK_CHECK_TYPE ((obj), TYPE_QUICK_VIEW))
+#define IS_QUICK_VIEW_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), TYPE_QUICK_VIEW))
+
+
+typedef struct _QuickView QuickView;
+typedef struct _QuickViewClass QuickViewClass;
+
+struct _QuickView {
+ GtkWindow window;
+
+ GnomeCalendar *calendar; /* The calendar we are associated to */
+
+ GtkWidget *canvas; /* The canvas that displays the contents of the quick view */
+
+ int button; /* The button that was pressed to pop up the quick view */
+};
+
+struct _QuickViewClass {
+ GtkWindowClass parent_class;
+};
+
+
+/* Standard Gtk function */
+GtkType quick_view_get_type (void);
+
+/* Creates a new quick view with the specified title and the specified event list. It is associated
+ * to the specified calendar. The event list must be a list of CalendarObject structures.
+ */
+GtkWidget *quick_view_new (GnomeCalendar *calendar, char *title, GList *event_list);
+
+/* Pops up the quick view widget modally and loops until the uses closes it by releasing the mouse
+ * button. You can destroy the quick view when this function returns.
+ */
+void quick_view_do_popup (QuickView *qv, GdkEventButton *event);
+
+
+END_GNOME_DECLS
+
+#endif
n class='deletions'>-2/+2 * - Pass maintainership to office@FreeBSD.orgsunpoet2011-11-291-1/+1 * The KDE on FreeBSD team is pleased to update the KDE4 ports to 4.7.3.rakuco2011-11-141-2/+2 * The KDE/FreeBSD team is pleased to announce KDE Software Compilationavilla2011-10-172-4/+11 * - Set DIST_SUBDIR: move dist files to DISTDIR/hunspellsunpoet2011-08-182-2/+3 * - Unify COMMENT and pkg-descrsunpoet2011-08-132-2/+2 * - Pet portlint(1)culot2011-08-092-5/+4 * - Move language prefix to PKGNAMEPREFIXsunpoet2011-07-291-10/+10 * - Fix typosunpoet2011-07-251-1/+1 * Pass matainership to the new office teambapt2011-07-221-1/+1 * Add hebrew hunspell dictionnarybapt2011-07-204-0/+43 * Reset maintainership de jure. In fact KDE 3 has not been maintained by our teammakc2011-07-082-2/+2 * Update KDE Software Compilation ports to 4.6.5makc2011-07-082-2/+22 * The FreeBSD KDE Team is pleased to announce KDE SC 4.6.4. Read fullavilla2011-06-141-2/+2 * Update KDE Software Compilation ports to 4.6.3makc2011-05-171-2/+2 * The FreeBSD KDE Team is pleased to announce April updates for KDEavilla2011-04-071-2/+2 * The FreeBSD KDE Team is pleased to announce KDE SC 4.6.1 and KDE PIMavilla2011-03-252-10/+25 * - Get Rid MD5 supportmiwi2011-03-197-7/+0 * - The KDE FreeBSD team is proud to announce the release of KDE 4.5.5fluffy2011-01-081-2/+2 * KDE FreeBSD team presents KDE SC 4.5.4.makc2010-12-031-2/+2 * KDE FreeBSD team presents KDE SC 4.5.3.makc2010-11-041-3/+2 * KDE FreeBSD team presents KDE SC 4.5.2.makc2010-10-061-3/+3 * Autotools update. Read ports/UPDATING 20100915 for details.ade2010-09-162-4/+2 * KDE FreeBSD team presents KDE SC 4.5.1.makc2010-09-03