Submitted by Anonymous on Mon, 01/28/2002 - 16:18. Developers
How can I grey out a toggle button so if my code is called a certain way it will not show it.
Tue, 07/03/2012 - 15:54
#1
grey out a toggle button
If you want to "grey" out a toggle just call XtSetSensitive(toggle_widget, False)
If you really want to make the widget invisible, call XtUnmapWidget(toggle_widget) to render
it invisible; XtUnmanageChild(toggle_widget) to render it invisible and release the "window" resources associated with it. To make it visible again, call the opposite call from the one you used.
steve---