Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XtWidgetToA(3) — OSF1 1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XtCreateApplicationContext(1)

 

Name

XtWidgetToApplicationContext — get the application context for a given widget. 

Synopsis

XtAppContext XtWidgetToApplicationContext(object)

    Widget object;

Arguments

objectSpecifies the object for which you want the application context; may be of class Object or any subclass thereof. 

Description

XtWidgetToApplicationContext returns the application context for the specified widget. 

It locates the application context by following the chain of Core widget parent structures until it finds one that is a subclass of the fundamental widget class windowObjClass.  Then it accesses the application context associated with the display for that widget. 

This function is useful for calling "XtApp" functions from widget code. 

See Also

XtCreateApplicationContext(1)

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