Path: utzoo!attcan!uunet!lll-winken!ncis.llnl.gov!helios.ee.lbl.gov!pasteur!ucbvax!decwrl!vixie From: vixie@decwrl.dec.com (Paul A Vixie) Newsgroups: comp.windows.x Subject: Re: Sample widget menu program. Message-ID: Date: 20 Jan 89 16:03:48 GMT References: <8901191953.AA14101@LYRE.MIT.EDU> Sender: vixie@decwrl.dec.com Organization: DEC Western Research Lab Lines: 20 In-reply-to: swick@ATHENA.MIT.EDU's message of 19 Jan 89 19:53:05 GMT [Swick] # I just added # # #define XtNgrayWhenInsensitive "grayWhenInsensitive" # #define XtNshrinkToFit "shrinkToFit" # # to the beginning of Menu.c and everything worked fine with the R3 widgets. "Worked fine" != "worked the way my hacked up R2 widget worked". Defining these in Menu.c won't tell the Box widget to act differently. I just looked at the source to the R3 Xaw, and I see nothing that looks at these two fields. XtNalignVert would also be a handy hack to have in the general R3 widget set. I'm not volunteering to hack them in again, but if Charles will post his R2 Box source, I'm sure someone will do the feature merge. -- Paul Vixie Work: vixie@decwrl.dec.com decwrl!vixie +1 415 853 6600 Play: paul@vixie.sf.ca.us vixie!paul +1 415 864 7013