Changes the state of the button to state.
state
May only be called on a remote desktop session with `XDP_DEVICE_POINTER` access.
a [class@Session]
the button
the new state