Path: utzoo!attcan!uunet!husc6!linus!gatech!udel!burdvax!coltoff From: coltoff@PRC.Unisys.COM (Joel Coltoff) Newsgroups: comp.windows.x Subject: positioning buttons Keywords: X11, Athena widgets Message-ID: <7175@burdvax.PRC.Unisys.COM> Date: 5 Aug 88 16:55:47 GMT Organization: Unisys/Paoli Research Center, Paoli, PA 19301 Lines: 26 HELP, I'm getting very frustrated. I'm using Athena widgets with X11 for my user interface. Right now I'm in the learning stage and am trying to modify some simple example programs. One has a popup menu with three command buttons. They are stacked vertically. I can't get them to position themselves end to end. I've tried using XtSetArg(arg[0], XtNx, x_pos); and if I do a XtGetValues( button, arg, ONE); the x position is the value I set but the buttons still stack vertically. If I try and make the box widget that holds the buttons wide enough for them with a XtSetArg(arg[0], XtNwidth, plenty_wide ); I just get a core dump when XtCreateManagedWidget() is called. Can anyone offer some advice here on things to try? Thanks in advance. -- - Joel {psuvax1,sdcrdcf}!burdvax!coltoff (UUCP) coltoff@burdvax.prc.unisys.com (ARPA)