Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XmGetFocusW(3X) — HP-UX 9.05

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XmProcessTraversal(3X)

XmGetFocusWidget(3X)

NAME

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

SYNOPSIS

#include <Xm/Xm.h>
Widget XmGetFocusWidget (widget)

Widgetwidget;

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. 

RELATED INFORMATION

XmProcessTraversal(3X). 

Hewlett-Packard Company  —  Motif Release 1.2: May 1992

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