原文: 11. How do I get a Canvas to ... ? The Canvas widget is the most configurable and versatil
原文: 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
原文: 16.1. How do I get a Dialog box? For things like a simple "are you sure?" dialog box you m
原文: 11.5. How do I redraw a line on a Canvas? By calling the ->coord method on the item as
原文: 11.6. How do I use the Canvas as a geometry manager? In a call to create a window (or anyt
原文: 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.9. How do I get the size of a Canvas? After a re-size? $canvas->cget(-width); simply
原文: 11.4. What things can be created on a Canvas? The following types can be used in $canvar-&