Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xmobjectatpoint(3) [hpux man page]

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)

Check Out this Related Man Page

XtNameToWidget(3)						   XT FUNCTIONS 						 XtNameToWidget(3)

NAME
XtNameToWidget, XtWindowToWidget - translating strings to widgets or widgets to windows SYNTAX
Widget XtNameToWidget(Widget reference, String names); Widget XtWindowToWidget(Display *display, Window window); ARGUMENTS
display Specifies the display on which the window is defined. names Specifies the fully qualified name of the desired widget. reference Specifies the widget from which the search is to start. window Specify the window for which you want the widget. DESCRIPTION
The XtNameToWidget function looks for a widget whose name is the first component in the specified names and that is a pop-up child of ref- erence (or a normal child if reference is a subclass of compositeWidgetClass). It then uses that widget as the new reference and repeats the search after deleting the first component from the specified names. If it cannot find the specified widget, XtNameToWidget returns NULL. Note that the names argument contains the name of a widget with respect to the specified reference widget and can contain more than one widget name (separated by periods) for widgets that are not direct children of the specified reference widget. If more than one child of the reference widget matches the name, XtNameToWidget can return any of the children. The Intrinsics do not require that all children of a widget have unique names. If the specified names contain more than one component and if more than one child matches the first component, XtNameToWidget can return NULL if the single branch that it follows does not contain the named widget. That is, XtNameToWidget does not back up and follow other matching branches of the widget tree. The XtWindowToWidget function translates the specified window and display pointer into the appropriate widget instance. SEE ALSO
X Toolkit Intrinsics - C Language Interface Xlib - C Language X Interface X Version 11 libXt 1.1.4 XtNameToWidget(3)
Man Page

5 More Discussions You Might Find Interesting

1. Programming

basic math program 4 child

Iam writing a script for my sisters friends little brother i want the program to say hello lets say his name is Joe and ask him how he is and he can write a reply back saying fine and then it replys "Iam happy you are (his response) today and then it goes into a basic math where he can put in a... (9 Replies)
Discussion started by: perleo
9 Replies

2. Shell Programming and Scripting

child processess

Hi, suppose i want to display the child processess that are running at the background.how do u do it. ps -ef shows both parent and child processess i need to see only the child processess. cheers. (3 Replies)
Discussion started by: uni_ajay_r
3 Replies

3. Solaris

RAID manager or veritas volume manager

Can somebody kindly help me to determine which one i should choose to better manipulate OS volume. RAID manager or veritas volume manager? Any critical differences between those two? Thanks in advance. (5 Replies)
Discussion started by: beginningDBA
5 Replies

4. Homework & Coursework Questions

Rules for Homework & Coursework Questions Forum

Homework Help: On Posting Questions: Any and all high school and undergraduate homework assignments or textbook style exercises for which you are seeking assistance are to be posted only in our Homework & Coursework Questions area--not in blogs, visitor messages, PMs, or the main technical... (0 Replies)
Discussion started by: Neo
0 Replies

5. Programming

Parent,child wait,signal

Hello. I want to make a child do some stuff,wait,then the parent does some stuff and then child does some stuff and waits again.I have made the following but it does not work.Can anybody help me? pid1 = fork(); if (pid1 == -1) { perror("Can't create child\n"); ... (18 Replies)
Discussion started by: Cuervo
18 Replies