aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/month-view.h
blob: 70476c82f2717b78c5d3825478aa03c78a2962eb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/* Month view display for gncal
 *
 * Copyright (C) 1998 Red Hat Software, Inc.
 *
 * Author: Federico Mena <federico@nuclecu.unam.mx>
 */

#ifndef MONTH_VIEW_H
#define MONTH_VIEW_H

#include <libgnome/gnome-defs.h>
#include "gnome-cal.h"
#include "gnome-month-item.h"


BEGIN_GNOME_DECLS


#define TYPE_MONTH_VIEW            (month_view_get_type ())
#define MONTH_VIEW(obj)            (GTK_CHECK_CAST ((obj), TYPE_MONTH_VIEW, MonthView))
#define MONTH_VIEW_CLASS(klass)    (GTK_CHECK_CLASS_CAST ((klass), TYPE_MONTH_VIEW, MonthViewClass))
#define IS_MONTH_VIEW(obj)         (GTK_CHECK_TYPE ((obj), TYPE_MONTH_VIEW))
#define IS_MONTH_VIEW_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), TYPE_MONTH_VIEW))


typedef struct _MonthView MonthView;
typedef struct _MonthViewClass MonthViewClass;

struct _MonthView {
    GnomeCanvas canvas;

    GnomeCalendar *calendar;    /* The calendar we are associated to */

    GnomeCanvasItem *title;     /* The title heading with the month/year */
    GnomeCanvasItem *mitem;     /* The canvas month item used by this month view */
};

struct _MonthViewClass {
    GnomeCanvasClass parent_class;
};


/* Standard Gtk function */
GtkType month_view_get_type (void);

/* Creates a new month view widget associated to the specified calendar */
GtkWidget *month_view_new (GnomeCalendar *calendar, time_t month);

/* Notifies the month view that a calendar object has changed */
void month_view_update (MonthView *mv, iCalObject *ico, int flags);

/* Notifies the month view about a change of date */
void month_view_set (MonthView *mv, time_t month);

/* Notifies the month view that the time format has changed */
void month_view_time_format_changed (MonthView *mv);

/* Notifies the month view that the colors have changed */
void month_view_colors_changed (MonthView *mv);


END_GNOME_DECLS

#endif
4/files/lodash-4.17.19&id=464da109e229a049e65caf42b947bb2f292fa9e2'>Update to 4.3.3.jkim2014-11-011-4/+4 * Update to 4.3.2.jkim2014-10-171-4/+4 * Update to 4.2.5.jkim2014-06-241-4/+4 * Update to libreoffice 4.2.4bapt2014-06-111-4/+4 * Update to 4.1.6.jkim2014-05-071-4/+4 * Update to 4.1.5. It is partially based on the following PR.jkim2014-02-261-4/+4 * - Update to 4.0.6.jkim2013-10-262-5/+4 * Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-0/+1 * Update to 4.0.5.jkim2013-08-231-4/+4 * Update to 4.0.4.jkim2013-06-201-4/+4 * Update to 4.0.3.jkim2013-05-101-4/+4 * Update to 4.0.2.jkim2013-04-171-4/+4 * Update to 4.0.1.jkim2013-03-092-5/+5 * Update to 3.6.5.jkim2013-02-051-4/+4 * - Update to 3.5.7.jkim2012-10-272-9/+4 * - Update to 3.5.6.jkim2012-08-241-4/+4 * - Update LibreOffice and the language packs to 3.5.5.jkim2012-07-181-4/+4 * - The FreeBSD Office team is proud to announce LibreOffice.org 3.5.4 releasefluffy2012-07-011-4/+4