Hi All,
This might be an easily answered but hard found question.......
So using the Scrolled method allows you to create a window with automatic scrollbars, which is great.
And I figured out the riddle of how to set attributes of said Scrolled scrollbar by adding this line:
$TheWidget-> Subwidget("xscrollbar")-> configure (-background=> "green");
However, I have found that when you place several buttons in a row on a Scrolled widget, all left justified, and they are too many to fit in the window, Scrolled just cuts off the button row at the right side of the screen and no 'auto scrollbar' appears. Even if you specify it by adding the attribute:
-scrollbars => 'osoe',
and if you force it with:
-scrollbars => 'se',
you get a scrollbar that doesn't scroll!!
I thought about using a Canvas, but have been told this is definitely not the way, and little else. Does anyone know what I am missing, i.e., how to add a scrollbar to a Scrolled widget?
It can't be that difficult.
Thanks
jpasquini
This might be an easily answered but hard found question.......
So using the Scrolled method allows you to create a window with automatic scrollbars, which is great.
And I figured out the riddle of how to set attributes of said Scrolled scrollbar by adding this line:
$TheWidget-> Subwidget("xscrollbar")-> configure (-background=> "green");
However, I have found that when you place several buttons in a row on a Scrolled widget, all left justified, and they are too many to fit in the window, Scrolled just cuts off the button row at the right side of the screen and no 'auto scrollbar' appears. Even if you specify it by adding the attribute:
-scrollbars => 'osoe',
and if you force it with:
-scrollbars => 'se',
you get a scrollbar that doesn't scroll!!
I thought about using a Canvas, but have been told this is definitely not the way, and little else. Does anyone know what I am missing, i.e., how to add a scrollbar to a Scrolled widget?
It can't be that difficult.
Thanks
jpasquini