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
XmObjectAtPoint(3) FreeBSD Library Functions Manual XmObjectAtPoint(3)

XmObjectAtPoint — A toolkit function that determines which child intersects or comes closest to a specified point

#include <Xm/Xm.h>
Widget XmObjectAtPoint(
Widget widget,
Position x,
Position y);

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:

If one child intersects x,y, XmObjectAtPoint returns the widget ID of that child.
If more than one child intersects x,y, XmObjectAtPoint returns the widget ID of the visible child.
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.

Returns the child of manager most closely associated with x,y. If none of its children are sufficiently associated with x,y, returns NULL.

XmManager(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.