[mcclim-devel] access local application-frame in command

Rainer Joswig joswig at lisp.de
Mon Jun 25 10:02:48 UTC 2012


In CLIM *application-frame* is a global special variable, but within a context of an command of a application frame, you would automatically use the dynamic binding.

Regards,

Rainer Joswig

Am 25.06.2012 um 11:25 schrieb Orm Finnendahl <o.finnendahl at inm.mh-freiburg.de>:

> Hi,
> 
> I'm having trouble to find out, how to write a quit command without
> using a global *application-frame* variable.
> 
> The idea is to be able to create more than one application frame and
> to encapsulate everything into the frame, applying menu commands only
> to the frame in which the command was issued. I looked into the
> examples but all seem to be happy with a global *application-frame*
> variable.
> 
> A similar issue concerns different key-to-command mappings in
> different panes of the same application. In an editor pane the arrow
> keys should be used for cursor movement and in other panes they could
> mean different things. Do I have to move the dispatch into the command
> invoked by the arrow keys or is there another mechanism built into
> mcclim which enbales the use of different mappings in different panes?
> 
> Thanks for any help,
> Orm
> ------------------------------------------------------------------
> Prof. Orm Finnendahl
> Komposition
> Studio für elektronische Musik und Akustik
> Musikhochschule Freiburg
> Schwarzwaldstr. 141
> 79102 Freiburg
> Tel.: +49-761-31915-167
> 
> _______________________________________________
> mcclim-devel mailing list
> mcclim-devel at common-lisp.net
> http://lists.common-lisp.net/cgi-bin/mailman/listinfo/mcclim-devel





More information about the mcclim-devel mailing list