XmGetFocusWidget(3X)

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

Showing IRIX 6.5.30 (default release). Unchanged since IRIX 6.5.

NAME
     XmGetFocusWidget --Returns the ID of the widget that has keyboard focus

SYNOPSIS
     #include <Xm/Xm.h>

     Widget XmGetFocusWidget (widget)
          Widget    widget;


VERSION
     This page documents version 1.2 of the Motif library.

DESCRIPTION
     XmGetFocusWidget  examines the hierarchy that contains the specified widget
     and returns the ID of the widget that has keyboard focus.  The function ex-
     tracts the widget ID from the associated Shell widget; therefore the speci-
     fied 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.

RELATED INFORMATION
     XmProcessTraversal(3X).

                                                            XmGetFocusWidget(3X)