gws.base.printer
¶
Source code: gws.base.printer
Submodules¶
Package Contents¶
- class gws.base.printer.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.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.Props(*args, **kwargs)¶
Bases:
gws.Props
Object properties.
- model: gws.base.model.Props¶
- qualityLevels: list[gws.TemplateQualityLevel]¶
- template: gws.base.template.Props¶
- title: str¶