hildon-libs 0.14.11 Reference Manual |
---|
gtk-infoprintgtk-infoprint — deprecated widget. Use HildonBanner instead |
void gtk_infoprint_with_icon_stock (GtkWindow *parent, const gchar *text, const gchar *stock_id); void gtk_infoprint_with_icon_name (GtkWindow *parent, const gchar *text, const gchar *icon_name); void gtk_infoprintf (GtkWindow *parent, const gchar *format, ...); void gtk_infoprint_temporarily_disable_wrap (void); void gtk_confirmation_banner_with_icon_name (GtkWindow *parent, const gchar *text, const gchar *icon_name); void gtk_confirmation_banner (GtkWindow *parent, const gchar *text, const gchar *stock_id); void gtk_banner_show_animation (GtkWindow *parent, const gchar *text); void gtk_banner_show_bar (GtkWindow *parent, const gchar *text); void gtk_banner_set_text (GtkWindow *parent, const gchar *text); void gtk_banner_set_fraction (GtkWindow *parent, gdouble fraction); void gtk_banner_close (GtkWindow *parent); void gtk_banner_temporarily_disable_wrap (void);
This widget is deprecated. Use HildonBanner instead
A widget which provides methods to show a small amount of information for the user. There is three different types of infoprints and two different types of banners. Infoprint options are a normal infoprint with default icon, an infoprint with a stockicon (determined by developer). Third version provides a similar interface as a printf function has. The banners are used to show a progress of event. The progress can be shown with a progressbar or with an animation.
gtk_infoprint( window, "This is a default infoprint" ); gtk_banner_show_animation( window, "This is an animated banner" );
void gtk_infoprint_with_icon_stock (GtkWindow *parent, const gchar *text, const gchar *stock_id);
gtk_infoprint_with_icon_stock
is deprecated and should not be used in newly-written code. Use hildon_banner_show_information instead.
Opens a new infoprint with text
content.
With this function you can also set a custom icon
by giving a stock id as last parameter.
If parent is NULL
, the infoprint is a system infoprint.
Normally you should use your application window
or dialog as a transient parent and avoid passing NULL
.
parent : |
The transient window for the infoprint. |
text : |
The text in infoprint |
stock_id : |
The stock id of the custom icon |
void gtk_infoprint_with_icon_name (GtkWindow *parent, const gchar *text, const gchar *icon_name);
gtk_infoprint_with_icon_name
is deprecated and should not be used in newly-written code. Use hildon_banner_show_information instead.
Opens a new infoprint with text
content.
With this function you can also set a custom icon
by giving a icon name as last parameter.
If parent is NULL
, the infoprint is a system infoprint.
Normally you should use your application window
or dialog as a transient parent and avoid passing NULL
.
parent : |
The transient window for the infoprint. |
text : |
The text in infoprint |
icon_name : |
The name of the icon |
void gtk_infoprintf (GtkWindow *parent, const gchar *format, ...);
gtk_infoprintf
is deprecated and should not be used in newly-written code. Use hildon_banner_show_information instead.
Opens a new infoprint with text
printf-style formatting
string and comma-separated list of parameters.
If parent is NULL
, the infoprint is a system infoprint.
This version of infoprint allow you to make printf-like formatting
easily.
parent : |
The transient window for the infoprint. |
format : |
Format of the text. |
... : |
List of parameters. |
void gtk_infoprint_temporarily_disable_wrap (void);
gtk_infoprint_temporarily_disable_wrap
is deprecated and should not be used in newly-written code.
Will disable wrapping for the next shown infoprint. This only affects next infoprint shown in this application.
Currently it does nothing.
void gtk_confirmation_banner_with_icon_name (GtkWindow *parent, const gchar *text, const gchar *icon_name);
gtk_confirmation_banner_with_icon_name
is deprecated and should not be used in newly-written code. Use hildon_banner_show_information instead.
Opens a new confirmation banner with text
content.
With this function you can also set a custom icon
by giving a icon theme's icon name as last parameter.
If parent is NULL
, the banner is a system banner.
Normally you should use your application window
or dialog as a transient parent and avoid passing NULL
.
This function is otherwise similar to gtk_infoprint_with_icon_name except in always restricts the text to one line and the font is emphasized.
parent : |
The transient window for the confirmation banner. |
text : |
The text in confirmation banner |
icon_name : |
The name of the custom icon in icon theme |
void gtk_confirmation_banner (GtkWindow *parent, const gchar *text, const gchar *stock_id);
gtk_confirmation_banner
is deprecated and should not be used in newly-written code. Use hildon_banner_show_information instead.
Opens a new confirmation banner with text
content.
With this function you can also set a custom icon
by giving a stock id as last parameter.
If parent is NULL
, the banner is a system banner.
Normally you should use your application window
or dialog as a transient parent and avoid passing NULL
.
This function is otherwise similar to gtk_infoprint_with_icon_stock except in always restricts the text to one line and the font is emphasized.
parent : |
The transient window for the confirmation banner. |
text : |
The text in confirmation banner |
stock_id : |
The stock id of the custom icon |
void gtk_banner_show_animation (GtkWindow *parent, const gchar *text);
gtk_banner_show_animation
is deprecated and should not be used in newly-written code. Use hildon_banner_show_animation instead.
The text
is the text shown in banner.
Creates a new banner with the animation.
parent : |
GtkWindow |
text : |
const gchar * |
void gtk_banner_show_bar (GtkWindow *parent, const gchar *text);
gtk_banner_show_bar
is deprecated and should not be used in newly-written code. Use hildon_banner_show_progress instead.
The text
is the text shown in banner.
Creates a new banner with the progressbar.
parent : |
GtkWindow |
text : |
const gchar * |
void gtk_banner_set_text (GtkWindow *parent, const gchar *text);
gtk_banner_set_text
is deprecated and should not be used in newly-written code. Use hildon_banner_set_text instead.
The text
is the text shown in banner.
Sets the banner text.
parent : |
GtkWindow |
text : |
const gchar * |
void gtk_banner_set_fraction (GtkWindow *parent, gdouble fraction);
gtk_banner_set_fraction
is deprecated and should not be used in newly-written code. Use hildon_banner_set_fraction instead.
The fraction is the completion of progressbar, the scale is from 0.0 to 1.0. Sets the amount of fraction the progressbar has.
parent : |
GtkWindow |
fraction : |
gdouble |
void gtk_banner_close (GtkWindow *parent);
gtk_banner_close
is deprecated and should not be used in newly-written code.
Destroys the banner
parent : |
GtkWindow |
void gtk_banner_temporarily_disable_wrap (void);
gtk_banner_temporarily_disable_wrap
is deprecated and should not be used in newly-written code.
Will disable wrapping for the next shown banner. This only affects next banner shown in this application.
Currently it does nothing.
<< Notifications | HildonBanner >> |