In EZwgl, one can scan the resource database anytime after initialization. The procedure responsible for searching the database for widget resources is
void EZ_GetAndUseWidgetResources(EZ_Widget *widget)
When invoked, it scans the resource database for resources relevent to widget and its descendants and set the resource (attribute) values accordingly.
To set resources for components of a composite
widget, one first extract the components of the
composite widget using EZ_Get***Components
,
then invoke EZ_ConfigureWidget
on the
components to give them an instanceName or ClassName,
then call EZ_GetAndUseWidgetResources
on the
composite widget to rescan and set the resources
values.