Next: Summary of Widget Up: Declaring and Using Previous: Public Variable Configuration


Configuration Methods and Public Variable Initialization 

For efficiency reasons, the configuration methods are not called during the intialization of the public variables. If you want to force the configuration method to be called for a particular public variable, you can specify it in the -forcecall section of the class declaration. In the following example, we force the configuration method of the -direction variable to be called during intialization:

-forcecall {