/usr/share/mozart/doc/system/node84.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.3 No-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="node83.html#section.tk.objects"><< Prev</A></TD><TD><A href="node81.html">- Up -</A></TD><TD><A href="node85.html#section.tk.action-widget">Next >></A></TD></TR></TABLE><DIV id="section.tk.no-action"><H2><A name="section.tk.no-action">28.3 No-Action Widgets</A></H2><P> <A name="label945"></A> <A name="label947"></A> <A name="label949"></A> <A name="label951"></A> <A name="label953"></A> <A name="label955"></A> <A name="label957"></A> <A name="label959"></A> <A name="label961"></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>canvas</CODE></P></TD><TD><P><A href="../wp/node32.html#chapter.canvas">Chapter 6 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>entry</CODE></P></TD><TD><P><A href="../wp/node26.html#section.widgets-2.entry">Section 5.7 of ``Window Programming in Mozart''</A> </P></TD><TD><P><A href="../tcltk/TkCmd/entry.htm"><CODE>entry</CODE></A></P></TD></TR><TR valign="top"><TD><P><CODE>Tk<SPAN class="keyword">.</SPAN>frame</CODE></P></TD><TD><P><A href="../wp/node9.html#section.widgets-1.frame">Section 3.3 of ``Window Programming in Mozart''</A> </P></TD><TD><P><A href="../tcltk/TkCmd/frame.htm"><CODE>frame</CODE></A></P></TD></TR><TR valign="top"><TD><P><CODE>Tk<SPAN class="keyword">.</SPAN>label</CODE></P></TD><TD><P><A href="../wp/node11.html#section.widgets-1.label">Section 3.5 of ``Window Programming in Mozart''</A> </P></TD><TD><P><A href="../tcltk/TkCmd/label.htm"><CODE>label</CODE></A></P></TD></TR><TR valign="top"><TD><P><CODE>Tk<SPAN class="keyword">.</SPAN>listbox</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/listbox.htm"><CODE>listbox</CODE></A></P></TD></TR><TR valign="top"><TD><P><CODE>Tk<SPAN class="keyword">.</SPAN>menu</CODE></P></TD><TD><P><A href="../wp/node23.html#section.widgets-2.menu">Section 5.4 of ``Window Programming in Mozart''</A> </P></TD><TD><P><A href="../tcltk/TkCmd/menu.htm"><CODE>menu</CODE></A></P></TD></TR><TR valign="top"><TD><P><CODE>Tk<SPAN class="keyword">.</SPAN>menubutton</CODE></P></TD><TD><P><A href="../wp/node23.html#section.widgets-2.menu">Section 5.4 of ``Window Programming in Mozart''</A> </P></TD><TD><P><A href="../tcltk/TkCmd/menubutton.htm"><CODE>menubutton</CODE></A></P></TD></TR><TR valign="top"><TD><P><CODE>Tk<SPAN class="keyword">.</SPAN>message</CODE></P></TD><TD><P><A href="../wp/node13.html#section.widgets-1.messages">Section 3.7 of ``Window Programming in Mozart''</A> </P></TD><TD><P><A href="../tcltk/TkCmd/message.htm"><CODE>message</CODE></A></P></TD></TR><TR valign="top"><TD><P><CODE>Tk<SPAN class="keyword">.</SPAN>text</CODE></P></TD><TD><P><A href="../wp/node37.html#chapter.text">Chapter 7 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> All above mentioned classes provide the following methods: </P><DL><DT><CODE>tkInit</CODE> <A name="label963"></A> <A name="label965"></A> <A name="label967"></A> <A name="label969"></A> <A name="label971"></A> <A name="label973"></A> <A name="label975"></A> <A name="label977"></A> <A name="label979"></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. <CODE><SPAN class="keyword">self</SPAN></CODE> becomes a slave of <CODE><I>WidgetO</I></CODE>. </P></DD><DT><CODE>tk</CODE> <A name="label981"></A> <A name="label983"></A> <A name="label985"></A> <A name="label987"></A> <A name="label989"></A> <A name="label991"></A> <A name="label993"></A> <A name="label995"></A> <A name="label997"></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="label999"></A> <A name="label1001"></A> <A name="label1003"></A> <A name="label1005"></A> <A name="label1007"></A> <A name="label1009"></A> <A name="label1011"></A> <A name="label1013"></A> <A name="label1015"></A> <A name="label1017"></A> <A name="label1019"></A> <A name="label1021"></A> <A name="label1023"></A> <A name="label1025"></A> <A name="label1027"></A> <A name="label1029"></A> <A name="label1031"></A> <A name="label1033"></A> <A name="label1035"></A> <A name="label1037"></A> <A name="label1039"></A> <A name="label1041"></A> <A name="label1043"></A> <A name="label1045"></A> <A name="label1047"></A> <A name="label1049"></A> <A name="label1051"></A> <A name="label1053"></A> <A name="label1055"></A> <A name="label1057"></A> <A name="label1059"></A> <A name="label1061"></A> <A name="label1063"></A> <A name="label1065"></A> <A name="label1067"></A> <A name="label1069"></A> <A name="label1071"></A> <A name="label1073"></A> <A name="label1075"></A> <A name="label1077"></A> <A name="label1079"></A> <A name="label1081"></A> <A name="label1083"></A> <A name="label1085"></A> <A name="label1087"></A> <A name="label1089"></A> <A name="label1091"></A> <A name="label1093"></A> <A name="label1095"></A> <A name="label1097"></A> <A name="label1099"></A> <A name="label1101"></A> <A name="label1103"></A> <A name="label1105"></A> <A name="label1107"></A> <A name="label1109"></A> <A name="label1111"></A> <A name="label1113"></A> <A name="label1115"></A> <A name="label1117"></A> <A name="label1119"></A> <A name="label1121"></A> <A name="label1123"></A> <A name="label1125"></A> <A name="label1127"></A> <A name="label1129"></A> <A name="label1131"></A> <A name="label1133"></A> <A name="label1135"></A> <A name="label1137"></A> <A name="label1139"></A> <A name="label1141"></A> <A name="label1143"></A> <A name="label1145"></A> <A name="label1147"></A> <A name="label1149"></A> <A name="label1151"></A> <A name="label1153"></A> <A name="label1155"></A> <A name="label1157"></A> <A name="label1159"></A> <A name="label1161"></A> <A name="label1163"></A> <A name="label1165"></A> <A name="label1167"></A> <A name="label1169"></A> <A name="label1171"></A> <A name="label1173"></A> <A name="label1175"></A> <A name="label1177"></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="label1179"></A> <A name="label1181"></A> <A name="label1183"></A> <A name="label1185"></A> <A name="label1187"></A> <A name="label1189"></A> <A name="label1191"></A> <A name="label1193"></A> <A name="label1195"></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="label1197"></A> <A name="label1199"></A> <A name="label1201"></A> <A name="label1203"></A> <A name="label1205"></A> <A name="label1207"></A> <A name="label1209"></A> <A name="label1211"></A> <A name="label1213"></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="node83.html#section.tk.objects"><< Prev</A></TD><TD><A href="node81.html">- Up -</A></TD><TD><A href="node85.html#section.tk.action-widget">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>
|