Bug 793125 - Crash due to popup menus left attached too long
[evolution.git] / src / calendar / gui / e-select-names-editable.h
blob7e3bdbfdcaa777a58c12c4ec54f8cdbd689c4d08
1 /*
3 * This program is free software; you can redistribute it and/or modify it
4 * under the terms of the GNU Lesser General Public License as published by
5 * the Free Software Foundation.
7 * This program is distributed in the hope that it will be useful, but
8 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
9 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
10 * for more details.
12 * You should have received a copy of the GNU Lesser General Public License
13 * along with this program; if not, see <http://www.gnu.org/licenses/>.
16 * Authors:
17 * Mike Kestner <mkestner@ximian.com>
19 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
23 #ifndef E_SELECT_NAMES_EDITABLE_H
24 #define E_SELECT_NAMES_EDITABLE_H
26 #include <e-util/e-util.h>
28 /* Standard GObject macros */
29 #define E_TYPE_SELECT_NAMES_EDITABLE \
30 (e_select_names_editable_get_type ())
31 #define E_SELECT_NAMES_EDITABLE(obj) \
32 (G_TYPE_CHECK_INSTANCE_CAST \
33 ((obj), E_TYPE_SELECT_NAMES_EDITABLE, ESelectNamesEditable))
34 #define E_SELECT_NAMES_EDITABLE_CLASS(cls) \
35 (G_TYPE_CHECK_CLASS_CAST \
36 ((cls), E_TYPE_SELECT_NAMES_EDITABLE, ESelectNamesEditableClass))
37 #define E_IS_SELECT_NAMES_EDITABLE(obj) \
38 (G_TYPE_CHECK_INSTANCE_TYPE \
39 ((obj), E_TYPE_SELECT_NAMES_EDITABLE))
40 #define E_IS_SELECT_NAMES_EDITABLE_CLASS(cls) \
41 (G_TYPE_CHECK_CLASS_TYPE \
42 ((cls), E_TYPE_SELECT_NAMES_EDITABLE))
43 #define E_SELECT_NAMES_EDITABLE_GET_CLASS(obj) \
44 (G_TYPE_INSTANCE_GET_CLASS \
45 ((obj), E_TYPE_SELECT_NAMES_EDITABLE, ESelectNamesEditableClass))
47 G_BEGIN_DECLS
49 typedef struct _ESelectNamesEditable ESelectNamesEditable;
50 typedef struct _ESelectNamesEditableClass ESelectNamesEditableClass;
51 typedef struct _ESelectNamesEditablePrivate ESelectNamesEditablePrivate;
53 struct _ESelectNamesEditable {
54 ENameSelectorEntry parent;
55 ESelectNamesEditablePrivate *priv;
58 struct _ESelectNamesEditableClass {
59 ENameSelectorEntryClass parent_class;
62 GType e_select_names_editable_get_type
63 (void) G_GNUC_CONST;
64 GtkWidget * e_select_names_editable_new (EClientCache *client_cache);
65 EDestination * e_select_names_editable_get_destination
66 (ESelectNamesEditable *esne);
67 gchar * e_select_names_editable_get_email
68 (ESelectNamesEditable *esne);
69 GList * e_select_names_editable_get_emails
70 (ESelectNamesEditable *esne);
71 gchar * e_select_names_editable_get_name
72 (ESelectNamesEditable *esne);
73 GList * e_select_names_editable_get_names
74 (ESelectNamesEditable *esne);
75 void e_select_names_editable_set_address
76 (ESelectNamesEditable *esne,
77 const gchar *name,
78 const gchar *email);
80 G_END_DECLS
82 #endif /* E_SELECT_NAMES_EDITABLE_H */