


XmOptionLabelGadget(3X)				      XmOptionLabelGadget(3X)
OSF/Motif							    OSF/Motif



NAME
  XXmmOOppttiioonnLLaabbeellGGaaddggeett -	A RowColumn function that obtains the widget ID	for
  the LabelGadget in an	OptionMenu

SYNOPSIS


  ##iinncclluuddee <<XXmm//RRoowwCCoolluummnn..hh>>
  WWiiddggeett XXmmOOppttiioonnLLaabbeellGGaaddggeett ((_o_p_t_i_o_n__m_e_n_u))
       WWiiddggeett	 _o_p_t_i_o_n__m_e_n_u;;

DESCRIPTION
  XXmmOOppttiioonnLLaabbeellGGaaddggeett provides the application with the	means for obtaining
  the widget ID	for the	internally created LabelGadget.	 Once the application
  has obtained the widget ID, it can adjust the	visuals	for the	LabelGadget,
  if desired.

  When an application creates an instance of the OptionMenu widget, the
  widget creates two internal gadgets.	One is a LabelGadget that is used to
  display RowColumn's XXmmNNllaabbeellSSttrriinngg resource.	The other is a CascadeBut-
  tonGadget that displays the current selection	and provides the means for
  posting the OptionMenu's submenu.

  The user can specify resources in a resource file for	the automatically
  created widgets and gadgets of an OptionMenu.	 The following list identi-
  fies the names of these widgets (or gadgets) and the associated OptionMenu
  areas:

    oo++  Option Menu Label Gadget-"OptionLabel"

    oo++  Option Menu Cascade Button-"OptionButton"

  _o_p_t_i_o_n__m_e_n_u
	    Specifies the OptionMenu widget ID

  For a	complete definition of RowColumn and its associated resources, see
  XXmmRRoowwCCoolluummnn((33XX)).

RETURN VALUE
  Returns the widget ID	for the	internal label.

RELATED	INFORMATION
  XXmmCCrreeaatteeOOppttiioonnMMeennuu((33XX)), XXmmLLaabbeellGGaaddggeett((33XX)), XXmmOOppttiioonnBBuuttttoonnGGaaddggeett((33XX)), and
  XXmmRRoowwCCoolluummnn((33XX)).














