Mozilla::PromptServiceMozilla::PromptService is a Perl interface to the Mozilla nsIPromptService. | |
Download |
Mozilla::PromptService Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Boris Sukholitko
- Publisher web site:
- http://search.cpan.org/~bosu/HTML-Tested-ClassDBI-0.19/lib/HTML/Tested/ClassDBI.pm
Mozilla::PromptService Tags
Mozilla::PromptService Description
Mozilla::PromptService is a Perl interface to the Mozilla nsIPromptService. Mozilla::PromptService is a Perl interface to the Mozilla nsIPromptService.SYNOPSIS use Mozilla::PromptService; Mozilla::PromptService::Register({ Alert => sub { my ($parent, $title, $dialog_text) = @_; # do something smart on alert ... }, # Prompt callback should return result Prompt => sub { return "Prompt Result" }, DEFAULT => sub { my ($name, $parent, $title, $dialog_text) = @_; # some other confirmation is needed } }Mozilla::PromptService uses Mozilla nsIPromptService to allow perl callbacks on prompt events.For a much more detailed information on nsIPromptService see documentation on mozilla.org Requirements: · Perl
Mozilla::PromptService Related Software