[mcclim-devel] Spiffy code sought for elegant pop-up dialog!

Paolo Amoroso amoroso at mclink.it
Mon Feb 20 17:06:14 UTC 2006


Peter Braroe <peter.braroe at newsmachine.com> writes:

> As I have understood, it seems that :own-window t for accepting-values
> or NOTIFY-USER is not available yet in McCLIM. I really have my heart

As far as I know, McCLIM does support :own-window t for
accepting-values.


> What I want to do is:
>
> 1  Create a child window
> 2A Populate with text-fields, checkboxes, and buttons (like gadet-test)
> 2B Add "Save" button and method that returns/stores the values selected 
> 3  Move focus to child, put original window in background
> 4  Destroy child window, refocus on original window
[...]
> So if anyone has a nice example* of how to do this that would be a

One way to do that is by creating a full application frame for your
dialog box with all the gadgets you need, and call it from your
application code.  It works nicely, but is rather verbose.  Some time
ago I posted an example here:

  Poor man's CLIM text style selection dialog
  http://common-lisp.net/pipermail/mcclim-devel/2005-July/004113.html


Paolo
-- 
Lisp Propulsion Laboratory log - http://www.paoloamoroso.it/log



More information about the mcclim-devel mailing list