2005-06-22 11:20:32 -07:00
|
|
|
/*
|
|
|
|
* mooutils/moodialogs.h
|
|
|
|
*
|
2006-02-23 06:03:17 -08:00
|
|
|
* Copyright (C) 2004-2006 by Yevgen Muntyan <muntyan@math.tamu.edu>
|
2005-06-22 11:20:32 -07:00
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*
|
|
|
|
* See COPYING file that comes with this distribution.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef MOOUTILS_DIALOGS_H
|
|
|
|
#define MOOUTILS_DIALOGS_H
|
|
|
|
|
2005-12-04 09:42:45 -08:00
|
|
|
#include <gtk/gtkmessagedialog.h>
|
2006-04-13 03:02:33 -07:00
|
|
|
#include "mooutils/moofiledialog.h"
|
2005-06-22 11:20:32 -07:00
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
|
|
|
|
2005-11-27 20:37:30 -08:00
|
|
|
const char *moo_font_dialog (GtkWidget *parent,
|
|
|
|
const char *title,
|
|
|
|
const char *start_font,
|
|
|
|
gboolean fixed_width);
|
|
|
|
|
|
|
|
gboolean moo_overwrite_file_dialog (GtkWidget *parent,
|
|
|
|
const char *display_name,
|
|
|
|
const char *display_dirname);
|
|
|
|
|
2005-12-04 09:42:45 -08:00
|
|
|
void moo_message_dialog (GtkWidget *parent,
|
|
|
|
GtkMessageType type,
|
|
|
|
const char *text,
|
|
|
|
const char *secondary_text,
|
|
|
|
gboolean at_mouse,
|
|
|
|
gboolean at_coords,
|
|
|
|
int x,
|
|
|
|
int y);
|
|
|
|
void moo_position_window (GtkWidget *window,
|
|
|
|
GtkWidget *parent,
|
|
|
|
gboolean at_mouse,
|
|
|
|
gboolean at_coords,
|
|
|
|
int x,
|
|
|
|
int y);
|
|
|
|
|
2005-11-27 20:37:30 -08:00
|
|
|
void moo_error_dialog (GtkWidget *parent,
|
|
|
|
const char *text,
|
|
|
|
const char *secondary_text);
|
|
|
|
void moo_info_dialog (GtkWidget *parent,
|
|
|
|
const char *text,
|
|
|
|
const char *secondary_text);
|
|
|
|
void moo_warning_dialog (GtkWidget *parent,
|
|
|
|
const char *text,
|
|
|
|
const char *secondary_text);
|
2005-06-22 11:20:32 -07:00
|
|
|
|
|
|
|
|
|
|
|
G_END_DECLS
|
|
|
|
|
|
|
|
#endif /* MOOUTILS_DIALOGS_H */
|