55 lines
2.1 KiB
C
55 lines
2.1 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_position_window_at_pointer (GtkWidget *window,
|
|
GtkWidget *parent);
|
|
void moo_window_set_parent (GtkWidget *window,
|
|
GtkWidget *parent);
|
|
|
|
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);
|
|
|
|
void _moo_window_set_remember_size (GtkWindow *window,
|
|
const char *prefs_key,
|
|
gboolean remember_position);
|
|
|
|
|
|
G_END_DECLS
|
|
|
|
#endif /* MOOUTILS_DIALOGS_H */
|