zakb has asked for the wisdom of the Perl Monks concerning the following question:
Hi
I've found what I consider to be a bug in Tk::Text 3.044 as provided with ActiveState on Windows.
The .pm file states that Greg London is the maintainer - as of 1999 - but has no other contact info.
Anyhow, the bug is that you can't amend the widget (with the insert method for example) whilst the control has a state of 'disabled'. Whilst this may seem reasonable, it does not hold true for other Tk widgets like Tk::Entry (which I would consider a basic widget).
The workaround is simple:
# enable the control for changing $text->configure(-state => 'normal'); # do any changes $text->insert('end', 'text'); # restore state $text->configure(-state => 'disabled');
So, the wisdom I seek is, has anyone else noticed this, has it been fixed in a later version, who should I contact?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Possible bug in Tk::Text
by converter (Priest) on Jun 09, 2003 at 20:06 UTC | |
by zakb (Pilgrim) on Jun 10, 2003 at 07:47 UTC | |
Re: Possible bug in Tk::Text
by aquarium (Curate) on Jun 09, 2003 at 22:24 UTC | |
by zakb (Pilgrim) on Jun 10, 2003 at 07:49 UTC |
Back to
Seekers of Perl Wisdom