Name

XmeFocusIsInShell — Returns a Boolean value to indicate whether the parent shell of a specified widget has the keyboard focus.

Synopsis

#include <Xm/XmP.h>
Boolean XmeFocusIsInShell(widget);

DESCRIPTION

XmeFocusIsInShell returns a Boolean value to indicate whether the parent shell of widget has the keyboard focus. This function is particularly useful for those programmers writing menu button widgets. (See the ExmMenuButton demonstration widget in the demos/widgets/Exm/lib directory for a sample usage of this function.)

widget 

Specifies any widget.

RETURN

Returns True if the parent shell of widget has the keyboard focus. Otherwise, it returns False.

RELATED

ExmMenuButton(3).