I am trying to use the scrolledwindow and scrollabframe, so far is behaving as expected except for
the window/frame does not scroll when using a mouse wheel. Here is the code segment I used to set up
the window/frame:
my $panedw3 = $mnbook->new_ttk__panedwindow(-orient => 'vertical');
.
.
.
my $mcstab = $mnbook->add($panedw3, -text => "Configs\/Settings\/Switches");
.
.
.
my $csswin = $panedw3->new_ScrolledWindow();
$csswin->g_pack(-side => 'left', -anchor => 'nw', -fill => 'both', -expand => 1);
#
my $cssframe = $csswin->new_ScrollableFrame();
$csswin->setwidget($cssframe);
my $cssframe2 = Tkx::widget->new($cssframe->getframe);
#
my $settingframe = $cssframe2->new_ttk__frame(-width => $wpixels, -height => $hpixels);
$settingframe->g_pack(-side => 'top', -fill => 'both', -expand => 1);
$panedw3->add($csswin);
Again all appears to be working except for the interaction with a mousewheel.
I also looked at the PPM GUI code and saw that it created the scrolled window via the command:
$widget->new_widget__scrolledwindow
I tried that in my code, but it could not find widget__scrolledwindow, why?
And the looking at the documentation at the AS web site under TCL they mentioned a themed and non themed widget,
but there is no indication of how to distinguish between the 2, can any one enlighten as to how to specify the difference and whether the difference has an effect on the mousewheel interactions?
thanks,
gary