Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!sun-barr!ccut!wnoc-tyo-news!kogwy!new1!roger From: roger@zuken.co.jp (Roger Meunier) Newsgroups: comp.windows.x.motif Subject: Re: XmNdestroryCallback on a SelectionBoxDialog... Message-ID: Date: 5 Jun 91 07:54:46 GMT References: <1991May29.024641.21512@ux1.cso.uiuc.edu> <1991Jun3.080854.13064@uni-paderborn.de> Sender: news@new1.zuken.co.jp Organization: ZUKEN Inc. Yokohama, JAPAN Lines: 24 In-reply-to: kern@asterix.cadlab.de's message of 3 Jun 91 08:08:54 GMT In article <1991Jun3.080854.13064@uni-paderborn.de> kern@asterix.cadlab.de (Thomas Kern) writes: > Actually, there is no need to destroy the DialogShell explicitly. All > Motif XmCreate...Dialog() functions add a callback to the DialogShell's > child to destroy its parent -- which is the DialogShell! There is a "need" when the application wants to control the lifetime of each Dialog, and when the parent decides when the child should be destroyed. > |> Now, if they'd only find a way to make XtMakeGeometryRequest() work > |> within a XmForm, then I'd *really* be happy!!! ;-) > > What do you mean? I mean that I have yet to find a way to move a widget whose parent is a form using XtMakeGeometryRequest(). I can't even do it using XmNx and XmNy through Set[Va]Values(). Changing the attachment values seems to work, but is not very elegant, especially when the position in the form isn't originally determined by form constraints. Anyone had any success with moving widgets in a form? -- Roger Meunier @ Zuken, Inc. Yokohama, Japan (roger@zuken.co.jp)