/usr/share/mozart/doc/system/node92.html is in mozart-doc 1.4.0-8ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>28.11 Listeners</TITLE><LINK href="ozdoc.css" rel="stylesheet" type="text/css"></HEAD><BODY><TABLE align="center" border="0" cellpadding="6" cellspacing="6" class="nav"><TR bgcolor="#DDDDDD"><TD><A href="node91.html#section.tk.font"><< Prev</A></TD><TD><A href="node81.html">- Up -</A></TD><TD><A href="node93.html#section.tk.strings">Next >></A></TD></TR></TABLE><DIV id="section.tk.listener"><H2><A name="section.tk.listener">28.11 Listeners</A></H2><A name="label1617"></A><P> The class <CODE>Tk<SPAN class="keyword">.</SPAN>listener</CODE> is not a tcl object. Is main use is to serve as listener for events, see also <A href="node83.html#section.tk.action-values">Section 28.2.1</A>. It provides the following methods. For an example see <A href="../wp/node25.html#section.widgets-2.action">Section 5.6 of ``Window Programming in Mozart''</A>. </P><P> </P><DL><DT><CODE>tkInit</CODE> <A name="label1619"></A> </DT><DD><BLOCKQUOTE class="synopsis"><P></P><BLOCKQUOTE class="code"><CODE>tkInit()</CODE></BLOCKQUOTE><P> </P></BLOCKQUOTE></DD><DD><P>Creates a new listener, which consists of a message stream and a thread that serves each message on the stream by applying <CODE><SPAN class="keyword">self</SPAN></CODE> to it. </P></DD><DT><CODE>tkServe</CODE> <A name="label1621"></A> </DT><DD><BLOCKQUOTE class="synopsis"><P></P><BLOCKQUOTE class="code"><CODE>tkServe(</CODE><CODE>+<I>MessageR</I></CODE><CODE>)</CODE></BLOCKQUOTE><P> </P></BLOCKQUOTE></DD><DD><P>Adds the message <CODE><I>MessageR</I></CODE> to the current tail of the message stream. </P></DD><DT><CODE>tkClose</CODE> <A name="label1623"></A> </DT><DD><BLOCKQUOTE class="synopsis"><P></P><BLOCKQUOTE class="code"><CODE>tkClose()</CODE></BLOCKQUOTE><P> </P></BLOCKQUOTE></DD><DD><P>Decouples the message stream from the serving thread. That is, after all messages that are currently on the stream have been served, the serving thread terminates. </P></DD></DL><P> </P><P> </P></DIV><TABLE align="center" border="0" cellpadding="6" cellspacing="6" class="nav"><TR bgcolor="#DDDDDD"><TD><A href="node91.html#section.tk.font"><< Prev</A></TD><TD><A href="node81.html">- Up -</A></TD><TD><A href="node93.html#section.tk.strings">Next >></A></TD></TR></TABLE><HR><ADDRESS><A href="http://www.ps.uni-sb.de/~duchier/">Denys Duchier</A>, <A href="http://www.ps.uni-sb.de/~kornstae/">Leif Kornstaedt</A>, <A href="http://www.ps.uni-sb.de/~homik/">Martin Homik</A>, <A href="http://www.ps.uni-sb.de/~tmueller/">Tobias Müller</A>, <A href="http://www.ps.uni-sb.de/~schulte/">Christian Schulte</A> and <A href="http://www.info.ucl.ac.be/~pvr">Peter Van Roy</A><BR><SPAN class="version">Version 1.4.0 (20110908185330)</SPAN></ADDRESS></BODY></HTML>
|