Perl/TkFAQ-10.10.如何显示一个图像?

来源:王朝搜索
 
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

Perl/TkFAQ-10.9.如何显示一个位图(bitmap)

原文: 10.9. How do I display a bitmap? You can display X bitmaps on your widgets with the -bitma

Perl/TkFAQ-10.8.如何配置用一个滚动条来控制多个组件

原文: 10.8. How do I configure a Scrollbar to scroll multiple widgets? Note that the widget type

Perl/TkFAQ-10.4.如何设置一个弹出窗口

原文: 10.4. How do I get a Popup to popup? For things like a simple "are you sure?" dialog box y

Perl/TkFAQ-10.如何使用某个组件来完成某个工作

原文: 10. How do I get widget X to do Y ? There are a number of tasks that can be accomplished w

Perl/TkFAQ-10.1.如何使用按钮来调用Perl的子程序

原文: 10.1. How do I get a Button to call a Perl subroutine? You may specify the -command option

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

Perl/TkFAQ-10.17.如何隐藏密码输入框中的内容?

原文: 10.17. How do I hide a password Entry? Set the -show option to zero, as in this example: $

Perl/TkFAQ-11.10.如何给画布的不同区域设置不同的绑定?

原文: 11.10. How do I bind different actions to different areas of the same Canvas? KOBAYASI Hir

Perl/TkFAQ-11.2.如何擦除画布上的元素?

原文: 11.2. Erase a display? To erase something like a bitmap call delete on the item. Assuming

 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
© 2005- 王朝网络 版权所有