[comp.windows.x.motif] menubar children

david@lta.com (David B. Lewis) (11/13/90)

(several people with this suggestion:)
|> > Menu bars require that all the children of the menu bar be the same 'type'
|> > of widget (or gadget).  To get around this problem, use a cascade button or
|> > gadget for the button that will invoke the dialog box;  just don't set the
|> > subMenuId resource.  It should then act just like a push button.

This loses for people who wish to be able to scan the items in all pulldown menus
by dragging across the menubar. Throwing pushbuttons along the top is fine in
Open Look, but I don't think you want to mix button types. Style may be style,
but in this case there is good reason.

(The UIL compiler will catch the pushbutton-child-of-menubar case, but I don't
think it will catch the missing-pulldown case.)


-- 
David B. Lewis  			Lewis, Trachtenberg & Associates (LTA)
					+1 617 225 0366
Note new address!:	david@lta.com 			(Real Soon Now)
			david@lta.UUCP			(Right Now)
			david%lta.uucp@uunet.uu.net	(Works for Now)