/ gwcomboboxcategories.h / Content
/* GWhere
* Copyright (C) 2000 Sébastien LECACHEUR
*
* 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 Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef GW_GUI_GW_COMBO_BOX_CATEGORIES_H
#define GW_GUI_GW_COMBO_BOX_CATEGORIES_H
#include "data/gwdata.h"
GtkHBox * gw_combo_box_categories_create ( GtkWindow *w, gchar *title, struct catalog_file_info *catalog_info);
gint gw_combo_box_categories_load ( GtkHBox *cbc);
gint gw_combo_box_categories_set_catalog_info ( GtkHBox *cbc, struct catalog_file_info *catalog_info);
gint gw_combo_box_categories_set_selected_category ( GtkHBox *cbc, struct category *category);
gint gw_combo_box_categories_set_selected_category_name ( GtkHBox *cbc, gchar *name);
struct category * gw_combo_box_categories_get_selected_category ( GtkHBox *cbc);
gchar * gw_combo_box_categories_get_selected_category_name ( GtkHBox *cbc);
GtkCombo * gw_combo_box_categories_get_combo ( GtkHBox *cbc);
struct catalog_file_info * gw_combo_box_categories_get_catalog_info ( GtkHBox *cbc);
GList * gw_combo_box_categories_get_categories ( GtkHBox *cbc);
#endif