diff options
author | Iain Holmes <iain@src.gnome.org> | 2002-02-05 03:52:43 +0800 |
---|---|---|
committer | Iain Holmes <iain@src.gnome.org> | 2002-02-05 03:52:43 +0800 |
commit | e1268e37a47ad717ee3cf3434a749ea32bf075c1 (patch) | |
tree | 3803813c3ca2231d357979135262e427e159b6e1 /my-evolution/e-summary-table.h | |
parent | 9af47c6d0fa88f8a3422af740e041c1b9edddc53 (diff) | |
download | gsoc2013-evolution-e1268e37a47ad717ee3cf3434a749ea32bf075c1.tar gsoc2013-evolution-e1268e37a47ad717ee3cf3434a749ea32bf075c1.tar.gz gsoc2013-evolution-e1268e37a47ad717ee3cf3434a749ea32bf075c1.tar.bz2 gsoc2013-evolution-e1268e37a47ad717ee3cf3434a749ea32bf075c1.tar.lz gsoc2013-evolution-e1268e37a47ad717ee3cf3434a749ea32bf075c1.tar.xz gsoc2013-evolution-e1268e37a47ad717ee3cf3434a749ea32bf075c1.tar.zst gsoc2013-evolution-e1268e37a47ad717ee3cf3434a749ea32bf075c1.zip |
The new selector widget
svn path=/trunk/; revision=15565
Diffstat (limited to 'my-evolution/e-summary-table.h')
-rw-r--r-- | my-evolution/e-summary-table.h | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/my-evolution/e-summary-table.h b/my-evolution/e-summary-table.h new file mode 100644 index 0000000000..cbddb9bec9 --- /dev/null +++ b/my-evolution/e-summary-table.h @@ -0,0 +1,73 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ +/* + * Authors: Iain Holmes <iain@ximian.com> + * + * Copyright 2002 Ximain, Inc. (www.ximian.com) + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. + * + */ + +#ifndef __E_SUMMARY_TABLE_H__ +#define __E_SUMMARY_TABLE_H__ + +#include <gtk/gtkvbox.h> +#include <glib.h> +#include <gal/e-table/e-tree-memory.h> + +#define E_SUMMARY_TABLE_TYPE (e_summary_table_get_type ()) +#define E_SUMMARY_TABLE(obj) (GTK_CHECK_CAST ((obj), E_SUMMARY_TABLE_TYPE, ESummaryTable)) +#define E_SUMMARY_TABLE_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), E_SUMMARY_TABLE_TYPE, ESummaryTableClass)) +#define IS_E_SUMMARY_TABLE(obj) (GTK_CHECK_TYPE ((obj), E_SUMMARY_TABLE_TYPE)) +#define IS_E_SUMMARY_TABLE_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), E_SUMMARY_TABLE_TYPE)) + +typedef struct _ESummaryTablePrivate ESummaryTablePrivate; +typedef struct _ESummaryTableClass ESummaryTableClass; +typedef struct _ESummaryTable ESummaryTable; + +typedef struct _ESummaryTableModelEntry { + ETreePath path; + + char *location; + + gboolean editable; + gboolean removable; + + gboolean shown; + char *name; +} ESummaryTableModelEntry; + +struct _ESummaryTable { + GtkVBox parent; + + GHashTable *model; + ESummaryTablePrivate *priv; +}; + +struct _ESummaryTableClass { + GtkVBoxClass parent_class; + + void (* item_changed) (ESummaryTable *table, + ETreePath path); +}; + +GtkType e_summary_table_get_type (void); +GtkWidget *e_summary_table_new (GHashTable *model); +ETreePath e_summary_table_add_node (ESummaryTable *est, + ETreePath path, + int position, + gpointer node_data); + +#endif |