XmtGetShell man page

Man Page or Keyword Search Man Apropos

man page | Documentation Library | Writing UNIX manpages
XmtGetShell(3)         FreeBSD Library Functions Manual         XmtGetShell(3)

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

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().

Xmt                               Motif Tools                   XmtGetShell(3)

NAME | SYNOPSIS | ARGUMENTS | DESCRIPTION | SEE ALSO

permalink to the XmtGetShell command: https://manpage.me/?XmtGetShell
link by Name, Section, and OS version of this man page: /?q=XmtGetShell&manpath=FreeBSD+11.1-RELEASE+and+Ports

man pages | documentation library | Writing UNIX manpages
Privacy PolicyCookie Policymanpages@manpage.me — 2026-5-14