#include <banner.h>
Inheritance diagram for Hildon::Banner:
Public Member Functions | |
virtual | ~Banner () |
HildonBanner * | gobj () |
Provides access to the underlying C GtkObject. | |
const HildonBanner * | gobj () const |
Provides access to the underlying C GtkObject. | |
void | set_text (const Glib::ustring &text) |
Sets the text that is displayed in the banner. | |
void | set_markup (const Glib::ustring &markup) |
Sets the text with markup that is displayed in the banner. | |
void | set_fraction (double fraction) |
Static Public Member Functions | |
static void | show_information (Gtk::Widget &widget, const Glib::ustring &icon_name, const Glib::ustring &text) |
This function creates and displays an information banner that automatically goes away after certain time period. | |
static void | show_information (Gtk::Widget &widget, const Glib::ustring &text) |
static void | show_information_with_markup (Gtk::Widget &widget, const Glib::ustring &icon_name, const Glib::ustring &markup) |
This function creates and displays an information banner that automatically goes away after certain time period. | |
static void | show_information_with_markup (Gtk::Widget &widget, const Glib::ustring &markup) |
static Banner * | show_animation (Gtk::Widget &widget, const Glib::ustring &animation_name, const Glib::ustring &text) |
Shows an animated progress notification. | |
static Banner * | show_animation (Gtk::Widget &widget, const Glib::ustring &animation_name) |
static Banner * | show_progress (Gtk::Widget &widget, Gtk::ProgressBar &bar, const Glib::ustring &text) |
Shows progress notification. | |
static Banner * | show_progress (Gtk::Widget &widget, const Glib::ustring &text) |
Protected Member Functions | |
Banner () | |
Related Functions | |
(Note that these are not member functions.) | |
Hildon::Banner * | wrap (HildonBanner *object, bool take_copy=false) |
|
|
|
|
|
Provides access to the underlying C GtkObject.
|
|
Provides access to the underlying C GtkObject.
|
|
|
|
Sets the text with markup that is displayed in the banner. Since: 0.12.8
|
|
Sets the text that is displayed in the banner. Since: 0.12.2
|
|
|
|
Shows an animated progress notification. It's recommended not to try to show more than one progress notification at a time, since they will appear on top of each other. You can use progress notifications with timed banners. In this case the banners are located so that you can somehow see both. Please note that banners are destroyed automatically once the window they are attached to is closed. The pointer that you receive with this function do not contain additional references, so it can become invalid without warning (this is true for all toplevel windows in gtk). To make sure that the banner do not disapear automatically, you can separately ref the return value (this doesn't prevent the banner from disappearing, but the object it just not finalized). In this case you have to call both gtk_widget_destroy followed by g_object_unref (in this order).
|
|
|
|
This function creates and displays an information banner that automatically goes away after certain time period. For each window in your application there can only be one timed banner, so if you spawn a new banner before the earlier one has timed out, the previous one will be replaced. Since: 0.12.2
|
|
|
|
This function creates and displays an information banner that automatically goes away after certain time period. For each window in your application there can only be one timed banner, so if you spawn a new banner before the earlier one has timed out, the previous one will be replaced. Since: 0.12.8
|
|
|
|
Shows progress notification. See hildon_banner_show_animation for more information.
|
|
|