aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/eventedit.h
blob: 85b5b8679023e6c8553c37c696e009170c3e6e34 (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
/*
 * EventEditor widget
 * Copyright (C) 1998 the Free Software Foundation
 *
 * Author: Miguel de Icaza (miguel@kernel.org)
 */

#ifndef EVENT_EDITOR_H
#define EVENT_EDITOR_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  gtk_window;
    GtkWidget  *notebook;
    GtkWidget  *hbox;
    GtkWidget  *vbox;

        GtkWidget  *general;
        GtkTable   *general_table;
        GtkWidget  *general_time_table;
    GtkWidget  *general_owner;
    GtkWidget  *general_summary;
    GtkWidget  *start_time, *end_time;

    /* The associated ical object */
    iCalObject *ical;
    int        new_ical;
} EventEditor;

typedef struct {
    GnomePropertyBoxClass parent_class;
} EventEditorClass;

GtkWidget *event_editor_new (iCalObject *);

END_GNOME_DECLS
#endif