Perl/TkFAQ-16.复合组件

王朝perl·作者佚名  2008-05-18
窄屏简体版  字體: |||超大  

原文:

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 )

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有 導航