Path: utzoo!attcan!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!bloom-beacon!EXPO.LCS.MIT.EDU!kit From: kit@EXPO.LCS.MIT.EDU (Chris D. Peterson) Newsgroups: comp.windows.x Subject: Re: Problem with widgets Message-ID: <8907251906.AA29490@expo.lcs.mit.edu> Date: 25 Jul 89 19:06:15 GMT References: <6642@sdcsvax.UCSD.Edu> Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 27 > This creates a nice little popup with a modifyable text > field. > If I do it the following way all I get is the title with > no text field. > static Arg arglist_redform[] = { > {XtNlabel, (XtArgVal) "Enter red value' }, > {XtNvalue, (XtArgVal) 0 } > }; The value field is a string field and should be "0". Use this arglist instead: static Arg arglist_redform[] = { {XtNlabel, (XtArgVal) "Enter red value" }, {XtNvalue, (XtArgVal) "0" } }; Chris D. Peterson MIT X Consortium Net: kit@expo.lcs.mit.edu Phone: (617) 253 - 9608 Address: MIT - Room NE43-213