Lisp HUG Maillist Archive

Event handling

Hello,

In the elegant and logical progression of the CAPI¹s classes, the irruption
of output-pane (for panes) or pinboard-layout (for layouts) seems a little
bit abrupt to me. As says the doc ³two very useful pieces of codes² come
with these classes : event-handling and drawing capabilities.
It seems impossible to detach these two important things. But, if I¹m not
wrong, drawing capabilities and event-handling are two different things:
it¹s would not be necessary to have one to have the other.

Drawing capabilities without event-handler are certainly possible because
the gp:graphic-port-mixin exist as a independent class.
To deal with event-handling, I don¹t see any solution but to create some
descendant of output-pane or pinboard-layout, because a mixin-class witch
add the input-model facilities (apparently) doesn¹t exist.

Nevertheless, sometime it could be useful to install the input-model in non
drawing environments (for instance in a grid-layout).
Anybody has a idea to do this ?

Denis

----------------------------------------------------
Denis Pousseur
6 clos du Drossart
1180 Bruxelles, Belgique

Mail :  denis.pousseur@compositeurs.be
Website : http://compositeurs.be
----------------------------------------------------




Updated at: 2020-12-10 08:50 UTC