| 订阅 | 在线投稿
分享
 
 
 

Perl/TkFAQ-1.什么是Perl/Tk?

2008-05-18 21:55:35 编辑來源:互联网 国际版 评论
 
 
本文为【Perl/TkFAQ-1.什么是Perl/Tk?】的汉字拼音对照版显示拼音
  yuanwen

  1. What is perl/Tk?

  Perl/Tk (also known as pTk or ptk) is a collection of modules and code that attempts to wed the easily configured Tk 8 widget toolkit to the powerful lexigraphic, dynamic memory, I/O, and object-oriented capabilities of Perl 5. In other words, it is an interpreted scripting language for making widgets and programs with Graphical User Interfaces (GUI). (Examples of widget programs [not necessarily written in perl/Tk] include xterm, xclock, most web-browsers, etc.. They are programs with "GUI" interfaces of one sort or another and are subject to the effects of your window manager.)

  The current release of Perl/Tk is based on Tk8.0, the widget Toolkit originally associated with the Tcl (Tool command language) scripting language. However, Perl/Tk does not require any familiarity with Tcl, nor does its installation depend on any Tcl code apart from that packaged within Perl/Tk. Perl/Tk uses perl 5 syntax, grammar, and data structures.

  The production release of perl/Tk was written primarily by Nick Ing-Simmons mailto:Nick.Ing-Simmons@tiuk.ti.com at Texas Instruments in Northampton, England, to work with the latest version of Larry Wall's ``perl''. Plans are afoot to track such enhancements as Tk 8.4 and Perl 6.

  The pTk code proper is an externally callable Tk toolkit (i.e. a re-write of the Tk 8.0 code that allows easier external linking & calling, especially by perl). Ptk can then be called from Perl 5 via the Tk.pm et al perl glue modules. Hence "ptk" does not necessarily refer to Perl Tk but could be taken to mean portable Tk - given a glue package to another language. The stated goal of the pTk code is to have its library usable from perl, Tcl, LISP, C++, python, etc.. It just so happens that present work is concentrating on perl.

  Historical note: "ptk" was known as "ntk" before about 11:30 EST 4 May 1995.

  The perl/Tk language is itself further extensible via the standard perl 5 module mechanism. A number of composite widget and special character extensions to the language have been written using perl modules.

  yiwen

  1. shenmeshiPerl/Tk

  Perl/Tk jianchengpTkhuoptktigongleyixiemokuaihedaimaqimudeshibayiyongdeTk8chuangkouzujiangongjuxiangwidget toolkitjiehedaojuyouqiangdadewenbenchulidongtaicunchushuru/shuchuhemianxiangduixiangnenglidePerl5zhonghuanjuhuashuotashiyongyubianxiechuangkouzujianwidgetdengtuxingyonghujiemianGUIchengxudeyizhongjieshijiaobenyuyanchuangkouzujiandelizihenduobingfeiyidingyongPerl/Tkbianxieliruxtermxclockyijidabufendewangluoliulanqidengdengzhexiedoushijuyoutuxingyonghujiemiandechengxu

  xianyoubanbendePerl/TkzhuyaojiyuTk8.0erzhegechuangkouzujiangongjuxiangzuichushiyuTcl jiaobenyuyanjigongjuminglingyuyanTool command languagedeyibufendanshi使shiyongPerl/TkbingbuyaoqiunishuxiTclyuyanbingqietadeanzhuangyebuxuyaoyikaochulePerl/TkanzhuangbaozhiwaiderenheTcldedaimaPerl/Tkwanquan使shiyongPerl5deyufawenfaheshujujiegou

  Perl/TkdeyuandaimazuichushiyouyinggelanbeianpudunTexas InstrumentsdeNick Ing-SimmonsbianxiedetakeyiheLarry WallzuixinbanbendePerlyiqigongzuomuqiandejihuashidaoPerl6shigaijinweiTk8.4

  pTk dedaimabenzhishangshiyigekeyibeiwaibutiaoyongdeTkgongjuxiangyejiushishuotachongxieleTk8.0dedaimaconger使shiqikeyibeigengjiafang便biancongwaibulianjiehetiaoyongyouqishibeiPerlzheyang ptkjiukeyibeiPerl5jiandandetongguoTk.pmzheyangdePerlmokuailaitiaoyongledanshiptkbingbuyidingjuxianyuPerlgongjuxiangPerl Tkergenghaodeshibeijieshiwei便bianxieshidegongjuxiangportable TkyejiushishuotakeyiweiqitahenduoyuyantigongleTkgongjubaoyinweishijishangpTkdaimademubiaoshiyaoweiPerlTclLISPC++pythondengduozhongyuyantigongkeyongdekulibraryerzhishipengqiaomuqiandegongzuozhuyaoshijizhongzaiPerlyuyanfangmianeryi

  guanyulishiwentideshuomingptkzaidayue11:30 EST 4 May 1995yiqianzengbeichengweintk

  Perl/TkyuyanbenshenshikeyianzhaoPerl5demokuaijizhijinxingkuozhandebingqieshijishanghenduohechengdechuangkouzujianhetebiedekuozhanzujianyijingbeizuochenglePerlmokuaile原文
 
 
  原文:   1. What is perl/Tk?   Perl/Tk (also known as pTk or ptk) is a collection of modules and code that attempts to wed the easily configured Tk 8 widget toolkit to the powerful lexigraphic, dynamic memory, I/O, and object-oriented capabilities of Perl 5. In other words, it is an interpreted scripting language for making widgets and programs with Graphical User Interfaces (GUI). (Examples of widget programs [not necessarily written in perl/Tk] include xterm, xclock, most web-browsers, etc.. They are programs with "GUI" interfaces of one sort or another and are subject to the effects of your window manager.)   The current release of Perl/Tk is based on Tk8.0, the widget Toolkit originally associated with the Tcl (Tool command language) scripting language. However, Perl/Tk does not require any familiarity with Tcl, nor does its installation depend on any Tcl code apart from that packaged within Perl/Tk. Perl/Tk uses perl 5 syntax, grammar, and data structures.   The production release of perl/Tk was written primarily by Nick Ing-Simmons mailto:Nick.Ing-Simmons@tiuk.ti.com at Texas Instruments in Northampton, England, to work with the latest version of Larry Wall's ``perl''. Plans are afoot to track such enhancements as Tk 8.4 and Perl 6.   The pTk code proper is an externally callable Tk toolkit (i.e. a re-write of the Tk 8.0 code that allows easier external linking & calling, especially by perl). Ptk can then be called from Perl 5 via the Tk.pm et al perl glue modules. Hence "ptk" does not necessarily refer to Perl Tk but could be taken to mean portable Tk - given a glue package to another language. The stated goal of the pTk code is to have its library usable from perl, Tcl, LISP, C++, python, etc.. It just so happens that present work is concentrating on perl.   Historical note: "ptk" was known as "ntk" before about 11:30 EST 4 May 1995.   The perl/Tk language is itself further extensible via the standard perl 5 module mechanism. A number of composite widget and special character extensions to the language have been written using perl modules.   译文:   1. 什么是Perl/Tk?   Perl/Tk (简称pTk或ptk)提供了一些模块和代码,其目的是把易用的“Tk8窗口组件工具箱”(widget toolkit)结合到具有强大的文本处理、动态存储、输入/输出和面向对象能力的Perl5中。换句话说,它是用于编写“窗口组件”(widget)等图形用户界面(GUI)程序的一种解释脚本语言。(窗口组件的例子很多,并非一定用Perl/Tk编写,例如xterm,xclock以及大部分的网络浏览器等等,这些都是具有图形用户界面的程序。)   现有版本的Perl/Tk主要基于Tk8.0,而这个窗口组件工具箱最初是与Tcl 脚本语言(即“工具命令语言”,Tool command language)的一部分。但是,使用Perl/Tk并不要求你熟悉Tcl语言,并且它的安装也不需要依靠除了Perl/Tk安装包之外的任何Tcl的代码。Perl/Tk完全使用Perl5的语法、文法和数据结构。   Perl/Tk的原代码最初是由英格兰北安普敦Texas Instruments的Nick Ing-Simmons编写的,它可以和Larry Wall最新版本的Perl一起工作。目前的计划是到Perl6时,改进为Tk8.4。   pTk 的代码本质上是一个可以被外部调用的Tk工具箱,也就是说它重写了Tk8.0的代码从而使其可以被更加方便从外部链接和调用(尤其是被Perl)。这样, ptk就可以被Perl5简单的通过Tk.pm这样的Perl模块来调用了。但是,“ptk”并不一定局限于“Perl工具箱”(Perl Tk),而更好的是被解释为“便携式的工具箱”(portable Tk),也就是说它可以为其它很多语言提供了Tk工具包。因为,实际上pTk代码的目标是要为Perl、Tcl、LISP、C++、python等多种语言提供可用的库(library),而只是“碰巧”目前的工作主要是集中在Perl语言方面而已。   关于历史问题的说明:“ptk”在大约11:30 EST 4 May 1995以前曾被称为“ntk”。   Perl/Tk语言本身是可以按照Perl5的模块机制进行扩展的,并且实际上很多合成的窗口组件和特别的扩展组件已经被做成了Perl模块了。
󰈣󰈤
日版宠物情人插曲《Winding Road》歌词

日版宠物情人2017的插曲,很带节奏感,日语的,女生唱的。 最后听见是在第8集的时候女主手割伤了,然后男主用嘴帮她吸了一下,插曲就出来了。 歌手:Def...

兄弟共妻,我成了他们夜里的美食

老钟家的两个儿子很特别,就是跟其他的人不太一样,魔一般的执着。兄弟俩都到了要结婚的年龄了,不管自家老爹怎么磨破嘴皮子,兄弟俩说不娶就不娶,老父母为兄弟两操碎了心...

网络安全治理:国家安全保障的主要方向是打击犯罪,而不是处置和惩罚受害者

来源:中国青年报 新的攻击方法不断涌现,黑客几乎永远占据网络攻击的上风,我们不可能通过技术手段杜绝网络攻击。国家安全保障的主要方向是打击犯罪,而不是处置和惩罚...

 
 
 
>>返回首页<<
 为你推荐
 
 
 
 转载本文
 UBB代码 HTML代码
复制到剪贴板...
 
 
 热帖排行
 
黑色魅力_醉人的美
梦幻蒙眬_如痴如醉
北京的“尖叫”建筑
高天上流云
 
 
王朝网络微信公众号
微信扫码关注本站公众号wangchaonetcn
 
  免责声明:本文仅代表作者个人观点,与王朝网络无关。王朝网络登载此文出于传递更多信息之目的,并不意味着赞同其观点或证实其描述,其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
©2005- 王朝网络 版权所有