Back to index

im-sdk  12.3.91
utils.h
Go to the documentation of this file.
00001 /* GIMLET: GNOME Input Method Language Enabing Tool
00002  *
00003  * Copyright (C) 2001, 2002 Havoc Pennington
00004  * Copyright (C) 2002 Red Hat, Inc.
00005  * Copyright (C) 2003 Sun Microsystems
00006  * Copyright (C) 2003 Mariano Suarez-Alvarez
00007  *
00008  * This is free software; you can redistribute it and/or
00009  * modify it under the terms of the GNU Lesser General Public
00010  * License as published by the Free Software Foundation; either
00011  * version 2 of the License, or (at your option) any later version.
00012  *
00013  * This library is distributed in the hope that it will be useful,
00014  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00016  * Lesser General Public License for more details.
00017  *
00018  * You should have received a copy of the GNU Lesser General Public
00019  * License along with this library; if not, write to the
00020  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00021  * Boston, MA 02111-1307, USA.
00022  */
00023 
00024 #ifndef __GIMLET_UTILS_H
00025 #define __GIMLET_UTILS_H
00026 
00027 #include <glade/glade.h>
00028 
00029 void gimlet_util_show_error_dialog (GtkWindow *transient_parent,
00030                                 GtkWidget **weak_ptr,
00031                                 const char *message_format, ...);
00032 void gimlet_util_show_help (const char *topic, 
00033                          GtkWindow  *transient_parent);
00034 void gimlet_util_set_unique_role (GtkWindow *window, const char *prefix);
00035 
00036 GladeXML* gimlet_util_load_glade_file (const char *filename,
00037                                    const char *widget_root,
00038                                    GtkWindow  *error_dialog_parent);
00039 #endif