About scroll bar

"jeevitesh" <[email protected]> 9 Sep 2006 18:42:07 -0000
Newsgroups gmane.comp.lang.perl.tk
Message-ID <[email protected]>

Dear friends,

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I
have a simple problem Need your help. I possess number widget like Text widget,
label and&nbsp; button in a single window so
naturally my Text Area widget is smaller one, but when I add Scroll bar to my
Text widget the scroll bar is getting added for the entire window. 


The source code 

$mw1=MainWindow-&gt;new();

$scrollbar3 =$mw1-&gt;Scrollbar(-orient=&gt;\'horizontal\');


&nbsp;$Text3 = $mw1-&gt;Text(-background =&gt;
\'#a0b7ab\',-foreground =&gt; \'black\',-width =&gt;

85,-height=&gt;6,-font=&gt;\"-*-Courier-Medium-B-Normal--*-120-*-*-*-*-*-*\",-wrap =&gt;
\"none\",xscrollcommand =&gt; 
[\'set\',$scrollbar3] )-&gt;place( -x =&gt;
200, -y =&gt; 300);


&nbsp;$mw1-&gt;minsize(qw(550 500));

$mw1-&gt;geometry(\'+350+200\');


Thank you in advance

--++**==--++**==--++**==--++**==--++**==--++**==--++**==
ptk mailing list
[email protected]
https://mailman.stanford.edu/mailman/listinfo/ptk