Called by the observation code, we are interested in
        __setitem__
540732
def _on_prop_changed(self, instance, meth_name, res, args, kwargs):
        """"""
        if  not self._itsme and meth_name == "__setitem__": self.update_widget(args[0])
        return
308897
@Override
  public final void setItem(final ServiceToSale pService) {
    this.item = pService;
    if (this.itsId == null) {
      this.itsId = new ServicePlaceId();
    }
    this.itsId.setItem(this.item);
  }
195202
def set(self, value: Optional[bool]):
        
        prev_value = self._value
        self._value = value
        if self._value != prev_value:
            # notify all watchers that this check was changed
            for event in self._events:
                event.set()
16974
protected void onSelectedItemsChanged() {
        final Collection<ItemT> selectedItems = getSelectedItems();
        if (selectedItems.isEmpty()) {
            anchorLabel();
            getInputWidget().setText("");
        } else {
            getInputWidget().setText(getItemPrinter().printCollection(selectedItems));
            floatLabel();
        }
        if (itemPickerListener != null) itemPickerListener.onSelectionChanged(this, selectedItems);
    }
1252986
def _direct_set(self, key, value):
        '''
            

        '''
        dict.__setitem__(self, key, value)
        return value
665977
function observeObject(o, observer) {
  return o && typeof o === 'object' && observe(o, observer, observer.keys);
}
661568
@Override
  public final void setItem(final SeService pSeService) {
    this.item = pSeService;
    if (this.itsId == null) {
      this.itsId = new SeServicePlaceId();
    }
    this.itsId.setItem(this.item);
  }
1153422
def on_selection_changed(self):
        
        d = self.declaration
        selection = self.scene.selectedItems()
        self._guards |= 0x01
        try:
            d.selected_items = [item.ref().declaration for item in selection
                                if item.ref()]
        finally:
            self._guards &= ~0x01
111741
public void observe(int variable, int value) {
    getVariableMetaDataByReference(variable).put(CliqueTree.VARIABLE_OBSERVED_VALUE, Integer.toString(value));
  }
819638
def enterEvent( self, event ):
        
        item = self.trackerItem()
        if ( item ):
            item.setVisible(True)
161887
function (code, items) {
        var langData = data[code];

        if (!langData) {
          data[code] = langData = {};
        }

        for (var name in items) {
          langData[name] = items[name];
        }

        this.setCode(code);
      }
301371
function add(name) {

    function set(v) {
      var oldValue = shadow[name];
      if (oldValue === v) return;
      o[name] = v;
      notifier.notify({type: 'update', object: u, name, oldValue});
      shadow[name] = oldValue.change(v);
    }

    // When property on upwardable object is accessed, report it and return shadow value.
    function get() {
      accessNotifier.notify({type: 'access', object: u, name});
      return shadow[name];
    }

    function observe(changes) {
//      changes.forEach(change => shadow[name] = shadow[name].change(change.newValue));
//      observers[name].reobserve(shadow[name]);
    }

    shadow[name] = makeUpwardable(o[name]);
    observers[name] = Observer(shadow[name], observe, ['upward']).observe();
    defineProperty(u, name, {set: set, get: get, enumerable: true});
  }
315070
@Override
  public final void setItem(final InvItem pGoods) {
    this.item = pGoods;
    if (this.itsId == null) {
      this.itsId = new PriceGoodsId();
    }
    this.itsId.setItem(this.item);
  }
626925
protected void _setMembership(Membership membership, AbstractItem item)
    {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.entry(this, tc, "_setMembership", new Object[] { membership, item });

        item._setMembership(membership);

        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.exit(this, tc, "_setMembership");
    }
145513
function observe (value) {
	  if (!isObject(value)) {
	    return
	  }
	  var ob;
	  if (hasOwn(value, '__ob__') && value.__ob__ instanceof Observer) {
	    ob = value.__ob__;
	  } else if (
	    observerState.shouldConvert &&
	    !config._isServer &&
	    (Array.isArray(value) || isPlainObject(value)) &&
	    Object.isExtensible(value) &&
	    !value._isVue
	  ) {
	    ob = new Observer(value);
	  }
	  return ob
	}
811343
function () {
                var info = getValueAndObserved(getterSetter, context),
                    newObserveSet = info.observed;

                var value = info.value;
                matched = !matched;

                // go through every attribute read by this observe
                can.each(newObserveSet, function (ob) {
                    // if the observe/attribute pair is being observed
                    if (observing[ob.obj._cid + "|" + ob.attr]) {
                        // mark at as observed
                        observing[ob.obj._cid + "|" + ob.attr].matched = matched;
                    } else {
                        // otherwise, set the observe/attribute on oldObserved, marking it as being observed
                        observing[ob.obj._cid + "|" + ob.attr] = {
                            matched: matched,
                            observe: ob
                        };
                        ob.obj.bind(ob.attr, onchanged);
                    }
                });

                // Iterate through oldObserved, looking for observe/attributes
                // that are no longer being bound and unbind them
                for (var name in observing) {
                    var ob = observing[name];
                    if (ob.matched !== matched) {
                        ob.observe.obj.unbind(ob.observe.attr, onchanged);
                        delete observing[name];
                    }
                }
                return value;
            }
751835
public void setValueSelected(T value, boolean selected) {
        int idx = getIndex(value);
        if (idx >= 0) {
            setItemSelectedInternal(idx, selected);
        }
    }