From c5e2fd8592f00928776550e078f9eeba31caa163 Mon Sep 17 00:00:00 2001 From: Arturo Espinosa Date: Mon, 1 Nov 1999 20:35:26 +0000 Subject: Added my widgets stuff -miguel svn path=/trunk/; revision=1364 --- widgets/table/e-table.c | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 widgets/table/e-table.c (limited to 'widgets/table/e-table.c') diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c new file mode 100644 index 0000000000..427f527185 --- /dev/null +++ b/widgets/table/e-table.c @@ -0,0 +1,36 @@ +/* + * E-table-view.c: A graphical view of a Table. + * + * Author: + * Miguel de Icaza (miguel@gnu.org) + * + * Copyright 1999, International GNOME Support + */ +#include +#include +#include "e-table.h" + +#define PARENT_OBJECT_TYPE gnome_canvas_get_type () + +GtkType +e_table_get_type (void) +{ + static GtkType type = 0; + + if (!type){ + GtkTypeInfo info = { + "ETable", + sizeof (ETable), + sizeof (ETableClass), + (GtkClassInitFunc) e_table_class_init, + (GtkObjectInitFunc) NULL, + NULL, /* reserved 1 */ + NULL, /* reserved 2 */ + (GtkClassInitFunc) NULL + }; + + type = gtk_type_unique (PARENT_OBJECT_TYPE, &info); + } + + return type; +} -- cgit