UI::Dialog::Console(3pm)

UI::Dialog::Console3pm

Console meta-class for ui::dialog.

Usage

  use UI::Dialog::Console;
  my $d = new UI::Dialog::Console ( title => 'Default',
                                    height => 20, width => 65,
                                    listheight => 5 );
  # Either a CDialog, Whiptail or ASCII msgbox widget should be displayed
  # with a preference for CDialog.
  $d->msgbox( title => 'Welcome!', text => 'Welcome one and all!' );

Abstract

UI::Dialog::Console is simply another meta-class for UI::Dialog. This class simply has a different order of priority than UI::Dialog and no GUI support.

Overview

This class is simply a nice way to try and ensure a Console based widget set.

Export

None

Inherits

UI::Dialog

Constructor

new( @options )

EXAMPLE
 my $d = new( title => 'Default Title', backtitle => 'Backtitle',
              width => 65, height => 20, listheight => 5,
              order => [ 'cdialog', 'whiptail', 'ascii' ] );
DESCRIPTION

This is the Class Constructor method. It accepts a list of key => value pairs and uses them as the defaults when interacting with the various widgets.

RETURNS

A blessed object reference of the UI::Dialog::Console class.

OPTIONS

The (...)'s after each option indicate the default for the option.

debug = 0,1,2 (0)
order = [ kdialog, xdialog ] (as indicated)
PATH = [ /bin, /usr/bin, /usr/local/bin, /opt/bin ] (as indicated)
backtitle = "backtitle" ('')
title = "title" ('')
beepbefore = 0,1 (0)
beepafter = 0,1 (0)
height = \d+ (20)
width = \d+ (65)
listheight = \d+ (5)

Releases

8 releases since Debian 5.0 (Lenny); the text changed 2 times.

  1. 5.0–7
  2. 8
  3. 10–13

Bugs

Please email the author with any bug reports. Include the name of the module in the subject line.

Author

Kevin C. Krinke, <[email protected]>

From libui-dialog-perl 1.21-0.1 in Debian 13 (Trixie). Parsed by carta from the page's man source.