freenode/#clim - IRC Chatlog
Search
4:00:17
loke
Bascially, there is noterally no way you can have two ACCEPT forms working at the same time
4:00:56
loke
Unless they are spearate threads, but then you can't exchange objects between them, which kinda defeats the entire purpose.
4:01:57
loke
beach: because when you click on an object that belongs to one frame, it gets processed by the command loop that is running in said frame.
4:02:25
loke
What you'd want is to ACCEPT an object in one frame and be able to click on another object in a different frame
4:03:33
beach
I think there are ways to make that work. I have been thinking about it in the past, simply because some day I would want several applications running in the same OS process and I want them to be able to exchange data.
4:04:26
loke
beach: There may be. As I said, it may be possible to have a protocol that defines how one active ACCEPT hands over focus to another. However, that would require one of the following:
4:08:31
loke
I want to create a much smarter completion mechamism. Today I simply pop up a menu using FRAME-MANAGER-MENU-CHOOSE. This works, but is very limited.
4:09:03
loke
So I started building a new interface based on the same underlying building blocks that F-M-M-C uses.
4:09:49
loke
Turns out, that in order to add keyboard control to this new menu, I need to have my own loop that calls READ-GESTURE.
4:13:11
loke
It's not too bad when all you want to do is select a completion candidate, but since I also want the window to display the documentation for the the selected option, and you might want to keep it open after selection...
4:14:15
loke
This is the kind of stuff that is absolutely trivial in a GUI system such as Java or GTK, but CLIM makes it incredibly cumbersome. One thing McCLIM definitely needs are new facilities to make this kind of event-driven UI design possible without too much work.
4:16:44
beach
I think that would be a good idea for another reason as well, namely that there are people who are used to such traditional GUI design, and they would have a much easier time converting to McCLIM then.