Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!usc!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: <141019@sun.Eng.Sun.COM> Date: 21 Aug 90 06:31:41 GMT References: <244@erb1.engr.wisc.edu> Sender: news@sun.Eng.Sun.COM Distribution: usa Organization: O'Reilly && Associates Lines: 19 In article <244@erb1.engr.wisc.edu> osswald@serv1.uucp (Tim Osswald) writes: > XCadPress*geometry: +0+0 > in my Xdefaults file. Even though this is a good temporary solution, I would > still much prefer to set this in the program, It is too easy for someone > not to know to do this, and mess up the way the program is displayed. 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++; -- dan ---------------------------------------------------- O'Reilly && Associates argv@sun.com / argv@ora.com Opinions expressed reflect those of the author only.