Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!ucsd!sdd.hp.com!decwrl!apple!portal!atari!imagen!sun!argv From: argv@turnpike.Eng.Sun.COM (Dan Heller) Newsgroups: comp.windows.x.motif Subject: Re: Help with application positioning (follow-up) Message-ID: <141100@sun.Eng.Sun.COM> Date: 22 Aug 90 01:44:43 GMT References: <244@erb1.engr.wisc.edu> <141019@sun.Eng.Sun.COM> <5792@adobe.UUCP> Sender: news@sun.Eng.Sun.COM Distribution: usa Organization: O'Reilly && Associates Lines: 27 In article <5792@adobe.UUCP> asente@adobe.com (Paul Asente) writes: > In article <141019@sun.Eng.Sun.COM> argv@turnpike.Eng.Sun.COM (Dan Heller) writes: > >Use the XtNgeometry resource. Thus, instead of: > >> XtSetArg(args[i],XmNheight,750); i++; > >> XtSetArg(args[i],XmNwidth,750); i++; > >> XtSetArg(args[i],XmNx,0); i++; > >> XtSetArg(args[i],XmNy,0); i++; > >Use: > >> XtSetArg(args[i], XtNgeometry, "750x750+0+0"); i++; > This is a Very Very bad thing to do. Not on the same level as committing > serial axe murders, but bad nonetheless. Here's why: Your explanation was good, and I take blame for not having made this absolutely clear when I made the above statements. *however*: > Now, why should you as a programmer feel obliged not to lie with the window > manager? If you do this, there's no longer any way for a user who *wants* > interactive position to get it. This is *presicely* why I made the suggestion. The poster was requesting help in knowing exactly how to do that. I was just answering his question. -- dan ---------------------------------------------------- O'Reilly && Associates argv@sun.com / argv@ora.com Opinions expressed reflect those of the author only.