ToggleGo

class reducer.gui.ToggleGo(*args, **kwd)[source]

Bases: reducer.gui.ToggleContainer

ToggleContainer whose state is linked to a button.

The intent is for that button to be activated when the contents of the container are in a “sane” state.

Attributes Summary

is_sane
progress_bar

Methods Summary

action() The default action is to invoke the action of each child with an update of the progress bar along the way.
format() Format the widget; must be invoked after displaying the widget.
go() Returns the action to be taken when the “Go” button is clicked.
state_change_handler() Ties sanity state to go button controls and others
unlock() Handler for the unlock button.

Attributes Documentation

is_sane
progress_bar

Methods Documentation

action()[source]

The default action is to invoke the action of each child with an update of the progress bar along the way.

format()[source]

Format the widget; must be invoked after displaying the widget.

go()[source]

Returns the action to be taken when the “Go” button is clicked.

state_change_handler()[source]

Ties sanity state to go button controls and others

unlock()[source]

Handler for the unlock button.