Unix and Linux Discussions Tagged with child |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
2 |
4,664 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
1,870 |
Shell Programming and Scripting |
|
|
|
2 |
2,796 |
Programming |
|
|
|
0 |
2,468 |
Shell Programming and Scripting |
|
|
|
1 |
7,528 |
Shell Programming and Scripting |
|
|
|
3 |
14,171 |
Programming |
|
|
|
2 |
8,738 |
Programming |
|
|
|
1 |
14,157 |
UNIX for Advanced & Expert Users |
|
|
|
4 |
5,479 |
Programming |
|
|
|
4 |
4,303 |
Shell Programming and Scripting |
|
|
|
4 |
5,704 |
Programming |
|
|
|
8 |
5,633 |
Programming |
|
|
|
0 |
2,970 |
Shell Programming and Scripting |
|
|
|
1 |
4,964 |
Shell Programming and Scripting |
|
|
|
0 |
4,750 |
Programming |
|
|
|
4 |
7,099 |
UNIX for Dummies Questions & Answers |
|
|
|
9 |
4,359 |
Programming |
|
|
|
2 |
2,219 |
Shell Programming and Scripting |
|
|
|
2 |
5,050 |
Programming |
|
|
|
6 |
6,469 |
Programming |
|
|
|
27 |
10,988 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
6,720 |
Programming |
|
|
|
1 |
3,677 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,103 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
11,710 |
Programming |
|
|
|
1 |
4,557 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,310 |
Post Here to Contact Site Administrators and Moderators |
XmObjectAtPoint(library call) XmObjectAtPoint(library call)
NAME
XmObjectAtPoint -- A toolkit function that determines which child intersects or comes closest to a specified point
SYNOPSIS
#include <Xm/Xm.h>
Widget XmObjectAtPoint(
Widget widget,
Position x,
Position y);
DESCRIPTION
XmObjectAtPoint searches the child list of the specified manager widget and returns the child most closely associated with the specified
x,y coordinate pair.
For the typical Motif manager widget, XmObjectAtPoint uses the following rules to determine the returned object:
o If one child intersects x,y, XmObjectAtPoint returns the widget ID of that child.
o If more than one child intersects x,y, XmObjectAtPoint returns the widget ID of the visible child.
o If no child intersects x,y, XmObjectAtPoint returns NULL.
The preceding rules are only general. In fact, each manager widget is free to define "most closely associated" as it desires. For example,
if no child intersects x,y, a manager might return the child closest to x,y.
widget Specifies a manager widget.
x Specifies the x-coordinate about which you are seeking child information. The x-coordinate must be specified in pixels, relative
to the left side of manager.
y Specifies the y-coordinate about which you are seeking child information. The y-coordinate must be specified in pixels, relative
to the top side of manager.
RETURN
Returns the child of manager most closely associated with x,y. If none of its children are sufficiently associated with x,y, returns NULL.
RELATED
XmManager(3).
XmObjectAtPoint(library call)