XmeFocusIsInShell — Returns a Boolean value to indicate whether the parent shell of a specified widget has the keyboard focus.
#include <Xm/XmP.h>
Boolean XmeFocusIsInShell
(widget);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. |
Returns True if the parent shell of widget has the keyboard focus. Otherwise, it returns False.