Sets the state of a widget flag sensitivity group.
Widget sensitivity states are then updated accordingly.
More precisely, widget will be made sensitive when all bits in its
mask are set in current sensgroup
state, insensitive otherwise. This means when mask
is zero, widget will be always sensitive.
- Parameters:
affected_mask - Which bits in state to copy to
sensgroup state. 1's in
affected_mask causes corresponding bits in
sensgroup state to be set to the value of
corresponding bit in state . 0's in
affected_mask cause corresponding state bits
to be kept on their current value. (int)
state - The new state of sensgroup (masked with
affected_mask ). (int)
|