Re: Setting properties of a widget.
Vincenzo Ciancia <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.gui |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 29 Mar 2003 08:34:00 -0800 (PST) David Sankel <[email protected]> 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