/usr/share/mozart/doc/wp/node29.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>5.10 Toplevel Widgets and Window Manager Commands</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="node28.html#section.widgets-2.listbox"><< Prev</A></TD><TD><A href="node19.html">- Up -</A></TD><TD><A href="node30.html#section.widgets-2.file">Next >></A></TD></TR></TABLE><DIV id="section.widgets-2.wm"><H2><A name="section.widgets-2.wm">5.10 Toplevel Widgets and Window Manager Commands</A></H2><P> To manipulate toplevel widgets which are managed by the window manager similar to how other widgets are managed by a geometry manager, Tcl/Tk provides for the <CODE>wm</CODE> command. </P><P> For example, by </P><BLOCKQUOTE class="code"><CODE>{Tk<SPAN class="keyword">.</SPAN>send wm(iconify </CODE><CODE><I>T</I></CODE><CODE>)}</CODE></BLOCKQUOTE><P> the toplevel widget <CODE><I>T</I></CODE> is iconified whereas by </P><BLOCKQUOTE class="code"><CODE>{Tk<SPAN class="keyword">.</SPAN>send wm(deiconify </CODE><CODE><I>T</I></CODE><CODE>)}</CODE></BLOCKQUOTE><P> it is deiconified. For more information see <A href="../tcltk/TkCmd/wm.htm"><KBD>wm</KBD></A>. </P><P> Two important forms of the <CODE>wm</CODE> command are supported such that they can be given as options to the <CODE>tkInit</CODE> method of the <CODE>Tk<SPAN class="keyword">.</SPAN>toplevel</CODE> class. </P><DIV class="apropos"><P class="margin">titled toplevel</P><P> For example <A name="label258"></A> </P><DL class="anonymous"><DD class="code"><CODE>W={New Tk<SPAN class="keyword">.</SPAN>toplevel tkInit(title:<SPAN class="string">'Something different'</SPAN>)}</CODE></DD></DL><P> creates a toplevel widget with the title <CODE>Something different</CODE>. </P></DIV><DIV class="apropos"><P class="margin">withdrawn toplevels</P><P> Sometimes it is important to create a toplevel widget in a <A name="label259"></A><EM>withdrawn</EM> state: the toplevel widget does not appear on the screen. This can be used to first create all widgets to be contained in the toplevel widget, invoke a geometry manager for them, and only then make the toplevel widget appear on the screen. A toplevel widget can be created in withdrawn state by </P><DL class="anonymous"><DD class="code"><CODE>W={New Tk<SPAN class="keyword">.</SPAN>toplevel tkInit(withdraw:<SPAN class="keyword">true</SPAN>)}</CODE></DD></DL><P> </P></DIV><P> To make the toplevel widget appear, the window manager command </P><DL class="anonymous"><DD class="code"><CODE>{Tk<SPAN class="keyword">.</SPAN>send wm(deiconify W)}</CODE></DD></DL><P> can be used. </P><P> Reference information on the window manager command can be found in <A href="../tcltk/TkCmd/wm.htm"><KBD>wm</KBD></A>. </P></DIV><TABLE align="center" border="0" cellpadding="6" cellspacing="6" class="nav"><TR bgcolor="#DDDDDD"><TD><A href="node28.html#section.widgets-2.listbox"><< Prev</A></TD><TD><A href="node19.html">- Up -</A></TD><TD><A href="node30.html#section.widgets-2.file">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>
|