Index Index for
Section 3X
Index Alphabetical
listing for X
Bottom of page Bottom of
page

XmGetFocusWidget(3X)

OSF/Motif

NAME

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 VALUE

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

SEE ALSO

XmProcessTraversal(3X)

Index Index for
Section 3X
Index Alphabetical
listing for X
Top of page Top of
page