


XmCreatePromptDialog(3X)			     XmCreatePromptDialog(3X)
OSF/Motif							    OSF/Motif



NAME
  XXmmCCrreeaatteePPrroommppttDDiiaalloogg - The SelectionBox PromptDialog convenience 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ePPrroommppttDDiiaalloogg ((_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ePPrroommppttDDiiaalloogg is a convenience	creation function that creates a Dia-
  logShell and an unmanaged SelectionBox child of the DialogShell.  A
  PromptDialog prompts the user	for text input.	 It includes a message,	a
  text input region, and three managed buttons.	 The default button labels
  are OOKK, CCaanncceell, and HHeellpp.  An	additional button, with	AAppppllyy as the default
  label, is created unmanaged; it may be explicitly managed if needed.	One
  additional WWoorrkkAArreeaa child may	be added to the	SelectionBox after creation.

  XXmmCCrreeaatteePPrroommppttDDiiaalloogg forces the value	of the SelectionBox resource XXmmNNddii--
  aallooggTTyyppee to XXmmDDIIAALLOOGG__PPRROOMMPPTT.

  Use XXttMMaannaaggeeCChhiilldd to pop up the PromptDialog (passing	the SelectionBox as
  the widget parameter); use XXttUUnnmmaannaaggeeCChhiilldd to	pop it down.

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











