bf30d5647c16f795e300c181f128339537532087
[hildon] / hildon-widgets / gtk-infoprint.h
1 /*
2  * This file is part of hildon-libs
3  *
4  * Copyright (C) 2005, 2006 Nokia Corporation.
5  *
6  * Contact: Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public License
10  * as published by the Free Software Foundation; version 2.1 of
11  * the License.
12  *
13  * This library is distributed in the hope that it will be useful, but
14  * WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16  * Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with this library; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
21  * 02110-1301 USA
22  *
23  */
24
25 #ifndef __GTK_INFOPRINT_H__
26 #define __GTK_INFOPRINT_H__
27
28 #include <gtk/gtkwindow.h>
29
30 G_BEGIN_DECLS void gtk_infoprint(GtkWindow * parent, const gchar * text);
31 void gtk_infoprint_with_icon_stock(GtkWindow * parent, const gchar * text,
32                                    const gchar * stock_id);
33 void gtk_infoprint_with_icon_name(GtkWindow * parent, const gchar * text,
34                                    const gchar * icon_name);
35
36 void gtk_infoprintf(GtkWindow * parent, const gchar * format, ...);
37 void gtk_infoprint_temporarily_disable_wrap(void);
38
39 void gtk_confirmation_banner_with_icon_name(GtkWindow * parent, const gchar * text,
40                              const gchar * icon_name);
41 void gtk_confirmation_banner(GtkWindow * parent, const gchar * text,
42                              const gchar * stock_id);
43
44 void gtk_banner_show_animation(GtkWindow * parent, const gchar * text);
45 void gtk_banner_show_bar(GtkWindow * parent, const gchar * text);
46 void gtk_banner_set_text(GtkWindow * parent, const gchar * text);
47 void gtk_banner_set_fraction(GtkWindow * parent, gdouble fraction);
48 void gtk_banner_close(GtkWindow * parent);
49 void gtk_banner_temporarily_disable_wrap(void);
50
51 G_END_DECLS
52 #endif /* __GTK_INFOPRINT_H__ */