00001 00005 /* GtkSQL -- an interactive graphical query tool for PostgreSQL 00006 * Copyright (C) 2002 Darryl Luff 00007 * Copyright (C) 1998 Lionel ULMER 00008 * 00009 * This program is free software; you can redistribute it and/or modify 00010 * it under the terms of the GNU General Public License as published by 00011 * the Free Software Foundation; either version 2 of the License, or 00012 * (at your option) any later version. 00013 * 00014 * This program is distributed in the hope that it will be useful, 00015 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 * GNU General Public License for more details. 00018 * 00019 * You should have received a copy of the GNU General Public License 00020 * along with this program; if not, write to the Free Software 00021 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00022 * ========================================================================== 00023 * 00024 * Status bar interface. 00025 */ 00026 00027 #ifndef __STATUS_H 00028 #define __STATUS_H 00029 00030 #include <gtk/gtk.h> 00031 00032 /* Create and return a new status bar */ 00033 GtkWidget *status_bar_new(void); 00034 00035 /* Pop the last message from the status bar */ 00036 void status_pop(void); 00037 00038 /* Push another message onto the status bar */ 00039 void status_push(gchar *msg); 00040 00041 /* Reset the progress bar to zero */ 00042 void progress_reset(void); 00043 00044 /* Update the progress bar */ 00045 void progress_update(gfloat percentage); 00046 00047 #endif