in reply to Problem with Scrolled tab from Tk::Notebook widget using Podtext
I do not have Tk::Pod::Text installed and am not inclined to do so just to test this, but...
Looking at the source of Tk::Pod, I notice:
-background => ['PASSIVE'], # XXX see comment in Tk::More
Hmmmm.
In the source of Tk::More there is the line:
-background => ['PASSIVE'],# XXX ignore -background, so optionAdd +works.... still decide
Looks like you need to set the background color in the option database if you want to have it non-standard in a Tk::Pod::Text object. See perldoc Tk::option.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Problem with Scrolled tab from Tk::Notebook widget using Podtext
by emilbarton (Scribe) on Mar 22, 2012 at 19:02 UTC |