Perl/Tk saves your favorite tools | |||
Main back: Derived widget -1 next: Mega widget -1 |
ConfigSpecs is a list of new and overruled widget-options. The
options can be handled various ways. For derived widgets, the choice is
limited: methods and passive options.
When the value of a METHOD-option is changed by
A
Within your own widget, you have to use You may write $obj->values([4,5])as equivalent to $obj->configure(-values => [4,5])but in former case, the current values are not stored in the internal widget structure. In the latter it will. Also, the latter hides the internal organisation of the object better, providing ways for future improvements of the widgets behaviour. | ||
Created by Mark Overmeer with PPresenter on 22 May 2000. |