王朝网络
分享
 
 
java/jspc/c++phpmysqloraclemssqlvbvcc#asphtml/css/jssystemdelphiperlphotoshopother
 
 
Perl/TkFAQ-1.什么是Perl/Tk?

  原文:   1. What is perl/Tk?   Perl/Tk (also known as pTk or ptk) is a collection of modules and code...

Perl/TkFAQ-2.Perl/Tk和Tkperl有什么区别?

  原文:   2. What is the difference between perl/Tk and Tkperl?   [OBSOLETE; move to historical sectio...

Perl/TkFAQ-3.编译安装Perl/Tk是否需要Tcl/Tk?

  原文:   3. Do I need Tcl/Tk in order to build Perl/Tk?   Short answer: No not at all. Perl/Tk is com...

Perl/TkFAQ-4.哪里有Perl/Tk?

  原文:   4. Where is it? Source code   The latest production and alpha releases are available from th...

Perl/TkFAQ-5.CPAN是什么?在哪里

  原文:   5. What/Where isCPAN?   "CPAN" = Comprehensive Perl Archive Network a worldwide collection o...

Perl/TkFAQ-6.如何编译安装

  原文:   6. How do I build it?   Assuming you are not running a binary distribution then, in general,...

Perl/TkFAQ-7.哪里有Perl/Tk的文档

  原文:   7. Where is the Documentation?   A great deal of Perl/Tk documentation gets installed as par...

Perl/TkFAQ-8.如何写Perl/Tk脚本

  原文:   8. How do I write scripts in perl/Tk?   Start your script as you would any perl script (e.g....

Perl/TkFAQ-9.Perl/Tk中有哪些类型的组件

  原文:   9. What widget types are available under perl/Tk?   The following Tk widget primitives are a...

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.2.如何设置按钮随鼠标指向的动态变化

  原文:   10.2. How do I get a Button to actively change under my mouse pointer?   You should specify...

Perl/TkFAQ-10.3.如何安排各组件的布局

  原文:   10.3. How do I arrange the layout of my widgets?   To control the layout and appearance of w...

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.5.如何绑定键盘上的按键

  原文:   10.5. How do I bind keyboard keys?   There are many default key bindings built in to the wid...

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-...

Perl/TkFAQ-10.7.如何设置游标(slider)的绑定

  原文:   10.7. How do I bind the action of a slider (sic) to ... ?   Technically speaking they are ca...

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...

Perl/TkFAQ-10.11.那些格式的图片可以在Perl/Tk中使用?

  原文:   10.11. What Image types are available?   In addition to the Tk builtin bitmaps there is supp...

Perl/TkFAQ-10.12.怎样让多个Listbox可以同时被选择?

  原文:   10.12. Is there any way to have more than one Listbox contain a selection?   To allow more t...

Perl/TkFAQ-10.13.如何在Text组件中获得某个标签的范围

  原文:   10.13. How do I select a range of tags in a Text widget?   A question arose concerning getti...

Perl/TkFAQ-10.14.如何将多个单选按钮(radiobutton)组合在一起?

  原文:   10.14. How do I group Radiobuttons together?   Specify the -variable option on each one. Her...

Perl/TkFAQ-10.15.如何设定字体

  原文:   10.15. How do I specify fonts?   The quick answer is to specify the font configuration optio...

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-10.18.如何限制输入框中内容的宽度

  原文:   10.18. How do I limit an Entry's insertion width?   [OBSOLETE; explain use of new -validatec...

Perl/TkFAQ-10.19.如何设置不让菜单被扯掉

  原文:   10.19. How do I obtain Menus that do not tear off?   Nick Ing-Simmons outlined a couple of w...

Perl/TkFAQ-11.如何使用画布(Canvas)……?

  原文:   11. How do I get a Canvas to ... ?   The Canvas widget is the most configurable and versatil...

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.3.如何在画布中显示图片?

  原文:   11.3. Display an Image?   Just as for the other widget types there is a two step process of...

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-11.4在画布组件中可以创建哪些元件?

  原文:   11.4. What things can be created on a Canvas?   The following types can be used in $canvar-&...

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-11.7.如何把画布中的内容输出成PostScript文件?

  原文:   11.7. How do I get a Canvas to output PostScript(c)?   Many thanks to Tom Oelke mailto:tpo96...

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. Yo...

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.10.如何给画布的不同区域设置不同的绑定?

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

Perl/TkFAQ-12.基本问题

  原文:   12. Common Problems.   Everything in Tk-land is a reference. When defining callbacks take ca...

Perl/TkFAQ-12.2与符号(&)是干什么用的?

  原文:   12.2. What happened to the ampersands &?   Perl 4 programmers especially may be surprised to...

Perl/TkFAQ-12.3引号的作用如何?

  原文:   12.3. What happened to the quotation marks?   Perl 4 programmers especially may be surprised...

Perl/TkFAQ-12.4变量必须申明为“my”吗?

  原文:   12.4. Must I use "my" on all my variables?   If you use strict; (as recommended) the answer...

Perl/TkFAQ-12.5有什么办法可以了解Perl/Tk的路径中有哪些模块吗?

  原文:   12.5. Is there a way to find out what is in my perl/Tk "PATH"?   Presuming this question is...

Perl/TkFAQ-12.6use和require有什么区别?

  原文:   12.6. What is the difference between use and require?   The short answer is that something l...

Perl/TkFAQ-12.7如何改变光标指针的形状和颜色?

  原文:   12.7. How do I change the cursor/color?   Nick Ing-Simmons mailto:nik@tiuk.ti.com and others...

Perl/TkFAQ-12.8如何在程序中鸣笛?

  原文:   12.8. How do I ring the bell?   The short answer is $widget -> bell;   A slightly longer...

Perl/TkFAQ-12.9如何了解我所使用的Perl/Tk的版本?

  原文:   12.9. How do I determine the version of perl/Tk that I am running?   With an up to date perl...

Perl/TkFAQ-12.10如何在C程序中调用Perl代码?

  原文:   12.10. How do I call perl from C?   You need to see a recent copy of the perlembed(1) pod pa...

 
推荐阅读
 
 
静静地坐在废墟上,四周的荒凉一望无际,忽然觉得,凄凉也很美
© 2005- 王朝网络 版权所有