Curses::UI::Widget | +----Curses::UI::Container | +----Curses::UI::Window | +----Curses::UI::Dialog::Basic | +----Curses::UI::Dialog::Error
use Curses::UI; my $cui = new Curses::UI; my $win = $cui->add('window_id', 'Window'); # The hard way. # ------------- my $dialog = $win->add( 'mydialog', 'Dialog::Error', -message => 'The world has gone!' ); $dialog->focus; $win->delete('mydialog'); # The easy way (see Curses::UI documentation). # -------------------------------------------- $cui->error(-message => 'The world has gone!'); # or even: $cui->error('The world has gone!');
_ / \ / ! \ /_____\
Since this class is very closely related to the basic dialog, see Curses::UI::Dialog::Basic for a description of the options and methods that you can use.
Maintained by Marcus Thiesen (marcus@cpan.thiesenweb.de)
This package is free software and is provided ``as is'' without express or implied warranty. It may be used, redistributed and/or modified under the same terms as perl itself.