


XmTargetsAreCompatible(3X)			   XmTargetsAreCompatible(3X)
OSF/Motif							    OSF/Motif



NAME
  XXmmTTaarrggeettssAArreeCCoommppaattiibbllee - A function that tests whether the target types
  match	between	a drop site and	source object

SYNOPSIS


  ##iinncclluuddee <<XXmm//DDrraaggDDrroopp..hh>>
  BBoooolleeaann XXmmTTaarrggeettssAArreeCCoommppaattiibbllee ((_d_i_s_p_l_a_y, _e_x_p_o_r_t__t_a_r_g_e_t_s,
	  _n_u_m__e_x_p_o_r_t__t_a_r_g_e_t_s, _i_m_p_o_r_t__t_a_r_g_e_t_s,
	  _n_u_m__i_m_p_o_r_t__t_a_r_g_e_t_s))
       DDiissppllaayy	 **_d_i_s_p_l_a_y;;
       AAttoomm	 **_e_x_p_o_r_t__t_a_r_g_e_t_s;;
       CCaarrddiinnaall	 _n_u_m__e_x_p_o_r_t__t_a_r_g_e_t_s;;
       AAttoomm	 **_i_m_p_o_r_t__t_a_r_g_e_t_s;;
       CCaarrddiinnaall	 _n_u_m__i_m_p_o_r_t__t_a_r_g_e_t_s;;

DESCRIPTION
  XXmmTTaarrggeettssAArreeCCoommppaattiibbllee determines whether the	import targets of the desti-
  nation match any of the export targets of a source.  If there	is at least
  one target in	common,	the function returns True.

  _d_i_s_p_l_a_ySpecifies the display connection.

  _e_x_p_o_r_t__t_a_r_g_e_t_s
	 Specifies the list of target atoms associated with the	source
	 object.  This resource	identifies the selection targets the source
	 can convert to.

  _n_u_m__e_x_p_o_r_t__t_a_r_g_e_t_s
	 Specifies the number of entries in the	list of	export targets.

  _i_m_p_o_r_t__t_a_r_g_e_t_s
	 Specifies the list of targets to be checked against the XXmmNNeexxppoorrtt--
	 TTaarrggeettss of the	source associated with the specified DragContext

  _n_u_m__i_m_p_o_r_t__t_a_r_g_e_t_s
	 Specifies the number of entries in the	_i_m_p_o_r_t__t_a_r_g_e_t_s list.

RETURN VALUE
  Returns a Boolean value that indicates whether the destination targets are
  compatible with the source targets.  If there	is at least one	target in
  common, the routine returns True; otherwise, returns False.

RELATED	INFORMATION
  XXmmDDrraaggCCoonntteexxtt((33XX)) and	XXmmDDrrooppSSiittee((33XX)).












