GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
UI::Dialog::Console(3) User Contributed Perl Documentation UI::Dialog::Console(3)

UI::Dialog::Console - console meta-class for UI::Dialog.

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

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.

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

None

UI::Dialog

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)

PERLDOC
 UI::Dialog
 UI::Dialog::Backend
 UI::Dialog::Backend::ASCII
 UI::Dialog::Backend::CDialog
 UI::Dialog::Backend::Whiptail
    
MAN FILES
 dialog(1), whiptail(1)
    

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

Kevin C. Krinke, <kevin@krinke.ca>

 Copyright (C) 2004-2016  Kevin C. Krinke <kevin@krinke.ca>

 This library is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public
 License as published by the Free Software Foundation; either
 version 2.1 of the License, or (at your option) any later version.

 This library is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 Lesser General Public License for more details.

 You should have received a copy of the GNU Lesser General Public
 License along with this library; if not, write to the Free Software
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
2016-02-03 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.