#!/usr/bin/perl -w use strict; use Tk; my $mw = 'MainWindow'->new(); my $cv0 = $mw->Canvas( qw! -background red ! ) ->pack( qw! -fill both -expand 1 ! ); my $cv1 = $mw->Canvas( qw! -background blue ! ) ->pack( qw! -fill both -expand 1 ! ); MainLoop();
2006-10-25 Retitled by planetscape, as per Monastery guidelines
Original title: 'PerlTk: Canvas within canvas question'
In reply to PerlTk: Canvas next to another canvas by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |