Setting Values Directly

The sample base_feed (contained in the <ILVHOME>/samples/protos directory) shows how to drive your interface from your application. Once you have downloaded a panel containing instances of prototypes, or created your instances in a manager or container, you retrieve the instances that you want to edit:

IlvGroupHolder* groupHolder= IlvGroupHolder::Get(manager);

IlvGroup* myThermometer= groupHolder->getGroup(“thermometer”);

Then, you change its values with the IlvGroup::changeValue method:

if (myThermometer)

myThermometer->changeValue(IlvValue(“temperature”,(IlUInt) 20)));