ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-tk
perl-tk
handing over control
by Henry Merryweather other posts by this author
May 20 2003 1:24PM messages near this date
Nonmember submission: Cant get Tk800 to compile properly - HPUX perl 5.8.0 cc compiler | IconCanvas questions?
I am sure that there is a simple answer to this but I have not been able
to find it so far!

 

When I use the dialog widget (e.g. $answer = $mw-> Dialog(..     See page
563 of Mastering Perl/Tk by Lidie and Walsh)  control is handed over to
this widget until an 'answer' is given.

 

How can I hand over control to a window that I create as a 'toplevel'
widget using: 

 

$toplevel_wg = $toplevel_parent-> Toplevel();

$toplevel_wg-> title($toplevel_title);


 

More in hope than expectation, I thought that setting the option
-takefocus to 1 may be the solution but this not seem to have the
desired effect.

 

Best regards

 

 

 

Henry Merryweather

Radan Computational Ltd

Technical Centre

Granville Road

Bath

BA1 9BE

UK

Tel: +44 (0) 1225 320 320

Fax: +44 (0) 1225 320 311

 
Attachments:
unknown1


Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved