| 订阅 | 在线投稿
分享
 
 
当前位置: 王朝网络 >> perl >> Perl/TkFAQ-1. shen me shi Perl/Tk?

Perl/TkFAQ-1. shen me shi Perl/Tk?

2008-05-18 21:55:35 编辑來源:互联网 评论
 
 
 
本文为【Perl/TkFAQ-1.什么是Perl/Tk?】的拼音翻译版
  yuan wen :
  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.
  yi wen :
  1. shen me shi Perl/Tk?
  Perl/Tk ( jian cheng pTk huo ptk) ti gong le yi xie mo kuai he dai ma , qi mu de shi ba yi yong de “Tk8 chuang kou zu jian gong ju xiang ”(widget toolkit) jie he dao ju you qiang da de wen ben chu li 、 dong tai cun chu 、 shu ru / shu chu he mian xiang dui xiang neng li de Perl5 zhong 。 huan ju hua shuo , ta shi yong yu bian xie “ chuang kou zu jian ”(widget) deng tu xing yong hu jie mian (GUI) cheng xu de yi zhong jie shi jiao ben yu yan 。( chuang kou zu jian de li zi hen duo , bing fei yi ding yong Perl/Tk bian xie , li ru xterm,xclock yi ji da bu fen de wang luo liu lan qi deng deng , zhe xie dou shi ju you tu xing yong hu jie mian de cheng xu 。)
  xian you ban ben de Perl/Tk zhu yao ji yu Tk8.0, er zhe ge chuang kou zu jian gong ju xiang zui chu shi yu Tcl jiao ben yu yan ( ji “ gong ju ming ling yu yan ”,Tool command language) de yi bu fen 。 dan shi , shi yong Perl/Tk bing bu yao qiu ni shu xi Tcl yu yan , bing qie ta de an zhuang ye bu xu yao yi kao chu le Perl/Tk an zhuang bao zhi wai de ren he Tcl de dai ma 。Perl/Tk wan quan shi yong Perl5 de yu fa 、 wen fa he shu ju jie gou 。
  Perl/Tk de yuan dai ma zui chu shi you ying ge lan bei an pu dun Texas Instruments de Nick Ing-Simmons bian xie de , ta ke yi he Larry Wall zui xin ban ben de Perl yi qi gong zuo 。 mu qian de ji hua shi dao Perl6 shi , gai jin wei Tk8.4。
  pTk de dai ma ben zhi shang shi yi ge ke yi bei wai bu tiao yong de Tk gong ju xiang , ye jiu shi shuo ta chong xie le Tk8.0 de dai ma cong er shi qi ke yi bei geng jia fang bian cong wai bu lian jie he tiao yong ( you qi shi bei Perl)。 zhe yang , ptk jiu ke yi bei Perl5 jian dan de tong guo Tk.pm zhe yang de Perl mo kuai lai tiao yong le 。 dan shi ,“ptk” bing bu yi ding ju xian yu “Perl gong ju xiang ”(Perl Tk), er geng hao de shi bei jie shi wei “ bian xie shi de gong ju xiang ”(portable Tk), ye jiu shi shuo ta ke yi wei qi ta hen duo yu yan ti gong le Tk gong ju bao 。 yin wei , shi ji shang pTk dai ma de mu biao shi yao wei Perl、Tcl、LISP、C++、python deng duo zhong yu yan ti gong ke yong de ku (library), er zhi shi “ peng qiao ” mu qian de gong zuo zhu yao shi ji zhong zai Perl yu yan fang mian er yi 。
  guan yu li shi wen ti de shuo ming :“ptk” zai da yue 11:30 EST 4 May 1995 yi qian zeng bei cheng wei “ntk”。
  Perl/Tk yu yan ben shen shi ke yi an zhao Perl5 de mo kuai ji zhi jin xing kuo zhan de , bing qie shi ji shang hen duo he cheng de chuang kou zu jian he te bie de kuo zhan zu jian yi jing bei zuo cheng le Perl mo kuai le 。【原文】【汉音对照
 
 
 
 
 
 
 
 
 
日版宠物情人插曲《Winding Road》歌词

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

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

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

如何磨出破洞牛仔裤?牛仔裤怎么剪破洞?

把牛仔裤磨出有线的破洞 1、具体工具就是磨脚石,下面垫一个硬物,然后用磨脚石一直磨一直磨,到把那块磨薄了,用手撕开就好了。出来的洞啊很自然的。需要猫须的话调几...

我就是扫描下图得到了敬业福和爱国福

先来看下敬业福和爱国福 今年春节,支付宝再次推出了“五福红包”活动,表示要“把欠大家的敬业福都还给大家”。 今天该活动正式启动,和去年一样,需要收集“五福”...

冰箱异味产生的原因和臭味去除的方法

有时候我们打开冰箱就会闻到一股异味,冰箱里的这种异味是因为一些物质发出的气味的混合体,闻起来让人恶心。 产生这些异味的主要原因有以下几点。 1、很多人有这种习...

 
 
   yuan wen :   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.    yi wen :   1. shen me shi Perl/Tk?   Perl/Tk ( jian cheng pTk huo ptk) ti gong le yi xie mo kuai he dai ma , qi mu de shi ba yi yong de “Tk8 chuang kou zu jian gong ju xiang ”(widget toolkit) jie he dao ju you qiang da de wen ben chu li 、 dong tai cun chu 、 shu ru / shu chu he mian xiang dui xiang neng li de Perl5 zhong 。 huan ju hua shuo , ta shi yong yu bian xie “ chuang kou zu jian ”(widget) deng tu xing yong hu jie mian (GUI) cheng xu de yi zhong jie shi jiao ben yu yan 。( chuang kou zu jian de li zi hen duo , bing fei yi ding yong Perl/Tk bian xie , li ru xterm,xclock yi ji da bu fen de wang luo liu lan qi deng deng , zhe xie dou shi ju you tu xing yong hu jie mian de cheng xu 。)    xian you ban ben de Perl/Tk zhu yao ji yu Tk8.0, er zhe ge chuang kou zu jian gong ju xiang zui chu shi yu Tcl jiao ben yu yan ( ji “ gong ju ming ling yu yan ”,Tool command language) de yi bu fen 。 dan shi , shi yong Perl/Tk bing bu yao qiu ni shu xi Tcl yu yan , bing qie ta de an zhuang ye bu xu yao yi kao chu le Perl/Tk an zhuang bao zhi wai de ren he Tcl de dai ma 。Perl/Tk wan quan shi yong Perl5 de yu fa 、 wen fa he shu ju jie gou 。   Perl/Tk de yuan dai ma zui chu shi you ying ge lan bei an pu dun Texas Instruments de Nick Ing-Simmons bian xie de , ta ke yi he Larry Wall zui xin ban ben de Perl yi qi gong zuo 。 mu qian de ji hua shi dao Perl6 shi , gai jin wei Tk8.4。   pTk de dai ma ben zhi shang shi yi ge ke yi bei wai bu tiao yong de Tk gong ju xiang , ye jiu shi shuo ta chong xie le Tk8.0 de dai ma cong er shi qi ke yi bei geng jia fang bian cong wai bu lian jie he tiao yong ( you qi shi bei Perl)。 zhe yang , ptk jiu ke yi bei Perl5 jian dan de tong guo Tk.pm zhe yang de Perl mo kuai lai tiao yong le 。 dan shi ,“ptk” bing bu yi ding ju xian yu “Perl gong ju xiang ”(Perl Tk), er geng hao de shi bei jie shi wei “ bian xie shi de gong ju xiang ”(portable Tk), ye jiu shi shuo ta ke yi wei qi ta hen duo yu yan ti gong le Tk gong ju bao 。 yin wei , shi ji shang pTk dai ma de mu biao shi yao wei Perl、Tcl、LISP、C++、python deng duo zhong yu yan ti gong ke yong de ku (library), er zhi shi “ peng qiao ” mu qian de gong zuo zhu yao shi ji zhong zai Perl yu yan fang mian er yi 。    guan yu li shi wen ti de shuo ming :“ptk” zai da yue 11:30 EST 4 May 1995 yi qian zeng bei cheng wei “ntk”。   Perl/Tk yu yan ben shen shi ke yi an zhao Perl5 de mo kuai ji zhi jin xing kuo zhan de , bing qie shi ji shang hen duo he cheng de chuang kou zu jian he te bie de kuo zhan zu jian yi jing bei zuo cheng le Perl mo kuai le 。
󰈣󰈤
  免责声明:本文仅代表作者个人观点,与王朝网络无关。王朝网络登载此文出于传递更多信息之目的,并不意味着赞同其观点或证实其描述,其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
华丽的模特拍摄(8)
华丽的模特拍摄(7)
华丽的模特拍摄(6)
华丽的模特拍摄(5)
八里沟
朝阳宫
天下峨眉 云上金顶
老家(四)
 
>>返回首页<<
 
 
 为你推荐
 
 
 
 转载本文
 UBB代码 HTML代码
复制到剪贴板...
 
 热帖排行
 
 
 
 
 
©2005- 王朝网络 版权所有