Local and inherited conditions

Local conditions

can be applied to any object

  UBox& box = uhbox
  (
    UOn::enter      / UBgcolor::yellow
    + UOn::select   / uima(minus.gif")
    + UOn::unselect / uima(plus.gif")
    + "my button"
    + UOn::action   / ucall("abcd", obj, foo)
  );

Global conditions

inherited in the instance graph