XmGetFocusWidget(X3mot)


XmGetFocusWidget -- returns the ID of the widget that has keyboard focus

Synopsis

#include <Xm/Xm.h>

Widget XmGetFocusWidget (widget) Widget widget;

Description

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 values

Returns the ID of the widget with keyboard focus. If no child of the Shell has focus, the function returns NULL.

References

XmProcessTraversal(X3mot)
25 April 2004
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004