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

XmtGetShell(), XmtGetApplicationShell(), XmtGetTopLevelShell() - return shell ancestors of a widget.

#include <Xmt/Xmt.h>

Widget XmtGetShell(Widget w)

Widget XmtGetApplicationShell(Widget w)

Widget XmtGetTopLevelShell(Widget w)

INPUTS
w
The widget whose shell ancestor is desired.

RETURNS

The appropriate shell ancestor of w.

XmtGetShell() returns the closest widget ancestor of w that is a shell widget-i.e. is any subclass of Shell.

XmtGetTopLevelShell() returns the closest ancestor of w that is a TopLevelShell or a subclass. Thus if w is a descendent of a dialog box, this function will skip the dialog shell and return the main window shell that is the ancestor of the dialog box.

XmtGetApplicationShell() returns the ``root'' of the widget hierarchy. This is the ancestor of w which has no ancestors of its own. This shell is usually created with XtAppInitialize() or XtAppCreateShell(), and is usually an ApplicationShell widget.

Chapter 8, Utility Functions,
Chapter 14, Windows on the Desktop,
XtIsShell(), XtIsTopLevelShell().
Motif Tools Xmt

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.