/usr/share/mozart/doc/system/node87.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.6 Menu Entries</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="node86.html#section.tk.toplevel"><< Prev</A></TD><TD><A href="node81.html">- Up -</A></TD><TD><A href="node88.html#section.tk.variable">Next >></A></TD></TR></TABLE><DIV id="section.tk.menuentry"><H2><A name="section.tk.menuentry">28.6 Menu Entries</A></H2><P> <A name="label1405"></A> <A name="label1407"></A> <A name="label1409"></A> <A name="label1411"></A> <A name="label1413"></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>menuentry<SPAN class="keyword">.</SPAN>cascade</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>menuentry<SPAN class="keyword">.</SPAN>checkbutton</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>menuentry<SPAN class="keyword">.</SPAN>command</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>menuentry<SPAN class="keyword">.</SPAN>radiobutton</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>menuentry<SPAN class="keyword">.</SPAN>separator</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></TABLE><P> </P><P> </P><DL><DT><CODE>tkInit</CODE> <A name="label1415"></A> <A name="label1417"></A> <A name="label1419"></A> <A name="label1421"></A> <A name="label1423"></A> </DT><DD><BLOCKQUOTE class="synopsis"><P></P><BLOCKQUOTE class="code"><CODE>tkInit(parent: </CODE><CODE>+<I>WidgetO</I></CODE><CODE> <BR> before: </CODE><CODE>+<I>BeforeTcl</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 and creates a menu entry. </P><P> The field <CODE><I>WidgetO</I></CODE> for the special feature <CODE>parent</CODE> must be an instance of <CODE>Tk<SPAN class="keyword">.</SPAN>menu</CODE>. <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="label1425"></A> <A name="label1427"></A> <A name="label1429"></A> <A name="label1431"></A> <A name="label1433"></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>tkClose</CODE> <A name="label1435"></A> <A name="label1437"></A> <A name="label1439"></A> <A name="label1441"></A> <A name="label1443"></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 destroys the menu entry. 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="node86.html#section.tk.toplevel"><< Prev</A></TD><TD><A href="node81.html">- Up -</A></TD><TD><A href="node88.html#section.tk.variable">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>
|