Have btngroup change its content dynamically

How do I setup a btngroup in StippleUI to dynamically change the buttons (their functions and labels) it contains? I want the buttons to depend on some input (i.e. one of the model’s parameters)?

Politely pinging @hhaensel @essenciary