Specifications
Athena Widget Set libXaw 1.0.7
procedure. If no argument is passed, WhenUnset is assumed.
unhighlight() Displays the internal highlight border in the color (XtNforeground or
background )that matches the interior color of the MenuButton widget.
set() Enters the set state, in which notify is possible. This action causes the
button to display its interior in the foreground color.The label or bit-
map is displayed in the background color.
unset() Cancels the set state and displays the interior of the button in the back-
ground color.The label or bitmap is displayed in the foreground color.
reset() Cancels any set or highlight and displays the interior of the button in the
background color,with the label displayed in the foreground color.
notify() When the button is in the set state this action calls all functions in the
callback list named by the callback resource. The value of the call_data
argument in these callback functions is undefined.
PopupMenu() Pops up the menu specified by the menuName resource.
The MenuButton widget does not place a server grab on itself. Instead, PopupMenu is registered
as a grab action. As a result, clients which popup menus without using XtMenuPopup or
MenuPopup or PopupMenu in translations will fail to have a grab active.Theyshould makea
call to XtRegisterGrabAction on the appropriate action in the application initialization routine, or
use a different translation.
71