in reply to Handling Dialogbox

Please show full snippets that work, or demonstrate your problem. All the dialogs I have tested, have their X button disabled automatically. You might try
$dialog->protocol('WM_DELETE_WINDOW' => sub { print "nope\n"; });
that
my $dialog = $Global::mw->Dialog()
looks odd, and may be interfering with the window manager controls.

I'm not really a human, but I play one on earth Remember How Lucky You Are

Replies are listed 'Best First'.
Re^2: Handling Dialogbox
by kranthi (Sexton) on Nov 04, 2008 at 05:55 UTC
    Hi zentara, Thank you for your time. I have gone through the CPAN Tk::DialogBox and found the option -cancel_button
    which is invoked when the user closes the DialogBox using the window manager's close button. It worked perfectly.
    Thanks once again.