Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^4: tk canvas text

by Anonymous Monk
on Apr 16, 2018 at 18:42 UTC ( [id://1213016]=note: print w/replies, xml ) Need Help??


in reply to Re^3: tk canvas text
in thread tk canvas text

Examples in widget demo, listed under

Canvases 1. The canvas item types. 2. A simple 2-D plot. 3. Text items in canvases. 4. An editor for arrowheads on canvas lines. 5. A ruler with adjustable tab stops. 6. A building floor plan. 7. A simple scrollable canvas. 8. Tiles and transparent images.

You can find same with

perl -MTk -le " print Tk->findINC( shift ) " demos/widget_lib/items.p +l perl -MTk -le " print Tk->findINC( shift ) " demos/widget_lib/style.p +l
style.pl uses tags to apply font/color... to bunches of text tagged with a certain style... other files ( plot.pl ruler.pl ctext.pl transtile.pl cscroll.pl floor.pl arrows.pl ) demo stuff too

https://metacpan.org/pod/Tk::Canvas#canvas--bind-tagOrId--sequence---callback

https://metacpan.org/pod/Tk::Canvas#canvas--bbox-tagOrId---tagOrId--tagOrId

For more examples Super Search for site:perlmonks.org Tk Canvas bind bbox same as you would for Tk Canvas Scroll

Ex Determine canvas object under click (Tk)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1213016]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2024-04-26 07:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found