Class type Widget.selector

inherit 'a signal
method set : 'a -> unit
method get : 'a
method send : ( 'a -> unit ) -> unit -> unit

send f calls f with the current value via the signal lock.