widget.html

来自「perl教程」· HTML 代码 · 共 98 行

HTML
98 行
字号
<?xml version="1.0" ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<!-- saved from url=(0017)http://localhost/ -->
<script language="JavaScript" src="../displayToc.js"></script>
<script language="JavaScript" src="../tocParas.js"></script>
<script language="JavaScript" src="../tocTab.js"></script>
<link rel="stylesheet" type="text/css" href="../scineplex.css">
<title>widget - Demonstration of Perl/Tk widgets</title>
<link rel="stylesheet" href="../Active.css" type="text/css" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:" />
</head>

<body>

<script>writelinks('__top__',1);</script>
<h1><a>widget - Demonstration of Perl/Tk widgets</a></h1>
<p><a name="__index__"></a></p>

<!-- INDEX BEGIN -->

<ul>

	<li><a href="#name">NAME</a></li>
	<li><a href="#synopsys">SYNOPSYS</a></li>
	<li><a href="#description">DESCRIPTION</a></li>
	<ul>

		<li><a href="#history">History</a></li>
	</ul>

	<li><a href="#author">AUTHOR</a></li>
</ul>
<!-- INDEX END -->

<hr />
<p>
</p>
<h1><a name="name">NAME</a></h1>
<p>widget - Demonstration of Perl/Tk widgets</p>
<p>
</p>
<hr />
<h1><a name="synopsys">SYNOPSYS</a></h1>
<pre>
  widget [ directory ]</pre>
<p>
</p>
<hr />
<h1><a name="description">DESCRIPTION</a></h1>
<p>This script demonstrates the various widgets provided by Tk, along with
many of the features of the Tk toolkit.  This file only contains code to
generate the main window for the application, which invokes individual
demonstrations.  The code for the actual demonstrations is contained in
separate &quot;.pl&quot; files in the &quot;widget_lib&quot; directory, which are autoloaded
by this script as needed.</p>
<p>widget looks in the directory specified on the command line to load user
contributed demonstrations.  If no directory name is specified when widget is
invoked and the environment variable WIDTRIB is defined then demonstrations
are loaded from the WIDTRIB directory. If WIDTRIB is undefined then widget
defaults to the released user contributed directory, &quot;widtrib&quot;.</p>
<p>
</p>
<h2><a name="history">History</a></h2>
<pre>
 <span class="comment">#</span>
 <span class="comment"># Stephen O. Lidie, LUCC, 96/03/11.  lusol@Lehigh.EDU</span>
 <span class="comment"># Stephen O. Lidie, LUCC, 97/01/01.  lusol@Lehigh.EDU</span>
 <span class="comment"># Stephen O. Lidie, LUCC, 97/02/11.  lusol@Lehigh.EDU</span>
 <span class="comment"># Stephen O. Lidie, LUCC, 97/06/07.  lusol@Lehigh.EDU</span>
 <span class="comment">#     Update for Tk402.00x.  Total revamp:  WidgetDemo, Scrolled, released</span>
 <span class="comment">#     composites, -menuitems, qw//, etcetera.  Perl 5.004 required.</span>
 <span class="comment"># Stephen O. Lidie, LUCC, 98/03/10.  lusol@Lehigh.EDU</span>
 <span class="comment">#     Update for Tk8.</span>
 <span class="comment"># Stephen O. Lidie, LUCC, 98/06/26.  Stephen.O.Lidie@Lehigh.EDU</span>
 <span class="comment">#     Add Common Dialogs for Tk800.007.</span>
 <span class="comment"># Stephen.O.Lidie@Lehigh.EDU, 1999/11/29, Lehigh University.</span>
 <span class="comment">#     Demo some "dash patch" changes.</span>
 <span class="comment"># Stephen.O.Lidie@Lehigh.EDU, 2000/01/11, Lehigh University.</span>
 <span class="comment">#     Update menubar to Tk 8, fix color palette Menubutton demo.</span>
 <span class="comment"># Stephen.O.Lidie@Lehigh.EDU, 2000/07/06, Lehigh University.</span>
 <span class="comment">#     Remove inswt() from widget and styles.pl to show the proper Perl/Tk</span>
 <span class="comment">#     idiom for inserting Text tags.  Various and sundry cleanups.</span>
 <span class="comment"># sol0@lehigh.edu, 2003/07/29, Lehigh University Computing Center.</span>
 <span class="comment">#     Update for Tk 8.4.4.</span>
</pre>
<p>
</p>
<hr />
<h1><a name="author">AUTHOR</a></h1>
<p>Steve Lidie &lt;<a href="mailto:sol0@Lehigh.EDU">sol0@Lehigh.EDU</a>&gt;</p>

</body>

</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?