原文:
16. Composite Widgets.
Composite widgets combine the functions of two or more widget primitives into something that is not quite a stand alone program but is something that may prove very useful for inclusion in your own scripts. A variety of composite widgets have been written and many are still being worked on. Many come bundled with your perl/Tk distribution kit, and some are simply posted to comp.lang.perl.tk. It is quite common to have composite widgets written in perl modules - usually in terms of the Tk widget primitives. Graphical examples of some of the composites discussed here can be seen by GUI browsers at: http://www.perltk.org/contrib/ptkIMG.html
译文:
16. 复合组件
所谓复合组件,它是两个或多个简单组件功能的组合,但不是作为一个独立的程序,而是作为一个有用的模块可以被其它脚本所使用的。事实上,目前已经有了很多各种各样的复合组件,并且很多还在继续的发展中。其中的很多复合组件已经被包含在了现在的Perl/Tk包中,而还有一些则只是被简单的贴在comp.lang.perl.tk新闻组中。复合组件的使用方法通常和Tk的简单组件是一样的。(译者注:在以前的帖子中,我们曾经给出了很多组件——包括复合组件——的图形例子:
http://www.perlchina.net/cgi-bin/gforum/gforum.cgi?post=4628#4628 )