Curses::UI::Dialog::Error(3pm)

Curses::UI::Dialog::Error3pm

Create and manipulate error dialogs

Usage

    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!');

Class hierarchy

 Curses::UI::Widget
    |
    +----Curses::UI::Container
            |
            +----Curses::UI::Window
                    |
                    +----Curses::UI::Dialog::Basic
                            |
                            +----Curses::UI::Dialog::Error

Overview

Curses::UI::Dialog::Error is a basic error dialog. It is almost the same as Curses::UI::Dialog::Basic, except for the fact that a warning sign is drawn to the left of the message using ASCII "art":

       _
      / \
     / ! \
    /_____\

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.

Releases

12 releases since Debian 3.1 (Sarge); the text changed 6 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7–10
  6. 11–13
  7. Arch

Author

Copyright (c) 2001-2002 Maurice Makaay. All rights reserved.

Maintained by Marcus Thiesen ([email protected])

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.

From perl-curses-ui 0.9609-15 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.