01.
Perl/TkFAQ-11.4在画布组件中可以创建哪些元件?原文:11.4. What things can be created on a Canvas?The following types can be used in $canvar->create calls: arc sections of circle bitmap for X11 bitmap files/builtins image for Photo ...查看完整版>>
Perl/TkFAQ-11.4在画布组件中可以创建哪些元件?
02.
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如何在画布中显示位图?
03.
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.如何给画布的不同区域设置不同的绑定?
04.
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.如何擦除画布上的元素?
05.
Perl/TkFAQ-10.3.如何安排各组件的布局原文: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, ...查看完整版>>
Perl/TkFAQ-10.3.如何安排各组件的布局
06.
Perl/TkFAQ-11.8.如何把画布中的窗口组件输出成PostScript?原文:11.8. How do I get a PostScript(c) output of a Canvas w/ widgets?In general you don't. You can't do it in Tcl/Tk either (if that is any consolation). Nick Ing-Simmons posted an expli...查看完整版>>
Perl/TkFAQ-11.8.如何把画布中的窗口组件输出成PostScript?
07.
Perl/TkFAQ-11.3.如何在画布中显示图片?原文:11.3. Display an Image?Just as for the other widget types there is a two step process of first getting a "Photo" handle on the file of interest. For the Canvas (unlike the other widg...查看完整版>>
Perl/TkFAQ-11.3.如何在画布中显示图片?
08.
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.如何调整画布中线条的位置?
09.
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.如何把画布作为布局管理器
10.
Perl/TkFAQ-11.如何使用画布(Canvas)……?原文: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 spec...查看完整版>>
Perl/TkFAQ-11.如何使用画布(Canvas)……?
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。