set_state

Widget.set_state(sync_data)[source]

Called when a state is received from the front-end.