Sync canFocus with a Observable!bool
sync target
sync source
register a sibscription into this
auto bag = new CompositeDisposable; auto entry = new Entry; auto button = new Button; button.setCanFocusWith(entry.changedAsObservable().map!"a.length > 5", bag);
See Implementation
Sync canFocus with a Observable!bool