LayoutConfig
- class LayoutConfig[source]
Bases:
Config
The class representation for the layout.json of the Layout class. The layout.json contains all the settings about the viewer application it self: width, height, fullscreen, …
- Parameters:
- window
compas_viewer.configurations.layout_config.WindowConfig
The window configuration.
- statusbar
compas_viewer.configurations.layout_config.StatusbarConfig
The status bar configuration.
- menubar
compas_viewer.configurations.layout_config.MenubarConfig
The menu bar configuration.
- viewport
compas_viewer.configurations.layout_config.ViewportConfig
The viewport configuration.
- toolbar
compas_viewer.configurations.layout_config.ToolbarConfig
The toolbar configuration.
- window
See also
compas_viewer.configurations.layout_config.WindowConfig
compas_viewer.configurations.layout_config.StatusbarConfig
compas_viewer.configurations.layout_config.MenubarConfig
compas_viewer.configurations.layout_config.ViewportConfig
compas_viewer.configurations.layout_config.ToolbarConfig
compas_viewer.layout.Layout
Methods
Load the default configuration.
Construct an object of this type from a JSON file.
Inherited Methods
Converts the instance to a string.
Make an independent copy of the data object.
Construct an object of this type from a JSON string.
Compute a hash of the data for comparison during version control using the sha256 algorithm.
Convert an object to its native data representation and save it to a JSON file.
Convert an object to its native data representation and save it to a JSON string.
Validate the data against the object's data schema.