Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!sdd.hp.com!decwrl!bacchus.pa.dec.com!decatl!shlump.nac.dec.com!dash!tatlow From: tatlow@dash.enet.dec.com (Tom Tatlow) Newsgroups: comp.windows.x.motif Subject: Resources for children of XmSelectionBox Message-ID: <1990Aug27.174516@dash.enet.dec.com> Date: 27 Aug 90 21:45:16 GMT Sender: newsdaemon@shlump.nac.dec.com Reply-To: tatlow@dash.enet.dec.com (Tom Tatlow) Organization: Digital Equipment Corporation Lines: 37 How do you use resources to alter the appearances of children of XmSelectionBoxes? For example, suppose I have a XmPromptDialog XmSelectionBox and it has a text input area and two buttons, the default button (with the label "save") and the cancel button (with the label "abort"). How do I, for instance, make the background of the default button green? I tried things like: *XmSelectionBox*save*background: green but that had no effect (the *name* of the button isn't "save", that's only its label). *XmSelectionBox*defaultButton*background: green also had no effect, although I had had higher hopes for that (apparently defaultButton is neither the button's name or class, so it had no effect). *XmSelectionBox*ok*background: green *XmSelectionBox*OK*background: green *XmSelectionBox*Ok*background: green also had no effect. Can anyone help me? ================================================================== Tom Tatlow "The Question" Work: Digital Equipment Corporation, AI Technology Center tatlow@dash.enet.dec.com (508) 490-8500 Home: 279 Harvard Street, Apt. 31, Cambridge, MA 02139 tom@math.mit.edu (617) 864-3857 ==================================================================