diff options
author | Anders Carlsson <andersca@src.gnome.org> | 2000-06-07 06:34:12 +0800 |
---|---|---|
committer | Anders Carlsson <andersca@src.gnome.org> | 2000-06-07 06:34:12 +0800 |
commit | ff31a1c535578b75c986e555026764dbc51e359d (patch) | |
tree | 6e6a8fad4af5370f4b45f874e9360b69013e9af4 /notes/e-note.h | |
parent | c219c79496fca669af1ae093a660a1ce4d81a682 (diff) | |
download | gsoc2013-evolution-ff31a1c535578b75c986e555026764dbc51e359d.tar.gz gsoc2013-evolution-ff31a1c535578b75c986e555026764dbc51e359d.tar.zst gsoc2013-evolution-ff31a1c535578b75c986e555026764dbc51e359d.zip |
Stuff
svn path=/trunk/; revision=3447
Diffstat (limited to 'notes/e-note.h')
-rw-r--r-- | notes/e-note.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/notes/e-note.h b/notes/e-note.h new file mode 100644 index 0000000000..d7d4c63b95 --- /dev/null +++ b/notes/e-note.h @@ -0,0 +1,37 @@ +/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ + +#ifndef __E_NOTE_H__ +#define __E_NOTE_H__ + +#include <config.h> +#include <gnome.h> +#include "e-bevel-button.h" + +#define E_TYPE_NOTE (e_note_get_type ()) +#define E_NOTE(obj) (GTK_CHECK_CAST ((obj), E_TYPE_NOTE, ENote)) +#define E_NOTE_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), E_TYPE_NOTE, ENoteClass)) +#define E_IS_NOTE(obj) (GTK_CHECK_TYPE ((obj), E_TYPE_NOTE)) +#define E_IS_NOTE_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), E_TYPE_NOTE)) + +typedef struct _ENote ENote; +typedef struct _ENotePrivate ENotePrivate; +typedef struct _ENoteClass ENoteClass; + +struct _ENote { + GtkWindow parent; + + ENotePrivate *priv; +}; + +struct _ENoteClass { + GtkWindowClass parent_class; + + void (* text_changed) (ENote *note); +}; + +GtkType e_note_get_type (void); +GtkWidget *e_note_new (void); +void e_note_set_text (ENote *note, gchar *text); +gchar *e_note_get_text (ENote *note); + +#endif /* __E_NOTE_H__ */ |