


XmMainWindowSetAreas(3X)			     XmMainWindowSetAreas(3X)
OSF/Motif							    OSF/Motif



NAME
  XXmmMMaaiinnWWiinnddoowwSSeettAArreeaass - A MainWindow function that identifies manageable
  children for each area

SYNOPSIS


  ##iinncclluuddee <<XXmm//MMaaiinnWW..hh>>
  vvooiidd XXmmMMaaiinnWWiinnddoowwSSeettAArreeaass ((_w_i_d_g_e_t, _m_e_n_u__b_a_r, _c_o_m_m_a_n_d__w_i_n_d_o_w,
	    _h_o_r_i_z_o_n_t_a_l__s_c_r_o_l_l_b_a_r, _v_e_r_t_i_c_a_l__s_c_r_o_l_l_b_a_r, _w_o_r_k__r_e_g_i_o_n))
       WWiiddggeett	 _w_i_d_g_e_t;;
       WWiiddggeett	 _m_e_n_u__b_a_r;;
       WWiiddggeett	 _c_o_m_m_a_n_d__w_i_n_d_o_w;;
       WWiiddggeett	 _h_o_r_i_z_o_n_t_a_l__s_c_r_o_l_l_b_a_r;;
       WWiiddggeett	 _v_e_r_t_i_c_a_l__s_c_r_o_l_l_b_a_r;;
       WWiiddggeett	 _w_o_r_k__r_e_g_i_o_n;;

DESCRIPTION
  XXmmMMaaiinnWWiinnddoowwSSeettAArreeaass identifies which	of the valid children for each area
  (such	as the MenuBar and work	region)	are to be actively managed by
  MainWindow.  This function also sets up or adds the MenuBar, work window,
  command window, and ScrollBar	widgets	to the application's main window
  widget.

  Each area is optional; therefore, the	user can pass NULL to one or more of
  the following	arguments.  The	window manager provides	the title bar.

  _w_i_d_g_e_t      Specifies	the MainWindow widget ID.

  _m_e_n_u__b_a_r    Specifies	the widget ID for the MenuBar to be associated with
	      the MainWindow widget.  Set this ID only after creating an
	      instance of the MainWindow widget.  The attribute	name associ-
	      ated with	this argument is XXmmNNmmeennuuBBaarr.

  _c_o_m_m_a_n_d__w_i_n_d_o_w
	      Specifies	the widget ID for the command window to	be associated
	      with the MainWindow widget.  Set this ID only after creating an
	      instance of the MainWindow widget.  The attribute	name associ-
	      ated with	this argument is XXmmNNccoommmmaannddWWiinnddooww.

  _h_o_r_i_z_o_n_t_a_l__s_c_r_o_l_l_b_a_r
	      Specifies	the ScrollBar widget ID	for the	horizontal ScrollBar
	      to be associated with the	MainWindow widget.  Set	this ID	only
	      after creating an	instance of the	MainWindow widget.  The
	      attribute	name associated	with this argument is XXmmNNhhoorriizzoonnttaall--
	      SSccrroollllBBaarr.

  _v_e_r_t_i_c_a_l__s_c_r_o_l_l_b_a_r
	      Specifies	the ScrollBar widget ID	for the	vertical ScrollBar to
	      be associated with the MainWindow	widget.	 Set this ID only
	      after creating an	instance of the	MainWindow widget.  The
	      attribute	name associated	with this argument is
	      XXmmNNvveerrttiiccaallSSccrroollllBBaarr.

  _w_o_r_k__r_e_g_i_o_n Specifies	the widget ID for the work window to be	associated
	      with the MainWindow widget.  Set this ID only after creating an
	      instance of the MainWindow widget.  The attribute	name associ-
	      ated with	this argument is XXmmNNwwoorrkkWWiinnddooww.

  For a	complete definition of MainWindow and its associated resources,	see
  XXmmMMaaiinnWWiinnddooww((33XX)).

RELATED	INFORMATION
  XXmmMMaaiinnWWiinnddooww((33XX)).




























































