Top |
TeplProgressInfoBarTeplProgressInfoBar — A TeplInfoBar containing a GtkProgressBar |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkBox ╰── GtkInfoBar ╰── TeplInfoBar ╰── TeplProgressInfoBar
TeplProgressInfoBar implements AtkImplementorIface, GtkBuildable and GtkOrientable.
TeplProgressInfoBar is a TeplInfoBar containing a GtkProgressBar and a GtkLabel. As every TeplInfoBar it can also contain an icon, and other widgets can be added by the application as well.
The GtkLabel content can be modified after the TeplProgressInfoBar has been created.
TeplProgressInfoBar * tepl_progress_info_bar_new (const gchar *icon_name
,const gchar *markup
,gboolean has_cancel_button
);
icon_name |
a value for the “icon-name” property, or
|
[nullable] |
markup |
if not |
[nullable] |
has_cancel_button |
a value for the “has-cancel-button” property. |
Since: 6.0
void tepl_progress_info_bar_set_markup (TeplProgressInfoBar *info_bar
,const gchar *markup
);
Calls gtk_label_set_markup()
on the GtkLabel contained within the info_bar
.
Since: 6.0
void tepl_progress_info_bar_set_text (TeplProgressInfoBar *info_bar
,const gchar *text
);
Calls gtk_label_set_text()
on the GtkLabel contained within the info_bar
.
Since: 6.0
void tepl_progress_info_bar_set_fraction (TeplProgressInfoBar *info_bar
,gdouble fraction
);
Calls gtk_progress_bar_set_fraction()
on the GtkProgressBar contained within
the info_bar
.
Since: 6.0
void
tepl_progress_info_bar_pulse (TeplProgressInfoBar *info_bar
);
Calls gtk_progress_bar_pulse()
on the GtkProgressBar contained within the
info_bar
.
Since: 6.0
“has-cancel-button”
property“has-cancel-button” gboolean
Whether to add a Cancel button in the action area of the GtkInfoBar,
with the GTK_RESPONSE_CANCEL
response.
Owner: TeplProgressInfoBar
Flags: Read / Write / Construct Only
Default value: TRUE
Since: 6.0