add TriggerSpec

can be used for trigger (.tr) controls. The gui creates a button that
lights up red when used. TriggerSpec can also hold another spec which
defines the range of values to be used. if not nil the gui will also
create a view for that spec.