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)
Check Out this Related Man Page
XtGetSelectionValues() XtGetSelectionValues()
Name
XtGetSelectionValues - obtain selection data in multiple formats.
Synopsis
void XtGetSelectionValues(w, selection, targets, count, callback,
client_data, time)
Widget w;
Atom selection;
Atom *targets;
int count;
XtSelectionCallbackProc callback;
XtPointer *client_data;
Time time;
Inputs
w Specifies the widget that is making the request. Must be of class core or any subclass thereof.
selection Specifies the particular selection desired (usually XA_PRIMARY or XA_SECONDARY).
targets Specifies the types of information about the selection that are being requested.
count Specifies the length of the targets and client_data arrays.
callback Specifies the callback procedure to be called with each selection value obtained. Note that this is how the selection values are
communicated back to the client.
client_data
Specifies an array of client data (one for each target type) each element of which will be passed to callback when it is called
for the corresponding element of targets.
time Specifies the timestamp that indicates when the selection value is desired. This should be the timestamp of the event that trig-
gered this request; the value CurrentTime is not acceptable.
Description
XtGetSelectionValues() is similar to XtGetSelectionValue() except that it takes an array of target types and an array of client data and
requests the current value of the selection converted to each of the targets. The callback is called once for each element of targets, and
is passed the corresponding element of client_data. The effect is as if each target were specified in a separate call to XtGetSelectionVa-
lue(), except that XtGetSelectionValues() guarantees that all the conversions will use the same selection value because the ownership of
the selection cannot change in the middle of the list, as could happen when calling XtGetSelectionValue() repeatedly.
See XtGetSelectionValue() for more information.
See AlsoXtGetSelectionValue(1), XtGetSelectionValueIncremental(1), XtGetSelectionValuesIncremental(1),
XtSelectionCallbackProc(2).
Xt - Selections XtGetSelectionValues()
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)
I tried to make a little test library so see whether if I can get autotools working for a library. I somewhat did, it compiles, but some targets, such as dist, fail.
The test library is here:
libtest (at an uploading service)
I run autoreconf -i, then ./configure, and when I type make... (0 Replies)
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)