Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
use strict; use Tk; use Tk::HList; our $mw; my ($g2list, $e); $mw = MainWindow -> new; $g2list = $mw -> HList (browsecmd => \&check_uitgever, -columns => 1) +-> pack; $e = $g2list -> addchild (''); $g2list -> itemCreate ($e, 0, -text => 'Text 1'); MainLoop; exit; #================================================== # # Subroutines # sub check_uitgever { my $uglist = $mw -> Hlist (-columns => 1) -> pack; }
What do I do wrong?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Use Hlist from selection event
by jdporter (Paladin) on Oct 19, 2007 at 14:29 UTC | |
by Anonymous Monk on Oct 19, 2007 at 16:37 UTC | |
|
Re: Use Hlist from selection event
by strat (Canon) on Oct 20, 2007 at 10:20 UTC |