Files
cdesktop/cde/doc/C/guides/man/m3_DtWsm/RemWsFun.sgm

91 lines
3.4 KiB
Plaintext

<!-- $XConsortium: RemWsFun.sgm /main/6 1996/08/30 15:31:01 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. -->
<![ %CDE.C.CDE; [<RefEntry Id="CDEMX.XCSA.MAN69.rsml.1">]]>
<![ %CDE.C.XO; [<RefEntry Id="XCSA.MAN69.rsml.1">]]>
<RefMeta>
<RefEntryTitle>DtWsmRemoveWorkspaceFunctions</RefEntryTitle>
<ManVolNum>library call</ManVolNum>
</RefMeta>
<RefNameDiv>
<RefName><Function>DtWsmRemoveWorkspaceFunctions</Function></RefName>
<RefPurpose>remove a window's workspace functions
</RefPurpose>
</RefNameDiv>
<!-- CDE Common Source Format, Version 1.0.0-->
<!-- *************************************************************************-->
<!-- ** (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company-->
<!-- ** (c) Copyright 1993, 1994, 1995 International Business Machines Corp.-->
<!-- ** (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.-->
<!-- ** (c) Copyright 1993, 1994, 1995 Novell, Inc.-->
<!-- *************************************************************************-->
<RefSynopsisDiv>
<FuncSynopsis Remap="ANSI">
<FuncSynopsisInfo>#include &lt;Dt/Wsm.h>
</FuncSynopsisInfo>
<FuncDef>void <Function>DtWsmRemoveWorkspaceFunctions</Function></FuncDef>
<ParamDef>Display *<Parameter>display</Parameter></ParamDef>
<ParamDef>Window <Parameter>window</Parameter></ParamDef>
</FuncSynopsis>
</RefSynopsisDiv>
<RefSect1>
<Title>DESCRIPTION</Title>
<Para>The
<Function>DtWsmRemoveWorkspaceFunctions</Function> function removes a window's workspace functions.
When
<Function>DtWsmRemoveWorkspaceFunctions</Function> removes workspace functions, the window menu for
the window the
<![ %CDE.C.XO; [workspace manager
]]><![ %CDE.C.CDE; [&str-XZ;
workspace manager,
&cdeman.dtwm;, ]]>displays does not have the entries that allow the window to occupy a different
set of workspaces, occupy all workspaces, or be removed from the
current workspace.
</Para>
<Para>The
<Symbol Role="Variable">display</Symbol> argument is the X display.
</Para>
<Para>The
<Symbol Role="Variable">window</Symbol> argument is the window to have its workspace functions
disabled.
</Para>
</RefSect1>
<RefSect1>
<Title>RETURN VALUE</Title>
<Para>The
<Function>DtWsmRemoveWorkspaceFunctions</Function> function returns no value.
</Para>
</RefSect1>
<RefSect1>
<Title>APPLICATION USAGE</Title>
<Para>The application must call
<Function>DtWsmRemoveWorkspaceFunctions</Function> before the window is mapped.
The
<![ %CDE.C.XO; [workspace manager
]]><![ %CDE.C.CDE; [&str-XZ;
workspace manager,
&cdeman.dtwm;, ]]>only looks at the workspace function information at the time the
workspace manager manages the window.
If the
<![ %CDE.C.XO; [workspace manager
]]><![ %CDE.C.CDE; [&str-XZ;
workspace manager,
&cdeman.dtwm;, ]]>is managing the window, the application must withdraw the window
(see
<Function>XWithdrawWindow</Function>(3)), remove the workspace functions, and map the window once again.
</Para>
</RefSect1>
<RefSect1>
<Title>SEE ALSO</Title>
<Para><![ %CDE.C.CDE; [&cdeman.dtwm;]]><![ %CDE.C.XO; [<Function>XWithdrawWindow</Function>(3) in the &str-Zl;]]>,
&cdeman.Dt.Wsm.h;.</Para>
</RefSect1>
</RefEntry>
<!--fickle 1.12 mancsf-to-docbook 1.2 08/07/95 23:40:24-->