Files
cdesktop/cde/doc/C/guides/man/man4/Stopped.sgm

82 lines
2.8 KiB
Plaintext

<!-- $XConsortium: Stopped.sgm /main/6 1996/09/08 20:16:36 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.XCDI.MAN316.rsml.1">]]>
<![ %CDE.C.XO; [<RefEntry Id="XCDI.MAN316.rsml.1">]]>
<RefMeta>
<RefEntryTitle>Stopped</RefEntryTitle>
<ManVolNum>special file</ManVolNum>
</RefMeta>
<RefNameDiv>
<RefName><Symbol Role="Message">Stopped</Symbol></RefName>
<RefPurpose>a tool has terminated
</RefPurpose>
</RefNameDiv>
<!-- $XConsortium: Stopped.sgm /main/6 1996/09/08 20:16:36 rws $-->
<!-- 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>
<Synopsis>Stopped(in string <Emphasis>vendor</Emphasis>,
in string <Emphasis>toolName</Emphasis>,
in string <Emphasis>toolVersion</Emphasis>);
</Synopsis>
</RefSynopsisDiv>
<RefSect1>
<Title>DESCRIPTION</Title>
<Para>The
<Symbol Role="Message">Stopped</Symbol> notice announces that
a tool has exited.
</Para>
<Para>The
<Emphasis>vendor</Emphasis> argument
is the vendor of the terminated tool.
</Para>
<Para>The
<Emphasis>toolName</Emphasis> argument
is the name of the terminated tool.
</Para>
<Para>The
<Emphasis>toolVersion</Emphasis> argument
is the version of the terminated tool.
</Para>
</RefSect1>
<RefSect1>
<Title>EXAMPLES</Title>
<Para>A pattern observing the
<Symbol Role="Message">Stopped</Symbol> request can be registered as
in the following example:
</Para>
<InformalExample Remap="indent">
<ProgramListing>Tt_pattern pat = tt_pattern_create();
tt_pattern_category_set(pat, TT_OBSERVE);
tt_pattern_scope_add(pat, TT_SESSION);
char *ses = tt_default_session();
tt_pattern_session_add(pat, ses);
tt_free(ses);
tt_pattern_op_add(pat, Tttk_Started);
tt_pattern_op_add(pat, Tttk_Stopped);
tt_pattern_callback_add(pat, my_callback);
tt_pattern_register(pat);
</ProgramListing>
</InformalExample>
<Para>The
<Symbol Role="Message">Stopped</Symbol> request can be sent with
&cdeman.ttdt.close;.</Para>
</RefSect1>
<RefSect1>
<Title>SEE ALSO</Title>
<Para>&cdeman.tt.free;, &cdeman.tt.pattern.callback.add;, &cdeman.tt.pattern.category.set;, &cdeman.tt.pattern.op.add;, &cdeman.tt.pattern.register;, &cdeman.tt.pattern.scope.add;, &cdeman.tt.pattern.session.add;, &cdeman.ttdt.close;; <Symbol Role="Message">Started</Symbol> notice.
</Para>
</RefSect1>
</RefEntry>
<!--fickle 1.12 mancsf-to-docbook 1.2 08/07/95 23:18:47-->