01.
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.如何给画布的不同区域设置不同的绑定?
02.
Perl/TkFAQ-11.5.如何调整画布中线条的位置?原文:11.5. How do I redraw a line on a Canvas?By calling the ->coord method on the item as in the following example: #!/usr/bin/perl use Tk; $m = MainWindow->new; $c = $m -> Canv...查看完整版>>
Perl/TkFAQ-11.5.如何调整画布中线条的位置?
03.
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.如何配置用一个滚动条来控制多个组件
04.
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.如何隐藏密码输入框中的内容?
05.
Perl/TkFAQ-11.1如何在画布中显示位图?原文:11.1. Display a bitmap?Unlike other widgets the Canvas does not take the -bitmap configuration option. One of the ways to place things - including bitmaps - onto a Canvas is to call ...查看完整版>>
Perl/TkFAQ-11.1如何在画布中显示位图?
06.
Perl/TkFAQ-11.6.如何把画布作为布局管理器原文:11.6. How do I use the Canvas as a geometry manager?In a call to create a window (or anything) on your Canvas you need to specify its position - this is in part how a Canvas can be u...查看完整版>>
Perl/TkFAQ-11.6.如何把画布作为布局管理器
07.
Perl/TkFAQ-11.2.如何擦除画布上的元素?原文:11.2. Erase a display?To erase something like a bitmap call delete on the item. Assuming your Canvas tag is $canvar and your item tag it $bittag (as in the previous [11.1] question) ...查看完整版>>
Perl/TkFAQ-11.2.如何擦除画布上的元素?
08.
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.如何绑定键盘上的按键
09.
Perl/TkFAQ-10.6.如何设置绑定原文: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?***********************...查看完整版>>
Perl/TkFAQ-10.6.如何设置绑定
10.
Perl/TkFAQ-10.11.那些格式的图片可以在Perl/Tk中使用?原文:10.11. What Image types are available?In addition to the Tk builtin bitmaps there is support for reading images from files in formats such as: X11 Bitmaps (.xbm), X Pixmaps (.xpm), a...查看完整版>>
Perl/TkFAQ-10.11.那些格式的图片可以在Perl/Tk中使用?
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。