[mcclim-devel] Update object of a presentation.

Knut Olav Bøhmer bohmer at gmail.com
Thu May 24 20:24:46 UTC 2007


Thank you for all the useful input. The stopwatch demo looks like a
good example. But I think my problem here now is that I'm trying to
update some arrows during the feedback function in drag-output-record.
Maybe some update/refresh functionality is suspended during this
function?



On 24/05/07, Paul Werkowski <pw at snoopy.mv.com> wrote:
> >
> > I have found it much more difficult to figure out how to take this UI
> > model and map it onto process control applications, which are of primary
> > interest to me.  In such applications, there is an external process,
> > operating asynchronously with the program, that sends (conceptually, at
> > any rate) updates that should be reflected on the display, so that the
> > user remains aware of the state of the process.
> >
> > Such applications seem to map less cleanly onto the CLIM model, and
> > *may* fit more nicely onto constraint-based UI frameworks like Garnet
> > and whatever that cells thing is...
> >
> >
>
> All you really have to do is modify your object and get REDISPLAY to
> run. This happens by default when :incremental-redisplay is true
> and the object modification is the result of a command (including some
> command invoked by define-presentation-to-command-translator).
>
> Look at Examples/stopwatch.lisp to see how an external process can cause
> the display to be updated.
>
> Paul
>
> _______________________________________________
> mcclim-devel mailing list
> mcclim-devel at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/mcclim-devel
>


-- 
Knut Olav Bøhmer



More information about the mcclim-devel mailing list