/* The GIMP -- an image manipulation program
 * Copyright (C) 1995-1998 Spencer Kimball and Peter Mattis
 *
 * Time-stamp: <1999/11/11 22:20:38 narazaki@gimp.org>
 *
 * gtkW.h -- This file is a part of guash.
 *
 * 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., 675 Mass Ave, Cambridge, MA 02139, USA.
 */

/* gtkW callback */
static void	gtkW_close_callback (GtkWidget *, gpointer);
static void	gtkW_message_dialog (gint, GCHAR *);
static GtkWidget *	gtkW_message_dialog_new (GCHAR *);
static gint	gtkW_confirmor_dialog (gint, GCHAR *, gint);
static GtkWidget *	gtkW_confirmor_new (GCHAR *, gint, gtkW_widget_table*);
static void	gtkW_confirmor_yes (GtkWidget *, gpointer);
static void	gtkW_confirmor_no (GtkWidget *, gpointer);
static GtkWidget *	gtkW_frame_new (GtkWidget *, GCHAR *);
static GtkWidget *	gtkW_hbox_new (GtkWidget *, gint, gint);
static GtkWidget *	gtkW_table_new (GtkWidget *, gint, gint);
static void	gtkW_iscroll_entry_change_value (gtkW_widget_table *);
static void	gtkW_iscroll_update (GtkAdjustment *, gpointer);
static void	gtkW_ivscroll_entry_new (GtkWidget **, GtkWidget **,
					 GtkSignalFunc, GtkSignalFunc,
					 gint *, gdouble, gdouble, gdouble,
					 gpointer);
static void	gtkW_ientry_update (GtkWidget *, gpointer);
static GtkWidget *	gtkW_table_add_label (GtkWidget	*, GCHAR *,
					      gint, gint, gint, gint);
static void	gtkW_query_box (GCHAR *, GCHAR *, GCHAR *, GCHAR *);
static void	gtkW_preview_force_to_update (GtkWidget *widget);
static GtkWidget *	gtkW_query_string_box_new (char *, char *, char *,
						   gpointer);
static void	gtkW_query_box_cancel_callback (GtkWidget *, gpointer);
static void	gtkW_query_box_ok_callback (GtkWidget *, gpointer);
static gint	gtkW_query_box_delete_callback (GtkWidget *, GdkEvent *, gpointer);
static gint	gtkW_parse_gimprc_gint (GCHAR *, gint);
static GCHAR *	gtkW_parse_gimprc_string (GCHAR *, GCHAR *);
static void	gtkW_widget_set_cursor (GtkWidget *, GdkCursorType);
/* end of GtkW */
