


XmCreateSimpleOptionMenu(3X)			 XmCreateSimpleOptionMenu(3X)
OSF/Motif							    OSF/Motif



NAME
  XXmmCCrreeaatteeSSiimmpplleeOOppttiioonnMMeennuu - A RowColumn widget	convenience creation function

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mCCrreeaatteeSSiimmpplleeOOppttiioonnMMeennuu ((_p_a_r_e_n_t, _n_a_m_e, _a_r_g_l_i_s_t, _a_r_g_c_o_u_n_t))
       WWiiddggeett	 _p_a_r_e_n_t;;
       SSttrriinngg	 _n_a_m_e;;
       AArrggLLiisstt	 _a_r_g_l_i_s_t;;
       CCaarrddiinnaall	 _a_r_g_c_o_u_n_t;;

DESCRIPTION
  XXmmCCrreeaatteeSSiimmpplleeOOppttiioonnMMeennuu creates an instance of a RowColumn widget of	type
  XXmmMMEENNUU__OOPPTTIIOONN	and returns the	associated widget ID.

  This routine creates an Option Menu and its submenu containing PushBut-
  tonGadget or CascadeButtonGadget children.  The name of each button is
  button__n, where _n is an integer from 0 to one	minus the number of buttons
  in the menu.	The name of each separator is separator__n, where _n is an
  integer from 0 to one	minus the number of separators in the menu.  Buttons
  and separators are named and created in the order in which they are speci-
  fied in the RowColumn	simple menu creation resources supplied	in the argu-
  ment list.

  _p_a_r_e_n_t Specifies the parent widget ID

  _n_a_m_e	 Specifies the name of the created widget

  _a_r_g_l_i_s_tSpecifies the argument	list

  _a_r_g_c_o_u_n_t
	 Specifies the number of attribute/value pairs in the argument list
	 (_a_r_g_l_i_s_t)

  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"

  A number of resources	exist specifically for use with	this and other simple
  menu creation	routines.  The only button types allowed in the	XXmmNNbbuuttttoonnTTyyppee
  resource are XXmmPPUUSSHHBBUUTTTTOONN, XXmmCCAASSCCAADDEEBBUUTTTTOONN, XXmmSSEEPPAARRAATTOORR, and
  XXmmDDOOUUBBLLEE__SSEEPPAARRAATTOORR.  For a complete definition of RowColumn and its associ-
  ated resources, see XXmmRRoowwCCoolluummnn((33XX)).


RETURN VALUE
  Returns the RowColumn	widget ID.




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mCCrreeaatteeRRoowwCCoolluummnn((33XX)), XXmmRRoowwCCoolluummnn((33XX)), and
  XXmmVVaaCCrreeaatteeSSiimmpplleeOOppttiioonnMMeennuu((33XX)).































































