01.
Perl/TkFAQ-10.14.如何将多个单选按钮(radiobutton)组合在一起?原文:10.14. How do I group Radiobuttons together?Specify the -variable option on each one. Here is an example pulled from the icon.pl demo script: $letters = ''; my $w_frame_left_b3 = $w_...查看完整版>>
Perl/TkFAQ-10.14.如何将多个单选按钮(radiobutton)组合在一起?
02.
Perl/TkFAQ-10.13.如何在Text组件中获得某个标签的范围原文:10.13. How do I select a range of tags in a Text widget?A question arose concerning getting a range of selections from a Text widget. Nick Ing-Simmons' answer mentions several possib...查看完整版>>
Perl/TkFAQ-10.13.如何在Text组件中获得某个标签的范围
03.
Perl/TkFAQ-10.7.如何设置游标(slider)的绑定原文:10.7. How do I bind the action of a slider (sic) to ... ?Technically speaking they are called Scrollbars (not sliders) and one must configure the action of the desired widget to call...查看完整版>>
Perl/TkFAQ-10.7.如何设置游标(slider)的绑定
04.
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中使用?
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.2.如何设置按钮随鼠标指向的动态变化原文:10.2. How do I get a Button to actively change under my mouse pointer?You should specify both an '-image' and an '-activeimage' configuration option either when calling the ->Butt...查看完整版>>
Perl/TkFAQ-10.2.如何设置按钮随鼠标指向的动态变化
07.
Perl/TkFAQ-10.12.怎样让多个Listbox可以同时被选择?原文:10.12. Is there any way to have more than one Listbox contain a selection?To allow more than one Listbox to contain a "selection", (or at least a highlighted item - which need not be...查看完整版>>
Perl/TkFAQ-10.12.怎样让多个Listbox可以同时被选择?
08.
Perl/TkFAQ-14.如何安装新的脚本、模块或扩展?原文:14. How do I install new scripts | modules | extensions?(Thanks to Ilya Zakharevich mailto:ilya@math.ohio-state.edu for pointing out that perl code comes in a variety of flavors and ...查看完整版>>
Perl/TkFAQ-14.如何安装新的脚本、模块或扩展?
09.
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.如何安排各组件的布局
10.
Perl/TkFAQ-10.15.如何设定字体原文:10.15. How do I specify fonts?The quick answer is to specify the font configuration option of your widget as in: #!/usr/local/bin/perl -w use Tk; $main = MainWindow->new(); $labl ...查看完整版>>
Perl/TkFAQ-10.15.如何设定字体
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。