Path: utzoo!mnetor!tmsoft!dptcdc!berner!lethe!geac!jtsv16!uunet!cs.utexas.edu!rutgers!apple!bloom-beacon!PLATO.JPL.NASA.GOV!pjs From: pjs@PLATO.JPL.NASA.GOV (Peter Scott) Newsgroups: comp.windows.x Subject: Widget command line parsing Message-ID: <8905020016.AA00413@plato.Jpl.Nasa.Gov> Date: 2 May 89 00:16:26 GMT Organization: The Internet Lines: 15 I entered the program on page 14 of the _X Toolkit Athena Widgets_ manual, which defines a button widget that lets you know when it's been pressed. Unless I misunderstand considerably, the lines static XrmOptionDescRec options[] = { { "-label", "*button.label", XrmoptionSepArg, NULL} }; imply that I can set the label for the button from the command line. Nothing doing! I have tried "sample -label newlabel" and variations on "sample -xrm 'sample*button.label newlabel'", and while it doesn't always signal incorrect syntax it has never changed the label from that specified in the XtCreateManagedWidget() call. What am I missing? Peter Scott (pjs@grouch.jpl.nasa.gov)