Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^4: tk canvas text

by Anonymous Monk
on Apr 16, 2018 at 18:42 UTC ( #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
Node Status?
node history
Node Type: note [id://1213016]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (1)
As of 2020-10-25 06:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (249 votes). Check out past polls.

    Notices?