EZ
Up Prev Next Contents


2.9.1 Scan Resource Database At a Later Time

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.


HTML Documentation Maintainance:Arturo Espinosa <arturo@nuclecu.unam.mx>