Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: PerlTk: Canvas next to another canvas

by Samy_rio (Vicar)
on Oct 25, 2006 at 11:05 UTC ( [id://580542]=note: print w/replies, xml ) Need Help??


in reply to PerlTk: Canvas next to another canvas

Hi, try this,

#!/usr/bin/perl -w use strict; use Tk; my $mw = 'MainWindow'->new(); #Remove the Borders my $cv0 = $mw->Canvas( qw! -background red -highlightthickness 0! ) ->pack( qw! -fill both -expand 1 ! ); my $cv1 = $mw->Canvas( qw! -background blue -highlightthickness 0! ) ->pack( qw! -fill both -expand 1 ! ); #Change the color of the Borders my $cv0 = $mw->Canvas( qw! -background red -highlightbackground cyan! + ) ->pack( qw! -fill both -expand 1 ! ); my $cv1 = $mw->Canvas( qw! -background blue -highlightbackground oran +ge! ) ->pack( qw! -fill both -expand 1 ! ); MainLoop();

Regards,
Velusamy R.


eval"print uc\"\\c$_\""for split'','j)@,/6%@0%2,`e@3!-9v2)/@|6%,53!-9@2~j';

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2024-04-25 20:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found