XmGetFocusWidget(library call) XmGetFocusWidget(library call)
NAME [Toc] [Back]
XmGetFocusWidget - Returns the ID of the widget that has keyboard
focus
SYNOPSIS [Toc] [Back]
#include <Xm/Xm.h>
Widget XmGetFocusWidget(
Widget widget);
DESCRIPTION [Toc] [Back]
XmGetFocusWidget examines the hierarchy that contains the specified
widget and returns the ID of the widget that has keyboard focus. The
function extracts the widget ID from the associated Shell widget;
therefore, the specified widget can be located anywhere in the
hierarchy.
widget Specifies a widget ID within a given hierarchy
RETURN [Toc] [Back]
Returns the ID of the widget with keyboard focus. If no child of the
Shell has focus, the function returns NULL.
RELATED [Toc] [Back]
XmProcessTraversal(3).
- 1 - Formatted: January 24, 2005 [ Back ] |