01.
Perl/TkFAQ-10.16.如何获取输入框(Entry)中的内容原文:10.16. How do I get the entry in an Entry?You want to call get on the return value of the widget itself. Here is how it may be used in a simplified version of example 1.1 from the Tk...查看完整版>>
Perl/TkFAQ-10.16.如何获取输入框(Entry)中的内容
02.
Perl/TkFAQ-10.17.如何隐藏密码输入框中的内容?原文:10.17. How do I hide a password Entry?Set the -show option to zero, as in this example: $entry = $form->Entry(-textvariable => \$user_entry, -show => 0);译文:10.17....查看完整版>>
Perl/TkFAQ-10.17.如何隐藏密码输入框中的内容?
03.
Perl/TkFAQ-11.7.如何把画布中的内容输出成PostScript文件?原文:11.7. How do I get a Canvas to output PostScript(c)?Many thanks to Tom Oelke mailto:tpo9617@rit.edu for providing this question, answer & snippet of code:The following section of...查看完整版>>
Perl/TkFAQ-11.7.如何把画布中的内容输出成PostScript文件?
04.
Perl/TkFAQ-10.9.如何显示一个位图(bitmap)原文:10.9. How do I display a bitmap?You can display X bitmaps on your widgets with the -bitmap configuration option. Typically -bitmaps are configured into Label, Frame, Button, etc. wid...查看完整版>>
Perl/TkFAQ-10.9.如何显示一个位图(bitmap)
05.
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.如何配置用一个滚动条来控制多个组件
06.
Perl/TkFAQ-10.10.如何显示一个图像?原文:10.10. How do I display an image?You will want to get a "Photo" handle on the file as in the following example where 'imggif' is the Photo handle for a gif file that is distributed w...查看完整版>>
Perl/TkFAQ-10.10.如何显示一个图像?
07.
Perl/TkFAQ-11.10.如何给画布的不同区域设置不同的绑定?原文:11.10. How do I bind different actions to different areas of the same Canvas?KOBAYASI Hiroaki <kobayasi@sowa.is.uec.ac.jp> recently posted an extraordinary little script that a...查看完整版>>
Perl/TkFAQ-11.10.如何给画布的不同区域设置不同的绑定?
08.
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代码?
09.
Perl/TkFAQ-16.2.有进行文件选择的模块吗?原文:16.2. Is there a file selector?Yes, there may be several eventually...One distributed with the perl/Tk code kit itself is called FileSelect.pm and was written by Frederick L. Wag...查看完整版>>
Perl/TkFAQ-16.2.有进行文件选择的模块吗?
10.
Perl/TkFAQ-16.3.有进行颜色编辑的模块吗?原文:16.3. Is there a color editor?There is. Please see perldoc ColorEditor.pmor run the Tk/demos/color_editor demo script for more information.译文:16.3. 有进行颜色编辑的模块...查看完整版>>
Perl/TkFAQ-16.3.有进行颜色编辑的模块吗?
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。