<!-- $XConsortium: IsMWM.sgm /main/5 1995/08/19 13:47:22 rws $ -->
<!-- (c) Copyright 1995 Digital Equipment Corporation. -->
<!-- (c) Copyright 1995 Hewlett-Packard Company. -->
<!-- (c) Copyright 1995 International Business Machines Corp. -->
<!-- (c) Copyright 1995 Sun Microsystems, Inc. -->
<!-- (c) Copyright 1995 Novell, Inc. -->
<!-- (c) Copyright 1995 FUJITSU LIMITED. -->
<!-- (c) Copyright 1995 Hitachi. -->

<RefEntry Id="CDEMMA.MAN278.rsml.1">
<RefMeta>
<RefEntryTitle>XmIsMotifWMRunning</RefEntryTitle>
<ManVolNum>library call</ManVolNum>
</RefMeta>
<RefNameDiv>
<RefName><Function>XmIsMotifWMRunning</Function></RefName>
<RefPurpose>A function that determines whether the window manager is running
<IndexTerm>
<Primary>XmIsMotifWMRunning</Primary>
</IndexTerm></RefPurpose>
</RefNameDiv>
<!-- -->
<!-- @OSF_COPYRIGHT@-->
<!-- COPYRIGHT NOTICE-->
<!-- Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc.-->
<!-- ALL RIGHTS RESERVED (MOTIF). See the file named COPY.MOTIF.DOC for-->
<!-- the full copyright text.-->
<!-- -->
<!-- HISTORY-->
<!-- -->
<!-- **-->
<!-- **-->
<!-- **  (c) Copyright 1989, 1990, 1992 by Open Software Foundation, Inc.-->
<!-- **      All Rights Reserved.-->
<!-- **-->
<!-- **  (c) Copyright 1987, 1988, 1989, by Hewlett-Packard Company-->
<!-- **-->
<!-- **  (c) Copyright 1987, 1988 by Digital Equipment Corporation,-->
<!-- **      Maynard, MA.  All Rights Reserved.-->
<!-- **-->
<!-- **-->
<RefSynopsisDiv>
<FuncSynopsis>
<FuncSynopsisInfo>#include &lt;Xm/Xm.h>
</FuncSynopsisInfo>
<FuncDef>Boolean <Function>XmIsMotifWMRunning</Function></FuncDef>
<!--<ParamDef><Replaceable>shell</Replaceable></ParamDef>-->
<ParamDef>Widget <Parameter>shell</Parameter></ParamDef>
</FuncSynopsis>
</RefSynopsisDiv>
<RefSect1>
<Title>DESCRIPTION</Title>
<Para><Function>XmIsMotifWMRunning</Function> lets a user know
whether the Motif Window Manager is
running on a screen that contains a specific widget hierarchy.
This
function first sees whether the <Property>_MOTIF_WM_INFO</Property> property is present on
the root window of the shell's screen. If it is, its window
field is used to query for the presence of the specified window as a
child of root.
</Para>
<VariableList>
<VarListEntry>
<Term><Symbol Role="Variable">shell</Symbol></Term>
<ListItem>
<Para>Specifies the shell whose screen will be tested for <Command>mwm</Command>'s presence.
</Para>
</ListItem>
</VarListEntry>
</VariableList>
</RefSect1>
<RefSect1>
<Title>RETURN</Title>
<Para>Returns True if MWM is running.
</Para>
</RefSect1>
</RefEntry>
<!--fickle 1.09 7/2/95-->
