/usr/share/mozart/doc/system/node85.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.4 Action Widgets</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="node84.html#section.tk.no-action"><< Prev</A></TD><TD><A href="node81.html">- Up -</A></TD><TD><A href="node86.html#section.tk.toplevel">Next >></A></TD></TR></TABLE><DIV id="section.tk.action-widget"><H2><A name="section.tk.action-widget">28.4 Action Widgets</A></H2><P> <A name="label1215"></A> <A name="label1217"></A> <A name="label1219"></A> <A name="label1221"></A> <A name="label1223"></A> </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>button</CODE></P></TD><TD><P><A href="../wp/node20.html#section.widgets-2.button">Section 5.1 of ``Window Programming in Mozart''</A> </P></TD><TD><P><A href="../tcltk/TkCmd/button.htm"><CODE>button</CODE></A></P></TD></TR><TR valign="top"><TD><P><CODE>Tk<SPAN class="keyword">.</SPAN>checkbutton</CODE></P></TD><TD><P><A href="../wp/node21.html#section.widgets-2.otherbuttons">Section 5.2 of ``Window Programming in Mozart''</A> </P></TD><TD><P><A href="../tcltk/TkCmd/checkbutton.htm"><CODE>checkbutton</CODE></A></P></TD></TR><TR valign="top"><TD><P><CODE>Tk<SPAN class="keyword">.</SPAN>radiobutton</CODE></P></TD><TD><P><A href="../wp/node21.html#section.widgets-2.otherbuttons">Section 5.2 of ``Window Programming in Mozart''</A> </P></TD><TD><P><A href="../tcltk/TkCmd/radiobutton.htm"><CODE>radiobutton</CODE></A></P></TD></TR><TR valign="top"><TD><P><CODE>Tk<SPAN class="keyword">.</SPAN>scale</CODE></P></TD><TD><P><A href="../wp/node27.html#section.widgets-2.scale">Section 5.8 of ``Window Programming in Mozart''</A> </P></TD><TD><P><A href="../tcltk/TkCmd/scale.htm"><CODE>scale</CODE></A></P></TD></TR><TR valign="top"><TD><P><CODE>Tk<SPAN class="keyword">.</SPAN>scrollbar</CODE></P></TD><TD><P><A href="../wp/node28.html#section.widgets-2.listbox">Section 5.9 of ``Window Programming in Mozart''</A> </P></TD><TD><P><A href="../tcltk/TkCmd/scrollbar.htm"><CODE>scrollbar</CODE></A></P></TD></TR></TABLE><P> </P><P> </P><DL><DT><CODE>tkInit</CODE> <A name="label1225"></A> <A name="label1227"></A> <A name="label1229"></A> <A name="label1231"></A> <A name="label1233"></A> </DT><DD><BLOCKQUOTE class="synopsis"><P></P><BLOCKQUOTE class="code"><CODE>tkInit(parent: </CODE><CODE>+<I>WidgetO</I></CODE><CODE> <BR> action: </CODE><CODE>+<I>Action</I></CODE><CODE> <BR> args: </CODE><CODE>+<I>Args</I></CODE><CODE> <SPAN class="keyword"><=</SPAN> nil <BR> <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. <CODE><SPAN class="keyword">self</SPAN></CODE> becomes a slave of <CODE><I>WidgetO</I></CODE>. <CODE><I>Action</I></CODE> and <CODE><I>Args</I></CODE> are described in <A href="node83.html#section.tk.action-values">Section 28.2.1</A> and <A href="node83.html#section.tk.action-arguments">Section 28.2.2</A>. </P></DD><DT><CODE>tk</CODE> <A name="label1235"></A> <A name="label1237"></A> <A name="label1239"></A> <A name="label1241"></A> <A name="label1243"></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="label1245"></A> <A name="label1247"></A> <A name="label1249"></A> <A name="label1251"></A> <A name="label1253"></A> <A name="label1255"></A> <A name="label1257"></A> <A name="label1259"></A> <A name="label1261"></A> <A name="label1263"></A> <A name="label1265"></A> <A name="label1267"></A> <A name="label1269"></A> <A name="label1271"></A> <A name="label1273"></A> <A name="label1275"></A> <A name="label1277"></A> <A name="label1279"></A> <A name="label1281"></A> <A name="label1283"></A> <A name="label1285"></A> <A name="label1287"></A> <A name="label1289"></A> <A name="label1291"></A> <A name="label1293"></A> <A name="label1295"></A> <A name="label1297"></A> <A name="label1299"></A> <A name="label1301"></A> <A name="label1303"></A> <A name="label1305"></A> <A name="label1307"></A> <A name="label1309"></A> <A name="label1311"></A> <A name="label1313"></A> <A name="label1315"></A> <A name="label1317"></A> <A name="label1319"></A> <A name="label1321"></A> <A name="label1323"></A> <A name="label1325"></A> <A name="label1327"></A> <A name="label1329"></A> <A name="label1331"></A> <A name="label1333"></A> <A name="label1335"></A> <A name="label1337"></A> <A name="label1339"></A> <A name="label1341"></A> <A name="label1343"></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>tkAction</CODE> <A name="label1345"></A> <A name="label1347"></A> <A name="label1349"></A> <A name="label1351"></A> <A name="label1353"></A> </DT><DD><BLOCKQUOTE class="synopsis"><P></P><BLOCKQUOTE class="code"><CODE>tkAction(action: </CODE><CODE>+<I>Action</I></CODE><CODE> <SPAN class="keyword"><=</SPAN> <SPAN class="keyword">unit</SPAN> <BR> args: </CODE><CODE>+<I>Args</I></CODE><CODE>)</CODE></BLOCKQUOTE><P> </P></BLOCKQUOTE></DD><DD><P>Redefines or deletes an action. <CODE><I>Action</I></CODE> and <CODE><I>Args</I></CODE> are described in <A href="node83.html#section.tk.action-values">Section 28.2.1</A> and <A href="node83.html#section.tk.action-arguments">Section 28.2.2</A>. </P></DD><DT><CODE>tkBind</CODE> <A name="label1355"></A> <A name="label1357"></A> <A name="label1359"></A> <A name="label1361"></A> <A name="label1363"></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> and <A href="node83.html#section.tk.action-event-arguments">Section 28.2.3</A>. </P></DD><DT><CODE>tkClose</CODE> <A name="label1365"></A> <A name="label1367"></A> <A name="label1369"></A> <A name="label1371"></A> <A name="label1373"></A> </DT><DD><BLOCKQUOTE class="synopsis"><P></P><BLOCKQUOTE class="code"><CODE>tkClose()</CODE></BLOCKQUOTE><P> </P></BLOCKQUOTE></DD><DD><P>Closes the widget object and destroys the widgets and all slave widgets. Further object application of <CODE><SPAN class="keyword">self</SPAN></CODE> raises an exception. </P></DD></DL><P> </P></DIV><TABLE align="center" border="0" cellpadding="6" cellspacing="6" class="nav"><TR bgcolor="#DDDDDD"><TD><A href="node84.html#section.tk.no-action"><< Prev</A></TD><TD><A href="node81.html">- Up -</A></TD><TD><A href="node86.html#section.tk.toplevel">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>
|