gri6507 has asked for the wisdom of the Perl Monks concerning the following question:
However, This gives me a flurry of "malformed UTF-8 error messages and garbage balloon help. I did some searching on google and found this post, which implies that perhaps this functionality does not exist yet. Is that the case or am I doing something wrong?use strict; use warnings; use Tk; use Tk::Tree; use Tk::Balloon; my $mw = MainWindow->new(); my $h = $mw->Scrolled('Tree', -scrollbars=>'ose', -selectmode=>'extend +ed')->pack(-side=>'top', -fill=>'both', -expand=>1); my %help; for my $top (1..3) { $h->add($top, -text=>$top); for (1..3) { $h->add("$top.$_", -text=>"$top.$_"); $help{"top.$_"} = "help_$top.$_"; } } my $b = $mw->Balloon(-initwait=>0); $b->attach($h->Subwidget('scrolled'), -balloonposition=>'mouse', -msg= +>\%help); MainLoop();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Using Tk::Balloon with Tk::Tree
by zentara (Cardinal) on Dec 22, 2006 at 18:24 UTC | |
by gri6507 (Deacon) on Dec 22, 2006 at 19:32 UTC | |
|
Re: Using Tk::Balloon with Tk::Tree
by ldln (Pilgrim) on Dec 22, 2006 at 18:09 UTC |