1 /* -*- Mode: C; tab-width: 3; indent-tabs-mode: nil; c-basic-offset: 3 -*- */ 2 3 /* 4 * GThumb 5 * 6 * Copyright (C) 2001 The Free Software Foundation, Inc. 7 * 8 * This program is free software; you can redistribute it and/or modify 9 * it under the terms of the GNU General Public License as published by 10 * the Free Software Foundation; either version 2 of the License, or 11 * (at your option) any later version. 12 * 13 * This program is distributed in the hope that it will be useful, 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 * GNU General Public License for more details. 17 * 18 * You should have received a copy of the GNU General Public License 19 * along with this program; if not, write to the Free Software 20 * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. 21 * 22 * $Id: auto_completion.h,v 1.2 2003/06/13 09:43:23 makeinu Exp $ 23 */ 24 25 #ifndef AUTO_COMPLETION_H 26 #define AUTO_COMPLETION_H 27 28 #include <glib.h> 29 #include <gtk/gtkwidget.h> 30 31 void auto_compl_reset (void); 32 33 gint auto_compl_get_n_alternatives (const gchar *path); 34 35 gchar * auto_compl_get_common_prefix (void); 36 37 GList * auto_compl_get_alternatives (void); 38 39 void auto_compl_show_alternatives (GtkWidget *entry); 40 41 void auto_compl_hide_alternatives (void); 42 43 44 #endif /* AUTO_COMPLETION_H */ 45