[GUI] Setting properties of a widget.
Vincenzo Ciancia
ciancia@cli.di.unipi.it
Sat, 29 Mar 2003 21:18:10 +0100
On Sat, 29 Mar 2003 08:34:00 -0800 (PST)
David Sankel <camio@yahoo.com> wrote:
>
> I can't think of any widgets that could utilize this
> in an elegant way.
When you modify a state of type a by setting a property of type b, or by
changing something that it's not the "whole" state, you get an example
of a write-only property.
This is not the only way to model the... thing.
Consider a progress bar or a volume control, where you can increment the
value by a relative amount. This is a write-only property, but only if
you want to model the interface of a relative increase by a property.
There might be better ways.
Vincenzo