Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XtParent(3x) — HP-UX 9.10

Media Vault

Software Library

Restoration Projects

Artifacts Sought

 

NAME

XtParent − return the parent of the specified widget. 

Synopsis

Widget XtParent(w)

    Widget w;

Inputs

wSpecifies the widget whose parent is to be returned.  May be of class Object or any subclass thereof. 

Returns

The parent of w. 

Description

XtParent() returns the parent widget of the specified object. 

Usage

XtParent() is implemented as a function when called from application code, but is replaced by a more efficient macro when called from widget code that includes the file <X11/IntrinsicP.h>.  If XtParent() is called on a toplevel shell widget which has no parent (such as those created by XtAppInitialize() or XtAppCreateShell(), for example) it returns NULL. 

Copyright O’Reilly & Assoc.  —  X Toolkit Intrinsics Reference Manual © O’Reilly & Associates

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026