Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XmGetFocW(Xm) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


 XmGetFocusWidget(Xm)           6 January 1993           XmGetFocusWidget(Xm)


 Name

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

 Syntax


    #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; there-
    fore 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(Xm)


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026