Skip Menu |

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

Report information
The Basics
Id: 120023
Status: open
Priority: 0/
Queue: Tk-ExecuteCommand

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

Bug Information
Severity: Wishlist
Broken in: 1.6
Fixed in: (no value)



Subject: Can't override text
I'd like to be able to override this text, but there doesn't seem to be a way: my $l = $self->Label(-text => 'Command\'s stdout and stderr')->pack;
On 2017-01-28 16:57:15, NHORNE wrote: Show quoted text
> I'd like to be able to override this text, but there doesn't seem to > be a way: > > my $l = $self->Label(-text => 'Command\'s stdout and stderr')->pack;
This label is advertised as the "label" subwidget (see next line in code). This means it should be possible to change the text by using (untested): $w->Subwidget('label')->configure(-text => "The changed text"); If this works, then maybe this could be added to the Pod as an example (advertising subwidgets is a common concept in Perl/Tk, but maybe still to obscure for the casual user).