01.
Perl/TkFAQ-12.基本问题原文:12. Common Problems.Everything in Tk-land is a reference. When defining callbacks take care to pass variables by reference. Callbacks are closures and to ensure a variable gets its c...查看完整版>>
Perl/TkFAQ-12.基本问题
02.
Perl/TkFAQ-10.12.怎样让多个Listbox可以同时被选择?原文:10.12. Is there any way to have more than one Listbox contain a selection?To allow more than one Listbox to contain a "selection", (or at least a highlighted item - which need not be...查看完整版>>
Perl/TkFAQ-10.12.怎样让多个Listbox可以同时被选择?
03.
Perl/TkFAQ-12.4变量必须申明为“my”吗?原文:12.4. Must I use "my" on all my variables?If you use strict; (as recommended) the answer is "probably". This confines the variables names to your namespace - so your variable does no...查看完整版>>
Perl/TkFAQ-12.4变量必须申明为“my”吗?
04.
Perl/TkFAQ-12.10如何在C程序中调用Perl代码?原文:12.10. How do I call perl from C?You need to see a recent copy of the perlembed(1) pod page. By "recent" it needs to be up to date with at least perl5.002.Borrowing from Jon Orwa...查看完整版>>
Perl/TkFAQ-12.10如何在C程序中调用Perl代码?
05.
Perl/TkFAQ-12.11如何在Perl/Tk脚本中调用Tcl的代码?原文:12.11. How do I call Tcl code from perl/Tk?Assuming that you have a pressing need to call Tcl from perl/Tk then one "official way" to so would be via the ->send() and the ->Rec...查看完整版>>
Perl/TkFAQ-12.11如何在Perl/Tk脚本中调用Tcl的代码?
06.
Perl/TkFAQ-12.2与符号(&)是干什么用的?原文:12.2. What happened to the ampersands &?Perl 4 programmers especially may be surprised to find that as of Perl 5.0 the ampersand & may be omitted in a call to a subroutine if the sub...查看完整版>>
Perl/TkFAQ-12.2与符号(&)是干什么用的?
07.
Perl/TkFAQ-12.3引号的作用如何?原文:12.3. What happened to the quotation marks?Perl 4 programmers especially may be surprised to find a serious dearth of quotation marks around strings in perl 5 scripts such as in perl...查看完整版>>
Perl/TkFAQ-12.3引号的作用如何?
08.
Perl/TkFAQ-12.7如何改变光标指针的形状和颜色?原文:12.7. How do I change the cursor/color?Nick Ing-Simmons mailto:nik@tiuk.ti.com and others posted a series of answers to this type of question. In summary what they said was:Basic...查看完整版>>
Perl/TkFAQ-12.7如何改变光标指针的形状和颜色?
09.
Perl/TkFAQ-12.8如何在程序中鸣笛?原文:12.8. How do I ring the bell?The short answer is $widget -> bell;A slightly longer answer might include a fully functioning script: #!/usr/bin/perl use Tk; $main = MainWindow ...查看完整版>>
Perl/TkFAQ-12.8如何在程序中鸣笛?
10.
Perl/TkFAQ-5.CPAN是什么?在哪里原文:5. What/Where isCPAN?"CPAN" = Comprehensive Perl Archive Network a worldwide collection of anonymous ftp sites for Perl et al (not to be confused with CTAN which is for TeX, nor CSPA...查看完整版>>
Perl/TkFAQ-5.CPAN是什么?在哪里
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。