Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Tk DialogBox Enter key behavior

by lamprecht (Friar)
on Jun 17, 2010 at 23:07 UTC ( [id://845290]=note: print w/replies, xml ) Need Help??


in reply to Tk DialogBox Enter key behavior

Hi,

remove the Dialogs <Return> binding:

use strict; use warnings; use Tk; my $mw = tkinit; my $d = $mw->DialogBox(); $d->add('Text')->pack; $d->bind('<Return>',''); $d->Show;

Cheers, Christoph

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://845290]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2026-04-13 01:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.