medit/moo/mooutils/moodialogs.h

54 lines
2.1 KiB
C
Raw Normal View History

2005-06-22 18:20:32 +00:00
/*
2007-06-24 12:56:20 -05:00
* moodialogs.h
2005-06-22 18:20:32 +00:00
*
2007-06-24 12:56:20 -05:00
* Copyright (C) 2004-2007 by Yevgen Muntyan <muntyan@math.tamu.edu>
2005-06-22 18:20:32 +00:00
*
2007-06-24 12:56:20 -05:00
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
2007-09-23 11:47:28 -05:00
* License version 2.1 as published by the Free Software Foundation.
2005-06-22 18:20:32 +00:00
*
* See COPYING file that comes with this distribution.
*/
#ifndef MOOUTILS_DIALOGS_H
#define MOOUTILS_DIALOGS_H
#include <gtk/gtkmessagedialog.h>
2006-04-13 05:02:33 -05:00
#include "mooutils/moofiledialog.h"
2005-06-22 18:20:32 +00:00
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);
2006-06-27 16:20:46 -05:00
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);
2005-06-22 18:20:32 +00:00
2006-11-19 12:36:05 -06:00
void _moo_window_set_remember_size (GtkWindow *window,
const char *prefs_key,
gboolean remember_position);
2005-06-22 18:20:32 +00:00
G_END_DECLS
#endif /* MOOUTILS_DIALOGS_H */