diff options
author | Seth Alves <alves@src.gnome.org> | 2000-05-16 00:51:36 +0800 |
---|---|---|
committer | Seth Alves <alves@src.gnome.org> | 2000-05-16 00:51:36 +0800 |
commit | 98317c656590737ced646d6fb4bd65e527c7e178 (patch) | |
tree | ea05e418a95b8ee4b5e8b27e6f4c0b11bf7bc2dd /calendar/gui/event-editor.h | |
parent | 71902b570c3e5ce5e6629b8353d3d404119e289b (diff) | |
download | gsoc2013-evolution-98317c656590737ced646d6fb4bd65e527c7e178.tar.gz gsoc2013-evolution-98317c656590737ced646d6fb4bd65e527c7e178.tar.zst gsoc2013-evolution-98317c656590737ced646d6fb4bd65e527c7e178.zip |
gladeified replacement for eventedit.c
* gui/event-editor.[ch]: gladeified replacement for eventedit.c
* gui/event-editor-utils.[ch]: utilities used by event-editor.c
* gui/event-editor-dialog.glade: glade file used by event-editor.c
svn path=/trunk/; revision=3046
Diffstat (limited to 'calendar/gui/event-editor.h')
-rw-r--r-- | calendar/gui/event-editor.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/calendar/gui/event-editor.h b/calendar/gui/event-editor.h new file mode 100644 index 0000000000..3cd00e9604 --- /dev/null +++ b/calendar/gui/event-editor.h @@ -0,0 +1,41 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ + +#ifndef __EVENT_EDITOR_DIALOG_H__ +#define __EVENT_EDITOR_DIALOG_H__ + +#include "gnome-cal.h" +#include <glade/glade.h> +#include <libgnomeui/gnome-dialog.h> + +typedef struct { + + /* The associated ical object */ + iCalObject *ical; + + /* The calendar owner of this event */ + GnomeCalendar *gnome_cal; + + /* + char *description; + char *host; + int port; + char *rootdn; + */ +} EventEditor; + + +GtkWidget *event_editor_new (GnomeCalendar *owner, iCalObject *ico); + +/* Convenience function to create and show a new event editor for an + * event that goes from day_begin to day_end of the specified day. + */ +void event_editor_new_whole_day (GnomeCalendar *owner, time_t day); + +GtkWidget *make_date_edit (void); +GtkWidget *date_edit_new (time_t the_time, int show_time); + +GtkWidget *make_spin_button (int val, int low, int high); + + + +#endif /* __EVENT_EDITOR_DIALOG_H__ */ |