SpectAcoular documentation

factory

«  spectacoular.bokehview.add_bokeh_attr   ::   Reference Manual   ::   spectacoular.factory.get_widgets  »

factory

Implements factory for trait to widget translation.

get_widgets(self[, trait_widget_mapper, ...])

This function creates a View (a bunch of instanciated widgets without a layout) defined by the trait_widget_mapper mapping attribute of the given object (or specified via get_widgets() method arguments).

BaseSpectacoular

Base class for any class defined in the SpectAcoular module.

NumericInputMapper(obj, traitname)

Factory that creates NumericInput widget from a class trait attribute of type Int.

ToggleMapper(obj, traitname)

Factory that creates Toggle widget from a class trait attribute of type Bool.

TextInputMapper(obj, traitname)

Factory that creates TextInput widget from a class trait attribute.

SelectMapper(obj, traitname)

Factory that creates Select widget from a class trait attribute.

SliderMapper(obj, traitname)

Factory that creates Slider widget from a class trait attribute.

DataTableMapper(obj, traitname)

Factory that creates DataTable widget from a class trait attribute.

«  spectacoular.bokehview.add_bokeh_attr   ::   Reference Manual   ::   spectacoular.factory.get_widgets  »