Parent document is top of "Motif FAQ (Part 6 of 9)"
Previous document is "179) Can I place a radio box in a pulldown menu?"
Next document is "181) What can I put inside a menubar?"

180) How do I make a menu choice insensitive if it was created with

XmVaCreateSimplePulldownMenu?

[Last modified: Sept 94]

Answer:  According to the Motif manual, the buttons are named "button_n",
where "n" is an integer starting from 0.  You can use XtNameToWidget() to
convert these names to widget ID's.

Ken Lee, http://www.rahul.net/kenton/

Parent document is top of "Motif FAQ (Part 6 of 9)"
Previous document is "179) Can I place a radio box in a pulldown menu?"
Next document is "181) What can I put inside a menubar?"