| |
 |
Perl/TkFAQ-11.如何使用画布(Canvas)……? |
| |
发布日期:2007-09-30 08:00:00 点击:17 |
 |
原文: 11. How do I get a Canvas to ... ? The Canvas widget is the most configurable and versatile. With versatility comes complication however, and it is certainly deserving of its own special section within this FAQ... You might also see… |
|
| |
 |
Perl/TkFAQ-10.1.如何使用按钮来调用Perl的子程序 |
| |
发布日期:2007-09-30 08:00:00 点击:14 |
 |
原文: 10.1. How do I get a Button to call a Perl subroutine? You may specify the -command option in the call to create gt;Button(-text = 'Print', -command = sub{do_print($filename, $font)} )-pack; Where sub do_print { } is a subroutine th… |
|
| |
 |
Perl/TkFAQ-10.如何使用某个组件来完成某个工作 |
| |
发布日期:2007-09-30 08:00:00 点击:8 |
 |
原文: 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 specific tricks). Beginners are encouraged to work… |
|
| |
 |
Perl/TkFAQ-10.3.如何安排各组件的布局 |
| |
发布日期:2007-09-30 08:00:00 点击:17 |
 |
原文: 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, and -anchor options of individual widgets. A geom… |
|
| |
 |
Perl/TkFAQ-10.2.如何设置按钮随鼠标指向的动态变化 |
| |
发布日期:2007-09-30 08:00:00 点击:7 |
 |
原文: 10.2. How do I get a Button to actively change under my mouse pointer? You should specify both an '-image' and an '-activeimage' configuration option either when calling the -Button() method or in a later separate call to the -confi… |
|
| |
 |
Perl/TkFAQ-10.4.如何设置一个弹出窗口 |
| |
发布日期:2007-09-30 08:00:00 点击:21 |
 |
原文: 10.4. How do I get a Popup to popup? For things like a simple "are you sure?" dialog box you might want to take a look at Dialog.pm which is discussed in a later question within this FAQ [16.1]. If you don't wish to require Tk::Dial… |
|
| |
 |
Perl/TkFAQ-7.哪里有Perl/Tk的文档 |
| |
发布日期:2007-09-30 08:00:00 点击:23 |
 |
原文: 7. Where is the Documentation? A great deal of Perl/Tk documentation gets installed as part of the Tk extension building process. Hence, a great deal of documentation is probably residing on your computer already. More documentation… |
|
| |
 |
Perl/TkFAQ-8.如何写Perl/Tk脚本 |
| |
发布日期:2007-09-30 08:00:00 点击:18 |
 |
原文: 8. How do I write scripts in perl/Tk? Start your script as you would any perl script (e.g. #!/usr/bin/perl, #!/usr/local/bin/perl, #!/opt/bin/perl, [built static? then #!/usr/bin/tkperl], whatever, see the perlrun(1) man page for mo… |
|
| |
 |
Perl/TkFAQ-9.Perl/Tk中有哪些类型的组件 |
| |
发布日期:2007-09-30 08:00:00 点击:15 |
 |
原文: 9. What widget types are available under perl/Tk? The following Tk widget primitives are available under perl/Tk: Button Canvas Checkbutton Entry Frame Label Listbox Menu Menubutton Message Radiobutton Scale Scrollbar Text Toplevel… |
|
| |
 |
Perl/TkFAQ-5.CPAN是什么?在哪里 |
| |
发布日期:2007-09-30 08:00:00 点击:18 |
 |
原文: 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 CSPAN which rarely deals with computer software). The… |
|
| |
 |
Perl/TkFAQ-6.如何编译安装 |
| |
发布日期:2007-09-30 08:00:00 点击:14 |
 |
原文: 6. How do I build it? Assuming you are not running a binary distribution then, in general, building perl/Tk requires: 1. A made lt;kjahds@kjahds.com. If any of the following does not say "dl_none.xs" then you probably do have dynami… |
|
| |
 |
Perl/TkFAQ-2.Perl/Tk和Tkperl有什么区别? |
| |
发布日期:2007-09-30 08:00:00 点击:19 |
 |
原文: 2. What is the difference between perl/Tk and Tkperl? [OBSOLETE; move to historical section.] TkPerl was originally the name of a (now unsupported) perl 4 package that Malcolm Beattie mailto:mbeattie@sable.ox.ac.uk at Oxford Univers… |
|
| |
 |
Perl/TkFAQ-3.编译安装Perl/Tk是否需要Tcl/Tk? |
| |
发布日期:2007-09-30 08:00:00 点击:30 |
 |
原文: 3. Do I need Tcl/Tk in order to build Perl/Tk? Short answer: No not at all. Perl/Tk is completely independent of Tcl/Tk. Longer answer: In order to build Perl/Tk from source code you do need a recent version of perl, the perl/Tk sou… |
|
| |
 |
Perl/TkFAQ-10.6.如何设置绑定 |
| |
发布日期:2007-09-30 08:00:00 点击:5 |
 |
原文: 10.6. How do I add bindings? On Fri, 15 Sep 95 10:30:56 BST Nick Ing-Simmons Nick.Ing-Simmons@tiuk.ti.com writes: Re: Multiple binds to a single widget?**************************************On Thu, 14 Sep 1995 14:57:54 -0400Alain St… |
|
| |
 |
Perl/TkFAQ-10.5.如何绑定键盘上的按键 |
| |
发布日期:2007-09-30 08:00:00 点击:15 |
 |
原文: 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 may wish to consult the examples in BindTable.po… |
|
|
|
 |
|
相关分类 |
|
|
|
|
|