Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!mit-eddie!uw-beaver!uw-june!wolf.cs.washington.edu!slh From: slh@wolf.cs.washington.edu (Scott Heyano) Newsgroups: comp.windows.x.motif Subject: Re: Menu Bars Summary: can't touch that Message-ID: <13698@june.cs.washington.edu> Date: 10 Nov 90 20:35:07 GMT References: <1990Nov9.223934@eos.ncsu.edu> Sender: news@cs.washington.edu Reply-To: slh@wolf.cs.washington.edu (Scott Heyano) Organization: Computer Science & Engineering, U. of Washington, Seattle Lines: 33 >From: ltlovett@eos.ncsu.edu (LANCE TIMOTHY LOVETTE) | I created a menu bar with XmCreateMenuBar. On the bar I put a cascade | button to drop a pull down menu. My problem is I want to have an 'about' | PushButtonWidget on the bar so that when pressed it pops up a dialog box. | The program compiles and will run like I want, no problems, except for when | it first runs I get the message: | | X Toolkit Warning: | Name: menu_bar | Class: XmRowColumn | Attempt to add wrong type child to a homogeneous RowColumn widget | | I tried setting the XmNentryClass to NULL and the XmNisHomogeneous to | False but that accomplished nothing. Also how can I position the widgets You are not allowed to change these values on a RowColumn of type XmMENUBAR. | on the menu bar like this: | | _______________________________________________________________ | Options File Help About | _______________________________________________________________ | with the 'about' to the far right. I tried setting the XmNx and XmNy | positions but once again nothing was accomplished. | Setting the XmNmenuHelpWidget resource of the menubar widget to the about-button widget will put it on the right, not sure what all else this does though. | Thanks a lot, | | Lance Lovette | NCSU CSC |