aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/eventedit.h
blob: ccb2224450aae91f96becfbca53e3ca888e15f6e (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
65
66
67
68
69
70
71
72
73
74
75
76
77
/*
 * EventEditor widget
 * Copyright (C) 1998 the Free Software Foundation
 *
 * Author: Miguel de Icaza (miguel@kernel.org)
 */

#ifndef EVENT_EDITOR_H
#define EVENT_EDITOR_H

#include "gnome-cal.h"

BEGIN_GNOME_DECLS


#define EVENT_EDITOR(obj)         GTK_CHECK_CAST(obj, event_editor_get_type(), EventEditor)
#define EVENT_EDITOR_CLASS(class) GTK_CHECK_CAST_CLASS(class, event_editor_get_type(), EventEditorClass)
#define IS_EVENT_EDITOR(obj)      GTK_CHECK_TYPE(obj, event_editor_get_type())


typedef struct {
    GtkWindow  window;
    GtkWidget  *notebook;
    GtkWidget  *vbox;

        GtkWidget  *general;
        GtkWidget  *general_table;
        GtkWidget  *general_time_table;
    GtkWidget  *general_allday;
    GtkWidget  *general_recur;
    GtkWidget  *general_owner;
    GtkWidget  *general_summary;
    GtkWidget  *start_time, *end_time;
    GtkWidget  *general_radios;

    GtkWidget  *recur_page_label;
    GtkWidget  *recur_table;

    GSList     *recur_rr_group;
    GtkWidget  *recur_rr_notebook;
    GtkWidget  *recur_rr_day_period;
    GtkWidget  *recur_rr_week_period;
    GtkWidget  *recur_rr_week_days [7];
    GtkWidget  *recur_rr_month_date;
    GtkWidget  *recur_rr_month_date_label;
    GtkWidget  *recur_rr_month_day;
    GtkWidget  *recur_rr_month_weekday;
    GtkWidget  *recur_rr_month_period;
    GtkWidget  *recur_rr_year_period;

    GSList     *recur_ed_group;
    GtkWidget  *recur_ed_end_on;
    GtkWidget  *recur_ed_end_after;

    GtkWidget  *recur_ex_date;
    GtkWidget  *recur_ex_vbox;
    GtkWidget  *recur_ex_clist;
    
    /* The associated ical object */
    iCalObject *ical;

    /* The calendar owner of this event */
        GnomeCalendar *gnome_cal;
} EventEditor;

typedef struct {
    GtkWindowClass parent_class;
} EventEditorClass;


guint      event_editor_get_type (void);
GtkWidget *event_editor_new      (GnomeCalendar *owner, iCalObject *);


END_GNOME_DECLS

#endif