Workrave.Timerbox¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
Set workrave’s name |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class Workrave.Timerbox(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- draw(cr)¶
- Parameters:
cr (
cairo.Context
) – a cairo_t where the timerbox will be drawn into
- get_time_bar(timer)¶
- Parameters:
timer (
Workrave.BreakId
) – the ID of theWorkrave.Timebar
to return- Returns:
The WorkraveTimebar of the specified timer
- Return type:
- set_slot(slot, brk)¶
- Parameters:
slot (
int
) – slot to setbrk (
Workrave.BreakId
) – break to put in slot
Property Details¶
- Workrave.Timerbox.props.workrave¶
- Name:
workrave
- Type:
- Default Value:
'no-name-set'
- Flags:
Set workrave’s name