1XmGetFocusWidget(library call) XmGetFocusWidget(library call)
2
3
4
6 XmGetFocusWidget — Returns the ID of the widget that has keyboard focus
7
9 #include <Xm/Xm.h>
10 Widget XmGetFocusWidget(
11 Widget widget);
12
14 XmGetFocusWidget examines the hierarchy that contains the specified
15 widget and returns the ID of the widget that has keyboard focus. The
16 function extracts the widget ID from the associated Shell widget;
17 therefore, the specified widget can be located anywhere in the hierar‐
18 chy.
19
20 widget Specifies a widget ID within a given hierarchy
21
23 Returns the ID of the widget with keyboard focus. If no child of the
24 Shell has focus, the function returns NULL.
25
27 XmProcessTraversal(3).
28
29
30
31 XmGetFocusWidget(library call)