[comp.windows.x.motif] XmCreatePopupMenu and resourses

roger@zuken.co.jp (Roger Meunier) (08/08/90)

I am using XmCreatePopupMenu() to create a popup menu.  If I want to set
the background color, I can do it easily with the following line in my
app-defaults file:

	*MenuName.background:			white

But, if I want to set the XmNwhichButton resource, I have to write:

	*XmMenuShell*MenuName.whichButton:	button3
	 ^^^^^^^^^^^
Why is this?

(I am using Motif 1.0 with X11R3 on HP9000 300-series under HP-UX 7.0.)
--
Roger Meunier @ Zuken, Inc.  Yokohama, Japan	(roger@zuken.co.jp)