aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/text/e-entry.h
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-07-04 06:35:47 +0800
committerChris Lahey <clahey@src.gnome.org>2000-07-04 06:35:47 +0800
commit6f709e4fd7d0f3b0e5065be3b593dd8ed4b94ed3 (patch)
tree835c943e0597a74886f142233fe8890910d3bde9 /widgets/text/e-entry.h
parente59563eb7d09bfcdbe80bf707c74afce82f04595 (diff)
downloadgsoc2013-evolution-6f709e4fd7d0f3b0e5065be3b593dd8ed4b94ed3.tar
gsoc2013-evolution-6f709e4fd7d0f3b0e5065be3b593dd8ed4b94ed3.tar.gz
gsoc2013-evolution-6f709e4fd7d0f3b0e5065be3b593dd8ed4b94ed3.tar.bz2
gsoc2013-evolution-6f709e4fd7d0f3b0e5065be3b593dd8ed4b94ed3.tar.lz
gsoc2013-evolution-6f709e4fd7d0f3b0e5065be3b593dd8ed4b94ed3.tar.xz
gsoc2013-evolution-6f709e4fd7d0f3b0e5065be3b593dd8ed4b94ed3.tar.zst
gsoc2013-evolution-6f709e4fd7d0f3b0e5065be3b593dd8ed4b94ed3.zip
Added e-entry.c and e-entry.h.
2000-07-03 Christopher James Lahey <clahey@helixcode.com> * widgets/e-text/Makefile.am: Added e-entry.c and e-entry.h. * widgets/e-text/e-entry.c, widgets/e-text/e-entry.h: New files to be a widget containing a text item. * widgets/e-text/e-text.c: Fixed some spacing. svn path=/trunk/; revision=3874
Diffstat (limited to 'widgets/text/e-entry.h')
-rw-r--r--widgets/text/e-entry.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/widgets/text/e-entry.h b/widgets/text/e-entry.h
new file mode 100644
index 0000000000..ad349659c3
--- /dev/null
+++ b/widgets/text/e-entry.h
@@ -0,0 +1,39 @@
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
+#ifndef _E_ENTRY_H_
+#define _E_ENTRY_H_
+
+#include <libgnomeui/gnome-canvas.h>
+#include <gtk/gtktable.h>
+#include <gnome-xml/tree.h>
+#include "e-text.h"
+
+BEGIN_GNOME_DECLS
+
+#define E_ENTRY_TYPE (e_entry_get_type ())
+#define E_ENTRY(o) (GTK_CHECK_CAST ((o), E_ENTRY_TYPE, EEntry))
+#define E_ENTRY_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_ENTRY_TYPE, EEntryClass))
+#define E_IS_ENTRY(o) (GTK_CHECK_TYPE ((o), E_ENTRY_TYPE))
+#define E_IS_ENTRY_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_ENTRY_TYPE))
+
+typedef struct {
+ GtkTable parent;
+
+ GnomeCanvas *canvas;
+ EText *item;
+} EEntry;
+
+typedef struct {
+ GtkTableClass parent_class;
+
+ void (* changed) (EEntry *entry);
+ void (* activate) (EEntry *entry);
+} EEntryClass;
+
+GtkType e_entry_get_type (void);
+
+EEntry *e_entry_construct (EEntry *e_entry);
+GtkWidget *e_entry_new (void);
+
+END_GNOME_DECLS
+
+#endif /* _E_ENTRY_H_ */