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

Report information
The Basics
Id:
47805
Status:
new
Priority:
Low/Low
Queue:

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

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
(no value)



Subject: toolbar embedded in another toolbar cannot be destroyed
when one embeds a toolbar in another, and then destroy the embedded toolbar, the tollbar get destroyed but remains visible. and when clicking on the (phantom) button, there's a crash since button has been destroyed... #!/usr/bin/perl use 5.010; use strict; use warnings; use Tk; use Tk::ToolBar; my $mw = MainWindow->new; my $tb = $mw->ToolBar(-movable=>0, -side=>'top'); $tb->ToolButton(-text=>'Button',-command => sub { $tb->destroy }); my $tbin = $mw->ToolBar(-movable=>0, -in=>$tb); $tbin->ToolButton(-text=>'close',-command => sub { $tbin->destroy }); MainLoop;


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.