Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Can't get Dialog or messageBox to work from button

by SwaJime (Scribe)
on Jan 11, 2016 at 14:49 UTC ( [id://1152484]=note: print w/replies, xml ) Need Help??


in reply to Re: Can't get Dialog or messageBox to work from button
in thread Can't get Dialog or messageBox to work from button

Thanks :-) With your help I was able to find the missing piece. Here is the working code:
my(@popup_opts) = (-popover => undef, qw/-overanchor sw -popanchor nw/ +); my $dialogWindow = $mw->Dialog( @popup_opts, -title => "Error", -text => "My Error Message", -bitmap=>'erro +r', -buttons => ['Ok']);
This is supposedly documented under Tk::Popup, according to http://search.cpan.org/dist/Tk/pod/DialogBox.pod, but I can't seem to find Tk::Popup documentation.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-03-29 08:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found