/usr/share/mozart/doc/system/node89.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.8 Tags And Marks</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="node88.html#section.tk.variable"><< Prev</A></TD><TD><A href="node81.html">- Up -</A></TD><TD><A href="node90.html#section.tk.image">Next >></A></TD></TR></TABLE><DIV id="section.tk.tagmark"><H2><A name="section.tk.tagmark">28.8 Tags And Marks</A></H2><P> <A name="label1471"></A> <A name="label1473"></A> <A name="label1475"></A> The following table lists the widgets that do not accept actions: </P><TABLE align="center" bgcolor="#f0f0e0"><TR valign="top"><TH><P>Class</P></TH><TH><P>Example</P></TH><TH><P>Reference</P></TH></TR><TR valign="top"><TD><P><CODE>Tk<SPAN class="keyword">.</SPAN>canvasTag</CODE></P></TD><TD><P><A href="../wp/node35.html#section.canvas.tags">Section 6.3 of ``Window Programming in Mozart''</A> </P></TD><TD><P><A href="../tcltk/TkCmd/canvas.htm"><CODE>canvas</CODE></A></P></TD></TR><TR valign="top"><TD><P><CODE>Tk<SPAN class="keyword">.</SPAN>textTag</CODE></P></TD><TD><P><A href="../wp/node39.html#section.text.tags">Section 7.2 of ``Window Programming in Mozart''</A> </P></TD><TD><P><A href="../tcltk/TkCmd/text.htm"><CODE>text</CODE></A></P></TD></TR><TR valign="top"><TD><P><CODE>Tk<SPAN class="keyword">.</SPAN>textMark</CODE></P></TD><TD><P><A href="../wp/node39.html#section.text.tags">Section 7.2 of ``Window Programming in Mozart''</A> </P></TD><TD><P><A href="../tcltk/TkCmd/text.htm"><CODE>text</CODE></A></P></TD></TR></TABLE><P> </P><P> The above mentioned classes provide the following methods: </P><DL><DT><CODE>tkInit</CODE> <A name="label1477"></A> <A name="label1479"></A> <A name="label1481"></A> </DT><DD><BLOCKQUOTE class="synopsis"><P></P><BLOCKQUOTE class="code"><CODE>tkInit(parent:</CODE><CODE>+<I>WidgetO</I></CODE><CODE> <SPAN class="keyword">...</SPAN>)</CODE></BLOCKQUOTE><P> </P></BLOCKQUOTE></DD><DD><P>Initializes the widget object and creates the widget. </P><P> The field <CODE><I>WidgetO</I></CODE> for the special feature <CODE>parent</CODE> must be a tickle object. If <CODE><SPAN class="keyword">self</SPAN></CODE> is an instance of <CODE>Tk<SPAN class="keyword">.</SPAN>canvasTag</CODE>, <CODE><I>WidgetO</I></CODE> must be an instance of <CODE>Tk<SPAN class="keyword">.</SPAN>canvas</CODE>. Otherwise, <CODE><I>WidgetO</I></CODE> must be an instance of <CODE>Tk<SPAN class="keyword">.</SPAN>text</CODE>. <CODE><SPAN class="keyword">self</SPAN></CODE> becomes a slave of <CODE><I>WidgetO</I></CODE>. </P></DD><DT><CODE>tk</CODE> <A name="label1483"></A> <A name="label1485"></A> <A name="label1487"></A> </DT><DD><BLOCKQUOTE class="synopsis"><P></P><BLOCKQUOTE class="code"><CODE>tk(<SPAN class="keyword">...</SPAN>)</CODE></BLOCKQUOTE><P> </P></BLOCKQUOTE></DD><DD><P>Sends a command for <CODE><SPAN class="keyword">self</SPAN></CODE> to the graphics engine. </P></DD><DT><CODE>tkReturn</CODE> <A name="label1489"></A> <A name="label1491"></A> <A name="label1493"></A> <A name="label1495"></A> <A name="label1497"></A> <A name="label1499"></A> <A name="label1501"></A> <A name="label1503"></A> <A name="label1505"></A> <A name="label1507"></A> <A name="label1509"></A> <A name="label1511"></A> <A name="label1513"></A> <A name="label1515"></A> <A name="label1517"></A> <A name="label1519"></A> <A name="label1521"></A> <A name="label1523"></A> <A name="label1525"></A> <A name="label1527"></A> <A name="label1529"></A> <A name="label1531"></A> <A name="label1533"></A> <A name="label1535"></A> <A name="label1537"></A> <A name="label1539"></A> <A name="label1541"></A> <A name="label1543"></A> <A name="label1545"></A> <A name="label1547"></A> </DT><DD><BLOCKQUOTE class="synopsis"><P></P><BLOCKQUOTE class="code"><CODE>tkReturn(<SPAN class="keyword">...</SPAN> </CODE><CODE>?<I>S</I></CODE><CODE>)<BR>tkReturnString(<SPAN class="keyword">...</SPAN> </CODE><CODE>?<I>S</I></CODE><CODE>)<BR>tkReturnAtom(<SPAN class="keyword">...</SPAN> </CODE><CODE>?<I>A</I></CODE><CODE>)<BR>tkReturnInt(<SPAN class="keyword">...</SPAN> </CODE><CODE>?<I>IB</I></CODE><CODE>)<BR>tkReturnFloat(<SPAN class="keyword">...</SPAN> </CODE><CODE>?<I>FB</I></CODE><CODE>)<BR>tkReturnList(<SPAN class="keyword">...</SPAN> </CODE><CODE>?<I>Ss</I></CODE><CODE>)<BR>tkReturnListString(<SPAN class="keyword">...</SPAN> </CODE><CODE>?<I>Ss</I></CODE><CODE>)<BR>tkReturnListAtom(<SPAN class="keyword">...</SPAN> </CODE><CODE>?<I>As</I></CODE><CODE>)<BR>tkReturnListInt(<SPAN class="keyword">...</SPAN> </CODE><CODE>?<I>IBs</I></CODE><CODE>)<BR>tkReturnListFloat(<SPAN class="keyword">...</SPAN> </CODE><CODE>?<I>FBs</I></CODE><CODE>)</CODE></BLOCKQUOTE><P> </P></BLOCKQUOTE></DD><DD><P>Sends a command for <CODE><SPAN class="keyword">self</SPAN></CODE> to the graphics engine and returns the result in the field with the highest integer feature. </P></DD><DT><CODE>tkBind</CODE> <A name="label1549"></A> <A name="label1551"></A> <A name="label1553"></A> </DT><DD><BLOCKQUOTE class="synopsis"><P></P><BLOCKQUOTE class="code"><CODE>tkBind(event: </CODE><CODE><I>EventV</I></CODE><CODE> <BR> action: </CODE><CODE><I>Action</I></CODE><CODE> <SPAN class="keyword"><=</SPAN> _<BR> args: </CODE><CODE><I>Args</I></CODE><CODE> <SPAN class="keyword"><=</SPAN> nil<BR> append: </CODE><CODE><I>AppendB</I></CODE><CODE> <SPAN class="keyword"><=</SPAN> <SPAN class="keyword">false</SPAN> <BR> break: </CODE><CODE><I>BreakB</I></CODE><CODE> <SPAN class="keyword"><=</SPAN> <SPAN class="keyword">false</SPAN>)</CODE></BLOCKQUOTE><P> </P></BLOCKQUOTE></DD><DD><P>Defines an event binding for <CODE><SPAN class="keyword">self</SPAN></CODE>. Events are described in <A href="../wp/node24.html#section.widgets-2.events">Section 5.5 of ``Window Programming in Mozart''</A>, <A href="../wp/node35.html#section.canvas.tags">Section 6.3 of ``Window Programming in Mozart''</A>, <A href="../wp/node40.html#section.text.toy">Section 7.3 of ``Window Programming in Mozart''</A>, and <A href="node83.html#section.tk.action-event-arguments">Section 28.2.3</A>. </P></DD><DT><CODE>tkClose</CODE> <A name="label1555"></A> <A name="label1557"></A> <A name="label1559"></A> </DT><DD><BLOCKQUOTE class="synopsis"><P></P><BLOCKQUOTE class="code"><CODE>tkClose()</CODE></BLOCKQUOTE><P> </P></BLOCKQUOTE></DD><DD><P>Closes the object and performs a <CODE>delete</CODE> command on all entities that are currently referred to by <CODE><SPAN class="keyword">self</SPAN></CODE>. </P></DD></DL><P> </P></DIV><TABLE align="center" border="0" cellpadding="6" cellspacing="6" class="nav"><TR bgcolor="#DDDDDD"><TD><A href="node88.html#section.tk.variable"><< Prev</A></TD><TD><A href="node81.html">- Up -</A></TD><TD><A href="node90.html#section.tk.image">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>
|