01.
Perl/TkFAQ-6.如何编译安装原文:6. How do I build it?Assuming you are not running a binary distribution then, in general, building perl/Tk requires:1. A made & installed perl (requires a C language compiler). Y...查看完整版>>
Perl/TkFAQ-6.如何编译安装
02.
Perl/TkFAQ-14.如何安装新的脚本、模块或扩展?原文:14. How do I install new scripts | modules | extensions?(Thanks to Ilya Zakharevich mailto:ilya@math.ohio-state.edu for pointing out that perl code comes in a variety of flavors and ...查看完整版>>
Perl/TkFAQ-14.如何安装新的脚本、模块或扩展?
03.
Perl/TkFAQ-10.15.如何设定字体原文:10.15. How do I specify fonts?The quick answer is to specify the font configuration option of your widget as in: #!/usr/local/bin/perl -w use Tk; $main = MainWindow->new(); $labl ...查看完整版>>
Perl/TkFAQ-10.15.如何设定字体
04.
Perl/TkFAQ-19.如何实现“清屏”操作原文:19. How do I "clear the screen"?What screen are you trying to clear?If you are trying to clear a tty (e.g. xterm) screen then try either of the following within your script: syst...查看完整版>>
Perl/TkFAQ-19.如何实现“清屏”操作
05.
Perl/TkFAQ-28.如何获得最新版本的FAQ?原文:28. How do I obtain the latest version of this FAQ? On the world wide webThere is currently only a single-page hypertext version of this document, maintained at http://www.cpan.org/a...查看完整版>>
Perl/TkFAQ-28.如何获得最新版本的FAQ?
06.
Perl/TkFAQ-10.如何使用某个组件来完成某个工作原文:10. How do I get widget X to do Y ?There are a number of tasks that can be accomplished with perl/Tk widgets, configurations, and bindings (a few that can't and a few that require sp...查看完整版>>
Perl/TkFAQ-10.如何使用某个组件来完成某个工作
07.
Perl/TkFAQ-10.1.如何使用按钮来调用Perl的子程序原文:10.1. How do I get a Button to call a Perl subroutine?You may specify the -command option in the call to create & pack the button as in: $main->Button(-text => 'Print', -comman...查看完整版>>
Perl/TkFAQ-10.1.如何使用按钮来调用Perl的子程序
08.
Perl/TkFAQ-10.3.如何安排各组件的布局原文:10.3. How do I arrange the layout of my widgets?To control the layout and appearance of widgets in a window one makes use of a geometry manager, as well as -padding, -fill, -expand, ...查看完整版>>
Perl/TkFAQ-10.3.如何安排各组件的布局
09.
Perl/TkFAQ-10.5.如何绑定键盘上的按键原文:10.5. How do I bind keyboard keys?There are many default key bindings built in to the widgets of perl/Tk. Making proper use of them often involves setting up the right callback. (You...查看完整版>>
Perl/TkFAQ-10.5.如何绑定键盘上的按键
10.
Perl/TkFAQ-10.8.如何配置用一个滚动条来控制多个组件原文:10.8. How do I configure a Scrollbar to scroll multiple widgets?Note that the widget type that you wish to scroll can be important as a scroll "unit" on a Text or Listbox may be a ch...查看完整版>>
Perl/TkFAQ-10.8.如何配置用一个滚动条来控制多个组件
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。