gws.base.printer.core
¶
Source code: gws.base.printer.core
Module Contents¶
- class gws.base.printer.core.Config(*args, **kwargs)¶
Bases:
gws.Config
Printer configuration
- models: list[gws.ext.config.model] | None¶
Data models
- qualityLevels: list[gws.TemplateQualityLevel] | None¶
Quality levels supported by this printer
- template: gws.ext.config.template¶
Print template
- title: str = ''¶
Printer title
- class gws.base.printer.core.Object¶
Bases:
gws.Printer
Printer object.
- configure()¶
Configuration hook.
- props(user)¶
Generate a
Props
struct for this object.- Parameters:
user – The user for which the props should be generated.
- class gws.base.printer.core.Props(*args, **kwargs)¶
Bases:
gws.Props
Object properties.
- model: gws.base.model.Props¶
- qualityLevels: list[gws.TemplateQualityLevel]¶
- template: gws.base.template.Props¶
- title: str¶