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


Manual Reference Pages  -  XMTGETSHELL (3)

NAME

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

CONTENTS

SYNOPSIS

   #include <Xmt/Xmt.h>

   Widget XmtGetShell(Widget w)

   Widget XmtGetApplicationShell(Widget w)

   Widget XmtGetTopLevelShell(Widget w)

ARGUMENTS

INPUTS
w The widget whose shell ancestor is desired.
RETURNS

The appropriate shell ancestor of w.

DESCRIPTION

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.

SEE ALSO

Chapter 8, Utility Functions,
Chapter 14, Windows on the Desktop,
XtIsShell(), XtIsTopLevelShell().
Search for    or go to Top of page |  Section 3 |  Main Index


Xmt XMTGETSHELL (3) Motif Tools

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.