Tk::Cloth(3pm)

Tk::Cloth3pm

An oo tk canvas

Usage

    use Tk::Cloth;
    
    $cloth = $parent->Cloth;
    $cloth->pack(-fill => 'both', -expand => 1);
    
    $rect = $cloth->Rectangle(
        -coords => [ 0,0,100,100],
        -fill => 'red'
    );
    
    $tag = $cloth->tag;
    $tag->Line(
        -coords => [10,10,100,100],
        -foreground => 'black'
    );
    $tag->Line(
        -coords => [50,50,100,100],
        -foreground => 'black'
    );
    $tag->move(30,30);
    
    $tag->bind("<1>", [ &button1 ]);

Overview

Tk::Cloth provides an object-orientated approach to a canvas and canvas items.

Releases

10 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0–7
  4. 8–10
  5. 11
  6. 12–13

Author

Graham Barr <[email protected]>

Current maintainer is Slaven Rezic <[email protected]>.

From libtk-gbarr-perl 2.08-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.