Skip Menu |

This queue is for tickets about the Tk-Pod CPAN distribution.

Report information
The Basics
Id: 67306
Status: open
Priority: 0/
Queue: Tk-Pod

People
Owner: Nobody in particular
Requestors: DDUMONT [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.9939
Fixed in: (no value)



Subject: Embedded PodText widget modifies Toplevel's title
Hello To display Config::Model's inline help, I want to embed a PodText widget within Config::Model's top level GUI. This works quite well, except's that the window's title is updated whenever $podtext->text() method is called. Tk::Pod::Cache::restore_contents is probably the culprit as it does call: $w->toplevel->title( "Tkpod: " . $w->{'pod_title'}); Would it be possible to update Tk::Pod so embedding a Pod text widget is possible without messing with the window's title ? All the best
On 2011-04-07 10:03:25, DDUMONT wrote: Show quoted text
> Hello > > To display Config::Model's inline help, I want to embed a PodText widget > within Config::Model's top level GUI. > > This works quite well, except's that the window's title is updated > whenever $podtext->text() method is called. > > Tk::Pod::Cache::restore_contents is probably the culprit as it does call: > > $w->toplevel->title( "Tkpod: " . $w->{'pod_title'}); > > Would it be possible to update Tk::Pod so embedding a Pod text widget is > possible without messing with the window's title ? >
It's not only Tk::Pod::Cache, there are also two places in Tk::Pod::SimpleBridge which manipulate the toplevel title, and all places have a comment # XXX Is it bad form to manipulate the top level? Probably it is bad form :-\ I'll check if I find a better solution here... Regards, Slaven