


XmCreateSelectionBox(3X)			     XmCreateSelectionBox(3X)
OSF/Motif							    OSF/Motif



NAME
  XXmmCCrreeaatteeSSeelleeccttiioonnBBooxx - The SelectionBox widget creation function

SYNOPSIS


  ##iinncclluuddee <<XXmm//SSeelleeccttiiooBB..hh>>
  WWiiddggeett XXmmCCrreeaatteeSSeelleeccttiioonnBBooxx ((_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SeelleeccttiioonnBBooxx creates an unmanaged SelectionBox.  A SelectionBox is
  used to get a	selection from a list of alternatives from the user and
  includes the following:

    oo++  A scrolling list	of alternatives

    oo++  An editable text	field for the selected alternative

    oo++  Labels for the list and text field

    oo++  Three or	four buttons

  The default button labels are	OOKK, CCaanncceell, and	HHeellpp.  By default an AAppppllyy
  button is also created; if the parent	of the SelectionBox is a DialogShell
  it is	managed, and otherwise it is unmanaged.	 Additional work area chil-
  dren may be added to the SelectionBox	after creation.

  _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)

  For a	complete definition of SelectionBox and	its associated resources, see
  XXmmSSeelleeccttiioonnBBooxx((33XX)).

RETURN VALUE
  Returns the SelectionBox widget ID.

RELATED	INFORMATION
  XXmmSSeelleeccttiioonnBBooxx((33XX)).









