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