Tepl.ProgressInfoBar

g Atk.ImplementorIface Atk.ImplementorIface Gtk.Widget Gtk.Widget Atk.ImplementorIface->Gtk.Widget GObject.GInterface GObject.GInterface GObject.GInterface->Atk.ImplementorIface Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable Gtk.Orientable Gtk.Orientable GObject.GInterface->Gtk.Orientable GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gtk.Box Gtk.Box Gtk.InfoBar Gtk.InfoBar Gtk.Box->Gtk.InfoBar Gtk.Buildable->Gtk.Widget Gtk.Container Gtk.Container Gtk.Container->Gtk.Box Tepl.InfoBar Tepl.InfoBar Gtk.InfoBar->Tepl.InfoBar Gtk.Orientable->Gtk.Box Gtk.Widget->Gtk.Container Tepl.ProgressInfoBar Tepl.ProgressInfoBar Tepl.InfoBar->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

new (icon_name, markup, has_cancel_button)

pulse ()

set_fraction (fraction)

set_markup (markup)

set_text (text)

Virtual Methods

Inherited:

Gtk.InfoBar (2), Gtk.Container (10), Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10)

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

has-cancel-button

bool

r/w/co

Child Properties

Inherited:

Gtk.Box (5)

Style Properties

Inherited:

Gtk.InfoBar (4), Gtk.Widget (17)

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

Tepl.InfoBar

r

Class Details

class Tepl.ProgressInfoBar(*args, **kwargs)
Bases:

Tepl.InfoBar

Abstract:

No

Structure:

Tepl.ProgressInfoBarClass

classmethod new(icon_name, markup, has_cancel_button)
Parameters:
Returns:

a new Tepl.ProgressInfoBar widget.

Return type:

Tepl.ProgressInfoBar

New in version 6.0.

pulse()

Calls Gtk.ProgressBar.pulse() on the Gtk.ProgressBar contained 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 the Gtk.ProgressBar contained within the self.

New in version 6.0.

set_markup(markup)
Parameters:

markup (str) – markup text.

Calls Gtk.Label.set_markup() on the Gtk.Label contained within the self.

New in version 6.0.

set_text(text)
Parameters:

text (str) – text.

Calls Gtk.Label.set_text() on the Gtk.Label contained within the self.

New in version 6.0.

Property Details

Tepl.ProgressInfoBar.props.has_cancel_button
Name:

has-cancel-button

Type:

bool

Default Value:

True

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Whether to add a Cancel button in the action area of the Gtk.InfoBar, with the Gtk.ResponseType.CANCEL response.

New in version 6.0.