[16769] | 1 | /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ |
---|
| 2 | /* e-dialog-utils.h |
---|
| 3 | * |
---|
| 4 | * Copyright (C) 2001 Ximian, Inc. |
---|
| 5 | * |
---|
| 6 | * This program is free software; you can redistribute it and/or |
---|
[16786] | 7 | * modify it under the terms of version 2 of the GNU General Public |
---|
| 8 | * License as published by the Free Software Foundation. |
---|
[16769] | 9 | * |
---|
| 10 | * This program is distributed in the hope that it will be useful, |
---|
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
| 13 | * General Public License for more details. |
---|
| 14 | * |
---|
| 15 | * You should have received a copy of the GNU General Public |
---|
| 16 | * License along with this program; if not, write to the |
---|
| 17 | * Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
---|
| 18 | * Boston, MA 02111-1307, USA. |
---|
| 19 | * |
---|
| 20 | * Author: Ettore Perazzoli <ettore@ximian.com> |
---|
| 21 | */ |
---|
| 22 | |
---|
| 23 | #ifndef E_DIALOG_UTILS_H |
---|
| 24 | #define E_DIALOG_UTILS_H |
---|
| 25 | |
---|
| 26 | #include <gtk/gtkwindow.h> |
---|
| 27 | #include <gtk/gtkwidget.h> |
---|
[18141] | 28 | #include <libgnomeui/gnome-types.h> |
---|
| 29 | #include <libgnomeui/gnome-dialog.h> |
---|
[16769] | 30 | |
---|
[16786] | 31 | #include <X11/Xlib.h> /* Window */ |
---|
[16769] | 32 | |
---|
[18141] | 33 | void e_set_dialog_parent (GtkWindow *dialog, |
---|
| 34 | GtkWidget *parent_widget); |
---|
| 35 | void e_set_dialog_parent_from_xid (GtkWindow *dialog, |
---|
| 36 | Window xid); |
---|
| 37 | void e_gnome_dialog_set_parent (GnomeDialog *dialog, |
---|
| 38 | GtkWindow *parent); |
---|
| 39 | GtkWidget *e_gnome_warning_dialog_parented (const char *warning, |
---|
| 40 | GtkWindow *parent); |
---|
| 41 | GtkWidget *e_gnome_ok_cancel_dialog_parented (const char *message, |
---|
| 42 | GnomeReplyCallback callback, |
---|
| 43 | gpointer data, |
---|
| 44 | GtkWindow *parent); |
---|
| 45 | char *e_file_dialog_save (const char *title); |
---|
[16786] | 46 | |
---|
[18141] | 47 | |
---|
[16769] | 48 | #endif |
---|