XmeFocusIsInShell(3X) UNIX System V XmeFocusIsInShell(3X)
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 widget);
VERSION
This page documents Motif 2.1.
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).
Page 1 (printed 7/20/06)