XmGetFocusWidget (3) - Linux Manuals
XmGetFocusWidget: Returns the ID of the widget that has
Command to display XmGetFocusWidget
manual in Linux: $ man 3 XmGetFocusWidget
NAME
XmGetFocusWidget --- Returns the ID of the widget that has
keyboard focus
SYNOPSIS
#include <Xm/Xm.h>
Widget XmGetFocusWidget(
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
Returns the ID of the widget with keyboard focus. If no child
of the Shell has focus, the function returns NULL.
RELATED
XmProcessTraversal(3).
Pages related to XmGetFocusWidget
- XmGetAtomName (3) - A function that returns the string representation for an atom
- XmGetColorCalculation (3) - A function to get the procedure used for default color calculation
- XmGetColors (3) - A function that generates foreground, select, and shadow colors
- XmGetDestination (3) - A function that returns the widget ID of the widget to be used as the current destination for quick paste and certain clipboard operations
- XmGetDragContext (3) - A Drag and Drop function that retrieves the
- XmGetMenuCursor (3) - A function that returns the cursor ID for the current menu cursor
- XmGetPixmap (3) - A pixmap caching function that generates a pixmap, stores it in a pixmap cache, and returns the pixmap
- XmGetPixmapByDepth (3) - A pixmap caching function that generates a pixmap, stores it in a pixmap cache, and returns the pixmap
- XmGetPostedFromWidget (3) - A RowColumn function that returns the widget from which a menu was posted