


XmCreateSimpleMenuBar(3X)			    XmCreateSimpleMenuBar(3X)
OSF/Motif							    OSF/Motif



NAME
  XXmmCCrreeaatteeSSiimmpplleeMMeennuuBBaarr	- 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eMMeennuuBBaarr ((_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eMMeennuuBBaarr	creates	an instance of a RowColumn widget of type
  XXmmMMEENNUU__BBAARR and returns the associated	widget ID.

  This routine creates a MenuBar and its 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.  Buttons are named	and created in the
  order	in which they are specified in the RowColumn simple menu creation
  resources supplied in	the argument 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)

  A number of resources	exist specifically for use with	this and other simple
  menu creation	routines.  The only button type	allowed	in the XXmmNNbbuuttttoonnTTyyppee
  resource is XXmmCCAASSCCAADDEEBBUUTTTTOONN.	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 RowColumn	widget ID.

RELATED	INFORMATION
  XXmmCCrreeaatteeMMeennuuBBaarr((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eMMeennuuBBaarr((33XX)).














