Perl/TkFAQ-11.9.如何获取画布的大小?调整了大小之后呢?

来源:王朝搜索
 
Perl/TkFAQ-11.10.如何给画布的不同区域设置不同的绑定?

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

Perl/TkFAQ-11.5.如何调整画布中线条的位置?

原文: 11.5. How do I redraw a line on a Canvas? By calling the ->coord method on the item as

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-11.9.如何获取画布的大小?调整了大小之后呢?

原文: 11.9. How do I get the size of a Canvas? After a re-size? $canvas->cget(-width); simply

Perl/TkFAQ-11.1如何在画布中显示位图?

原文: 11.1. Display a bitmap? Unlike other widgets the Canvas does not take the -bitmap configur

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

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

Perl/TkFAQ-11.6.如何把画布作为布局管理器

原文: 11.6. How do I use the Canvas as a geometry manager? In a call to create a window (or anyt

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

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

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.10.如何显示一个图像?

原文: 10.10. How do I display an image? You will want to get a "Photo" handle on the file as in

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