carta
XmGetFocusWidget(3)

XmGetFocusWidget3

Returns the id of the widget that has keyboard focus

Usage

Widget XmGetFocusWidget(

Widget widget);

Overview

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.

History

  • Arch Linux 2026-11-01: the text shown here
  • Debian 13 (Trixie) to Debian 8 (Jessie)

From openmotif 2.3.8-4 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.