module timelinelib.canvas.data.eras

class timelinelib.canvas.data.eras.Eras[source]

Bases: object

The list of all eras defined for a timeline.

Contains function for cloning of the whole list which is a necessary operation for undo/redo operations.

__init__(now_func, eras=None)[source]

Initialize self. See help(type(self)) for accurate signature.

get_all()[source]
get_all_periods()[source]