笑话军事旅游美容女性百态母婴家电游戏互联网财经美女干货家饰健康探索资源娱乐学院 数码美食景区养生手机购车首饰美妆装修情感篇厨房科普动物植物编程百科知道汽车珠宝 健康评测品位娱乐居家情感星座服饰美体奢侈品美容达人亲子图库折扣生活美食花嫁风景 | 首页 |
java/jsp | c/c++ | php | mysql | oracle | mssql | vb | vc | c# | asp | html/css/js | system | delphi | perl | photoshop | other |
原文: 1. What is perl/Tk? Perl/Tk (also known as pTk or ptk) is a collection of modules and code...
原文: 2. What is the difference between perl/Tk and Tkperl? [OBSOLETE; move to historical sectio...
原文: 3. Do I need Tcl/Tk in order to build Perl/Tk? Short answer: No not at all. Perl/Tk is com...
原文: 4. Where is it? Source code The latest production and alpha releases are available from th...
原文: 5. What/Where isCPAN? "CPAN" = Comprehensive Perl Archive Network a worldwide collection o...
原文: 6. How do I build it? Assuming you are not running a binary distribution then, in general,...
原文: 7. Where is the Documentation? A great deal of Perl/Tk documentation gets installed as par...
原文: 8. How do I write scripts in perl/Tk? Start your script as you would any perl script (e.g....
原文: 9. What widget types are available under perl/Tk? The following Tk widget primitives are a...
原文: 10. How do I get widget X to do Y ? There are a number of tasks that can be accomplished w...
原文: 10.1. How do I get a Button to call a Perl subroutine? You may specify the -command option...
原文: 10.2. How do I get a Button to actively change under my mouse pointer? You should specify...
原文: 10.3. How do I arrange the layout of my widgets? To control the layout and appearance of w...
原文: 10.4. How do I get a Popup to popup? For things like a simple "are you sure?" dialog box y...
原文: 10.5. How do I bind keyboard keys? There are many default key bindings built in to the wid...
原文: 10.6. How do I add bindings? On Fri, 15 Sep 95 10:30:56 BST Nick Ing-Simmons <Nick.Ing-...
原文: 10.7. How do I bind the action of a slider (sic) to ... ? Technically speaking they are ca...
原文: 10.8. How do I configure a Scrollbar to scroll multiple widgets? Note that the widget type...
原文: 10.9. How do I display a bitmap? You can display X bitmaps on your widgets with the -bitma...
原文: 10.10. How do I display an image? You will want to get a "Photo" handle on the file as in...
原文: 10.11. What Image types are available? In addition to the Tk builtin bitmaps there is supp...
原文: 10.12. Is there any way to have more than one Listbox contain a selection? To allow more t...
原文: 10.13. How do I select a range of tags in a Text widget? A question arose concerning getti...
原文: 10.14. How do I group Radiobuttons together? Specify the -variable option on each one. Her...
原文: 10.15. How do I specify fonts? The quick answer is to specify the font configuration optio...
原文: 10.16. How do I get the entry in an Entry? You want to call get on the return value of the...
原文: 10.17. How do I hide a password Entry? Set the -show option to zero, as in this example: $...
原文: 10.18. How do I limit an Entry's insertion width? [OBSOLETE; explain use of new -validatec...
原文: 10.19. How do I obtain Menus that do not tear off? Nick Ing-Simmons outlined a couple of w...
原文: 11. How do I get a Canvas to ... ? The Canvas widget is the most configurable and versatil...
原文: 11.1. Display a bitmap? Unlike other widgets the Canvas does not take the -bitmap configur...
原文: 11.2. Erase a display? To erase something like a bitmap call delete on the item. Assuming...
原文: 11.3. Display an Image? Just as for the other widget types there is a two step process of...
原文: 11.5. How do I redraw a line on a Canvas? By calling the ->coord method on the item as...
原文: 11.4. What things can be created on a Canvas? The following types can be used in $canvar-&...
原文: 11.6. How do I use the Canvas as a geometry manager? In a call to create a window (or anyt...
原文: 11.7. How do I get a Canvas to output PostScript(c)? Many thanks to Tom Oelke mailto:tpo96...
原文: 11.8. How do I get a PostScript(c) output of a Canvas w/ widgets? In general you don't. Yo...
原文: 11.9. How do I get the size of a Canvas? After a re-size? $canvas->cget(-width); simply...
原文: 11.10. How do I bind different actions to different areas of the same Canvas? KOBAYASI Hir...
原文: 12. Common Problems. Everything in Tk-land is a reference. When defining callbacks take ca...
原文: 12.2. What happened to the ampersands &? Perl 4 programmers especially may be surprised to...
原文: 12.3. What happened to the quotation marks? Perl 4 programmers especially may be surprised...
原文: 12.4. Must I use "my" on all my variables? If you use strict; (as recommended) the answer...
原文: 12.5. Is there a way to find out what is in my perl/Tk "PATH"? Presuming this question is...
原文: 12.6. What is the difference between use and require? The short answer is that something l...
原文: 12.7. How do I change the cursor/color? Nick Ing-Simmons mailto:nik@tiuk.ti.com and others...
原文: 12.8. How do I ring the bell? The short answer is $widget -> bell; A slightly longer...
原文: 12.9. How do I determine the version of perl/Tk that I am running? With an up to date perl...
原文: 12.10. How do I call perl from C? You need to see a recent copy of the perlembed(1) pod pa...