/usr/share/mozart/doc/wp/node43.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>8.2 Error Dialogs</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="node42.html#section.tools.dialogs"><< Prev</A></TD><TD><A href="node41.html">- Up -</A></TD><TD><A href="node44.html#section.tools.menubars">Next >></A></TD></TR></TABLE><DIV id="section.tools.error"><H2><A name="section.tools.error">8.2 Error Dialogs</A></H2><P><A name="label335"></A> A dialog to display error messages is provided by the class <CODE>TkTools<SPAN class="keyword">.</SPAN>error</CODE>, which is a sub class of <CODE>TkTools<SPAN class="keyword">.</SPAN>dialog</CODE>. <A href="node43.html#figure.tools.error">Figure 8.2</A> shows an example of how to use <CODE>TkTools<SPAN class="keyword">.</SPAN>error</CODE>. </P><P> </P><DIV id="figure.tools.error"><HR><P><A name="figure.tools.error"></A></P><P> </P><DIV align="center"><IMG alt="" src="error.gif"></DIV><P> </P><DL class="anonymous"><DD class="code"><CODE>E={New TkTools<SPAN class="keyword">.</SPAN>error<BR> tkInit(master:W<BR> text: <SPAN class="string">'Error in system configuration: '</SPAN><SPAN class="keyword">#</SPAN> <BR> <SPAN class="string">'too much memory.'</SPAN>)}</CODE></DD></DL><P> </P><P class="caption"><STRONG>Figure 8.2:</STRONG> A transient error dialog.</P><HR></DIV><P> </P><DIV class="apropos"><P class="margin">transient widgets</P><P> All dialogs provide for the option <CODE>master</CODE>. By giving a toplevel widget as value for <CODE>master</CODE>, the dialog appears as a <A name="label336"></A><EM>transient</EM> widget: depending on the window manager the widget appears with less decoration, e. g., no title, on the screen. Moreover, when the master widget is closed, the dialog is closed as well. </P></DIV></DIV><TABLE align="center" border="0" cellpadding="6" cellspacing="6" class="nav"><TR bgcolor="#DDDDDD"><TD><A href="node42.html#section.tools.dialogs"><< Prev</A></TD><TD><A href="node41.html">- Up -</A></TD><TD><A href="node44.html#section.tools.menubars">Next >></A></TD></TR></TABLE><HR><ADDRESS><A href="http://www.ps.uni-sb.de/~schulte/">Christian Schulte</A><BR><SPAN class="version">Version 1.4.0 (20110908185330)</SPAN></ADDRESS></BODY></HTML>
|