XmTargetsAreCompatible(3X)XmTargetsAreCompatible(3X)NAME
XmTargetsAreCompatible - A function that tests whether the target types match between a drop site and source object
SYNOPSIS
#include <Xm/DragDrop.h>
Boolean XmTargetsAreCompatible (display, export_targets, num_export_targets, import_targets, num_import_targets)
Display *display;
Atom *export_targets;
Cardinal num_export_targets;
Atom *import_targets;
Cardinal num_import_targets;
DESCRIPTION
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. Specifies the display connection. Specifies the list of target atoms associated
with the source object. This resource identifies the selection targets the source can convert to. Specifies the number of entries in the
list of export targets. Specifies the list of targets to be checked against the XmNexportTargets of the source associated with the speci-
fied DragContext Specifies the number of entries in the import_targets 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.
SEE ALSO XmDragContext(3X), XmDropSite(3X)XmTargetsAreCompatible(3X)
Check Out this Related Man Page
XmTargetsAreCompatible(library call) XmTargetsAreCompatible(library call)
NAME
XmTargetsAreCompatible -- A function that tests whether the target types match between a drop site and source object
SYNOPSIS
#include <Xm/DragDrop.h>
Boolean XmTargetsAreCompatible(
Display *display,
Atom *export_targets,
Cardinal num_export_targets,
Atom *import_targets,
Cardinal num_import_targets);
DESCRIPTION
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.
RETURN
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 XmDragContext(3) and XmDropSite(3).
XmTargetsAreCompatible(library call)
I've checked all the documenttion that i can find here in the forums...and on the net....to no avail. Here's my scenario:
I'm attempting to activate a remote X server. I 'm on a SuSe 7.0 distro, behind a firewall.
(using bash shell)
$
$ ifconfig eth0 192.168.1.203 up{as root}
$ xhost +... (2 Replies)
hello frnds,
I want to export display of othe terminal to my terminal and want to post a msg, which should visible at other terminal,
I tried myself, but couldnt get it
plz help me to get solution (1 Reply)
The goal:
I have a list of people in teams. The list looks something like this
$1 = Job Position (marketing, IT, PR)
$2 = Name
$3 = Team Name
$4 = Targeted member (somebody in field 2 targets somebody else)
$5 = Employment Status (full time/part time/etc)
The idea is to search through... (2 Replies)
source file is located in (elk.some.com)
/export/elk2/vp141p/Somedir/dist/current/Filename.ear
destination machine(191.hydc.xxx.com)
/export/home/vp141p/ARCHIVE
scp -p vp141p@hstst191.hydc.sbc.com:/export/elk2/vp141p/PM_Build_SBS/Build_PVT_SBS/dist/current/Filename.ear .
The above code is... (5 Replies)
I have to compare 2 files which means 2 files with common entries in same column and separate those common entries in a diferent file as well right before those entries common so that I can separat common and Uncommon entries in rows in 2 different files. Is it possible
For eg.
one file
... (3 Replies)