/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* e-name-selector-list.h - Single-line text entry widget for EDestinations. * * Copyright (C) 2004 Novell, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of version 2 of the GNU General Public * License as published by the Free Software Foundation. * * 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 library; if not, write to the * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * * Authors: Srinivasa Ragavan */ #ifndef E_NAME_SELECTOR_LIST_H #define E_NAME_SELECTOR_LIST_H #include #include #include #include #include #include #include G_BEGIN_DECLS #define E_TYPE_NAME_SELECTOR_LIST (e_name_selector_list_get_type ()) #define E_NAME_SELECTOR_LIST(obj) (GTK_CHECK_CAST ((obj), e_name_selector_list_get_type (), ENameSelectorEntry)) #define E_NAME_SELECTOR_LIST_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), e_name_selector_list_get_type (), ENameSelectorEntryClass)) #define E_IS_NAME_SELECTOR_LIST(obj) (GTK_CHECK_TYPE (obj, e_name_selector_list_get_type ())) #define E_IS_NAME_SELECTOR_LIST_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), e_name_selector_list_get_type ())) #define E_NAME_SELECTOR_LIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), E_NAME_SELECTOR_LIST_TYPE, ENameSelectorEntryClass)) typedef struct _ENameSelectorList ENameSelectorList; typedef struct _ENameSelectorListClass ENameSelectorListClass; struct _ENameSelectorListClass { ENameSelectorEntryClass parent_class; /* Signals */ }; struct _ENameSelectorList { ENameSelectorEntry parent; GtkWindow *popup; GtkWidget *tree_view; GtkWidget *menu; EDestinationStore *store; int rows; }; GType e_name_selector_list_get_type (void); ENameSelectorList *e_name_selector_list_new (void); void e_name_selector_list_expand_clicked (ENameSelectorList *list); G_END_DECLS #endif