Skip to content

fontlabapp.core.history.masters.MasterEdit

MasterEdit dataclass

The callbacks for one master. Each runs while that master is selected.

save(): return the native state that restore needs (for example copies of native zones). write(): write the new values. read(): return plain, comparable values. verify(value): return one text per difference between value and the plan. restore(saved): write the save() state back; read() must then equal its first value.

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
read attribute Callable[[], Any]
restore attribute Callable[[Any], None]
save attribute Callable[[], Any]
verify attribute Callable[[Any], Iterable[str]]
write attribute Callable[[], None]