pjs@PLATO.JPL.NASA.GOV (Peter Scott) (05/02/89)
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)