


XmGetFocusWidget(3X)					 XmGetFocusWidget(3X)
OSF/Motif							    OSF/Motif



NAME
  XXmmGGeettFFooccuussWWiiddggeett - Returns the ID of the widget that has keyboard focus

SYNOPSIS


  ##iinncclluuddee <<XXmm//XXmm..hh>>
  WWiiddggeett XXmmGGeettFFooccuussWWiiddggeett ((_w_i_d_g_e_t))
       WWiiddggeett	 _w_i_d_g_e_t;;

DESCRIPTION
  XXmmGGeettFFooccuussWWiiddggeett 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.

  _w_i_d_g_e_t 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
  XXmmPPrroocceessssTTrraavveerrssaall((33XX)).


































