2 * This file is a part of hildon
4 * Copyright (C) 2005, 2006 Nokia Corporation, all rights reserved.
6 * Contact: Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
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, or (at your option) any later version.
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.
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
25 #ifndef __HILDON_BANNER_H__
26 #define __HILDON_BANNER_H__
32 #define HILDON_TYPE_BANNER \
33 (hildon_banner_get_type())
35 #define HILDON_BANNER(obj) \
36 (G_TYPE_CHECK_INSTANCE_CAST((obj), \
37 HILDON_TYPE_BANNER, HildonBanner))
39 #define HILDON_IS_BANNER(obj) \
40 (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
43 typedef struct _HildonBanner HildonBanner;
45 typedef struct _HildonBannerClass HildonBannerClass;
52 struct _HildonBannerClass
54 GtkWindowClass parent_class;
58 hildon_banner_get_type (void);
61 hildon_banner_show_information (GtkWidget *widget,
62 const gchar *icon_name,
66 hildon_banner_show_informationf (GtkWidget *widget,
67 const gchar *icon_name,
72 hildon_banner_show_information_with_markup (GtkWidget *widget,
73 const gchar *icon_name,
77 hildon_banner_show_animation (GtkWidget *widget,
78 const gchar *animation_name,
82 hildon_banner_show_progress (GtkWidget *widget,
87 hildon_banner_set_text (HildonBanner *self,
91 hildon_banner_set_markup (HildonBanner *self,
95 hildon_banner_set_fraction (HildonBanner *self,
99 hildon_banner_set_icon (HildonBanner *self,
100 const gchar *icon_name);
103 hildon_banner_set_icon_from_file (HildonBanner *self,
104 const gchar *icon_file);
107 hildon_banner_set_timeout (HildonBanner *self,
112 #endif /* __HILDON_BANNER_H__ */