Workrave.Timebar

g GObject.Object GObject.Object Workrave.Timebar Workrave.Timebar GObject.Object->Workrave.Timebar

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

do_action (param)

draw (cr)

get_dimensions (width, height)

set_progress (value, max_value, color)

set_secondary_progress (value, max_value, color)

set_text (text)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

GObject.Object

r

Class Details

class Workrave.Timebar(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Workrave.TimebarClass

do_action(param)
Parameters:

param (int) –

draw(cr)
Parameters:

cr (cairo.Context) –

get_dimensions(width, height)
Parameters:
  • width (int) –

  • height (int) –

set_progress(value, max_value, color)
Parameters:
set_secondary_progress(value, max_value, color)
Parameters:
set_text(text)
Parameters:

text (str) –