bjr has asked for the wisdom of the Perl Monks concerning the following question:
in App::Composite:use Tk; use lib ... use App::Composite;
and in test.pl... use base qw/Tk::Toplevel/; Construct Tk::Widget 'Composite' ... implementation ...
It raises, but doesn't focus! Playing with $comp->focusmode and $comp->configure(-takefocus) aren't what I want! How come this isn't easy?!$mw = new MainWindow; $comp = $mw->Composite; $comp->resizable(0, 0); $comp->raise($mw);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Window Focus in Tk
by dreadpiratepeter (Priest) on Aug 07, 2002 at 15:45 UTC | |
by ff (Hermit) on Oct 14, 2002 at 02:47 UTC |