[ Previous | Next | Contents | Glossary | Home | Search ]
Motif 2.1 Widget Writer's Guide


XmeFocusIsInShell

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

Format

#include <Xm/XmP.h>
Boolean XmeFocusIsInShellWidget
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).


[ Previous | Next | Contents | Glossary | Home | Search ]