/usr/share/mozart/doc/system/node86.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.5 Toplevel 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="node85.html#section.tk.action-widget"><< Prev</A></TD><TD><A href="node81.html">- Up -</A></TD><TD><A href="node87.html#section.tk.menuentry">Next >></A></TD></TR></TABLE><DIV id="section.tk.toplevel"><H2><A name="section.tk.toplevel">28.5 Toplevel Widgets</A></H2><P> <A name="label1375"></A> The class <CODE>Tk<SPAN class="keyword">.</SPAN>toplevel</CODE> provides the following methods: </P><DL><DT><CODE>tkInit</CODE> <A name="label1377"></A> </DT><DD><BLOCKQUOTE class="synopsis"><P></P><BLOCKQUOTE class="code"><CODE>tkInit(parent: </CODE><CODE>+<I>ParentTcl</I></CODE><CODE> <BR> delete: </CODE><CODE>+<I>DeleteAction</I></CODE><CODE> <BR> title: </CODE><CODE>+<I>TitleTcl</I></CODE><CODE> <BR> withdraw: </CODE><CODE>+<I>WithdrawB</I></CODE><CODE> <BR> <SPAN class="keyword">...</SPAN>)</CODE></BLOCKQUOTE><P> </P></BLOCKQUOTE></DD><DD><P>Initializes the widget object and creates a new toplevel widget. </P><P> For more information see <A href="../wp/node7.html#section.widgets-1.toplevel">Section 3.1 of ``Window Programming in Mozart''</A> and <A href="../wp/node29.html#section.widgets-2.wm">Section 5.10 of ``Window Programming in Mozart''</A> </P></DD><DT><CODE>tk</CODE> <A name="label1379"></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="label1381"></A> <A name="label1383"></A> <A name="label1385"></A> <A name="label1387"></A> <A name="label1389"></A> <A name="label1391"></A> <A name="label1393"></A> <A name="label1395"></A> <A name="label1397"></A> <A name="label1399"></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="label1401"></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="label1403"></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 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="node85.html#section.tk.action-widget"><< Prev</A></TD><TD><A href="node81.html">- Up -</A></TD><TD><A href="node87.html#section.tk.menuentry">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>
|