File: XYToInfo.html

package info (click to toggle)
xmhtml 1.1.10-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,296 kB
  • sloc: ansic: 70,372; makefile: 480; sh: 176; perl: 36
file content (86 lines) | stat: -rw-r--r-- 2,764 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
	<TITLE>XmHTML Programmers Manual: XmHTMLXYToInfo</TITLE>
	<META HTTP-EQUIV="Keywords" CONTENT="XmHTML, HTML, Motif, Widget, eXode, XntHelp, Linux">
	<META HTTP-EQUIV="Reply-to" CONTENT="ripley@xs4all.nl">
	<META HTTP-EQUIV="Description" CONTENT="XmHTMLXYToInfo - obtain document information at a given location.">
	<META NAME="Author" CONTENT="Koen D'Hondt">
	<META NAME="Copyright" content="1995-1997 by Ripley Software Development">
	<META NAME="Source" content="$Source$">
	<META NAME="Revision" content="$Revision$">
	<META NAME="Font" content="helvetica">
	<link rev="made" href="mailto:ripley@xs4all.nl">
	<link rel="home" href="index.html">
	<link rel="previous" href="TxtStStr.html">
	<link rel="next" href="">
	<link rel="up" href="../man.html">
	<link rel="down" href="">
	<link rel="copyright" href="copyrights.html">
</HEAD>

<BODY BGCOLOR="#FFFFFF" text="#000000">
<h3><font face="helvetica,arial">Name</font></h3>

<blockquote>
	XmHTMLXYToInfo - obtain document information at a given location.
</blockquote>

<h3><font face="helvetica,arial">Synopsis</font></h3>

<blockquote>
	XmHTMLInfoStructure *XmHTMLXYToInfo(Widget w, int x, int y)
</blockquote>

<h3><font face="helvetica,arial">Description</font></h3>

<blockquote>
	XmHTMLXYToInfo returns document information at the specified coordinates.
	The returned information can include anchor data (if the specified
	coordinates identify an anchor) and image data (if the specified
	coordinates identify an image).
	<p>

	<dl>
	<dt>w
	<dd>Specifies the parent widget ID. Must be of class xmHTMLWidgetClass

	<dt>x,y
	<dd>Specifies the coordinates, relative to the upper-left corner of the
		visible area, for which information must be retrieved.
	</dl>
</blockquote>

<h3><font face="helvetica,arial">Structures</font></h3>

<pre>
	typedef struct{
		Cardinal line;            /* line number at selected position       */
		Boolean is_map;           /* true when clicked image is an imagemap */
		int x,y;                  /* position relative to image corner      */
		XmImageInfo *image;       /* image data, if any                     */
		XmHTMLAnchorPtr anchor;   /* anchor data, if any                    */
	}XmHTMLInfoStructure, *XmHTMLInfoPtr;
</pre>

<h3><font face="helvetica,arial">Return Value</font></h3>

<blockquote>
	A pointer to a structure of type XmHTMLInfoStructure. The data within
	this structure is composed of private widget data, and as such, it may
	<b>never</b> be freed.
</blockquote>

<h3><font face="helvetica,arial">See Also</font></h3>

<blockquote>
	XmHTML(3X), XmImageInfo(3X)
</blockquote>

<hr noshade size="2" width="25%">
<i><font size="-1">
XmHTML, October 7, 1997
</font></i>
</body>
</html>