Tepl.ProgressInfoBar¶
- Subclasses:
None
Methods¶
- Inherited:
Tepl.InfoBar (14), Gtk.InfoBar (14), Gtk.Box (14), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Gtk.Orientable (2)
- Structs:
Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)
class |
|
|
|
|
|
|
|
|
Virtual Methods¶
Properties¶
- Inherited:
Tepl.InfoBar (3), Gtk.InfoBar (3), Gtk.Box (3), Gtk.Container (3), Gtk.Widget (39), Gtk.Orientable (1)
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w/co |
Child Properties¶
- Inherited:
Style Properties¶
- Inherited:
Signals¶
- Inherited:
Gtk.InfoBar (2), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)
Fields¶
- Inherited:
Gtk.InfoBar (2), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)
Name |
Type |
Access |
Description |
|---|---|---|---|
parent |
r |
Class Details¶
- class Tepl.ProgressInfoBar(*args, **kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(icon_name, markup, has_cancel_button)¶
- Parameters:
icon_name (
strorNone) – a value for theTepl.InfoBar:icon-nameproperty, orNone.markup (
strorNone) – if notNone,Tepl.ProgressInfoBar.set_markup() is called.has_cancel_button (
bool) – a value for theTepl.ProgressInfoBar:has-cancel-buttonproperty.
- Returns:
a new
Tepl.ProgressInfoBarwidget.- Return type:
New in version 6.0.
- pulse()¶
Calls
Gtk.ProgressBar.pulse() on theGtk.ProgressBarcontained within the self.New in version 6.0.
- set_fraction(fraction)¶
- Parameters:
fraction (
float) – fraction of the task that’s been completed.
Calls
Gtk.ProgressBar.set_fraction() on theGtk.ProgressBarcontained within the self.New in version 6.0.
- set_markup(markup)¶
- Parameters:
markup (
str) – markup text.
Calls
Gtk.Label.set_markup() on theGtk.Labelcontained within the self.New in version 6.0.
- set_text(text)¶
- Parameters:
text (
str) – text.
Calls
Gtk.Label.set_text() on theGtk.Labelcontained within the self.New in version 6.0.
Property Details¶
- Tepl.ProgressInfoBar.props.has_cancel_button¶
- Name:
has-cancel-button- Type:
- Default Value:
- Flags:
Whether to add a Cancel button in the action area of the
Gtk.InfoBar, with theGtk.ResponseType.CANCELresponse.New in version 6.0.