61 lines
2.6 KiB
C
61 lines
2.6 KiB
C
/*
|
|
* mooutils/moodialogs.h
|
|
*
|
|
* Copyright (C) 2004-2006 by Yevgen Muntyan <muntyan@math.tamu.edu>
|
|
*
|
|
* 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
|
|
|
|
#include <gtk/gtkmessagedialog.h>
|
|
#include "mooutils/moofiledialog.h"
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
|
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);
|
|
|
|
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);
|
|
|
|
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);
|
|
|
|
|
|
G_END_DECLS
|
|
|
|
#endif /* MOOUTILS_DIALOGS_H */
|