GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
XmTargetsAreCompatible(3) FreeBSD Library Functions Manual XmTargetsAreCompatible(3)

XmTargetsAreCompatible — A function that tests whether the target types match between a drop site and source object

#include <Xm/DragDrop.h>
Boolean XmTargetsAreCompatible(
Display *display,
Atom *export_targets,
Cardinal num_export_targets,
Atom *import_targets,
Cardinal num_import_targets);

XmTargetsAreCompatible determines whether the import targets of the destination match any of the export targets of a source. If there is at least one target in common, the function returns True.
display
Specifies the display connection.
export_targets
Specifies the list of target atoms associated with the source object. This resource identifies the selection targets the source can convert to.
num_export_targets
Specifies the number of entries in the list of export targets.
import_targets
Specifies the list of targets to be checked against the XmNexportTargets of the source associated with the specified DragContext
num_import_targets
Specifies the number of entries in the import_targets list.

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.

XmDragContext(3) and XmDropSite(3).

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.