[racket] Dialog with parent frame

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Wed May 16 09:38:32 EDT 2012

At Wed, 9 May 2012 20:06:15 -0600, Nick Shelley wrote:
> When I assign a frame as a dialog's parent, the title of the dialog isn't
> shown, but when I leave the parent as #f, the dialog shows up in the middle
> of the screen even though the window may be in a totally different place.
> Is there a way to have a frame as the parent and still have the title
> displayed?
> 
> I'm running on OS X Lion and I just compiled from the latest source with
> the default parameters.

The `dialog%' class supports a 'no-sheet style, but it was broken. I'll
push a repair.

Meanwhile, you can hack around the problem by creating an intermediate
dialog that is a child of the frame, then make your real dialog a child
of the intermediate dialog.


Posted on the users mailing list.