RendererArg¶
-
class
maze.core.rendering.renderer_args.
RendererArg
(name: str, title: str)¶ Interface for classes exposing arguments available at renderers.
Example such argument: ID of a distribution center that we want to render a detail of.
Subclasses of this class should also define how to convert these argument definitions into interactive controls that can be displayed to the user (currently only ipython widgets, though more types of controls can be added in the future).
- Parameters
name – Name of the argument as it should be passed to the renderer
title – Name of the argument as it should be displayed to the user
-
abstract
create_widget
()¶ Build an ipython widget that can be used to control the value of this argument by the user.