jkh@pcsbst.UUCP (Jordan K. Hubbard) (04/29/89)
Why aren't the command and label widgets subclasses of "simple"? Then you could set a number of extra options, like the CURSOR! Ahem.. Sorry, but having spent the last hour trying to figure out a way to get something other than the boring "X" cursor into my label/command/shell widgets (yeah, other than changing the root window cursor!) I'm a little peeved. I seem to remember that this was possible in R2, but I'm not positive. Question: Is there really no simple way to get a different cursor into Shell/Label/Command (especially shell) widgets short of doing an XDefineCursor() directly or am I just being a Bonehead and missing the obvious? Question: Is it possible to set the label/value of a dialog widget after creation? We tried doing the usual XtSetValues() (XtNlabel, XtNvalue) calls on one and it didn't change. All this is in R3. Jordan
kit@EXPO.LCS.MIT.EDU (Chris D. Peterson) (05/06/89)
> Why aren't the command and label widgets subclasses of "simple"? Then > you could set a number of extra options, like the CURSOR! They are. [ This is vanilla R3 with patch 1-10 applied, (although I am 99% sure that this has not changed since R2). ] Label.c: LabelClassRec labelClassRec = { { /* core_class fields */ #define superclass (&simpleClassRec) /* superclass */ (WidgetClass) superclass, /* class_name */ "Label",