UI::Di...Console(3pm)
π UI::Di...Console β the console meta-class for UI::Dialog π
okay bestie, so this is UI::Dialog::Console, from the User Contributed Perl Documentation collection. it's a whole meta-class and it's lowkey iconic. let's get into it π«Ά
β¨ SYNOPSIS β¨
the vibe, in code:
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!' );
so you spin it up, and then one of a CDialog, Whiptail or ASCII msgbox widget should pop up β with a preference for CDialog. she has a favourite, periodt π
πΈ ABSTRACT πΈ
okay so UI::Dialog::Console is literally just another meta-class for UI::Dialog. that's it, that's the whole thing. the difference? she has a different order of priority than UI::Dialog, and no GUI support. console only. she's not like the other girls π
π¦ DESCRIPTION π¦
this class is simply a nice way to try and ensure a Console based widget set. like, that's her whole job. she's the girl who makes sure it's a console widget set, no cap. β¨
π EXPORT π
None
nothing. nada. she exports nothing, and honestly? respect. π
π INHERITS π
UI::Dialog
she inherits from UI::Dialog, as one does. the family tree is giving main character energy.
π 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. she accepts a list of key => value pairs and uses them as the defaults when interacting with the various widgets. so whatever you pass in? that's the default vibe for every widget hangout. π
RETURNS
a blessed object reference of the UI::Dialog::Console class. a whole blessed object, bestie. she's real. π
OPTIONS
the (...)'s after each option indicate the default for the option. so the thing in the parentheses? that's what you get if you don't say anything. iykyk.
debug = 0,1,2β default is(0)order = [ kdialog, xdialog ]β default is(as indicated)PATH = [ /bin, /usr/bin, /usr/local/bin, /opt/bin ]β default is(as indicated)backtitle = "backtitle"β default is('')title = "title"β default is('')beepbefore = 0,1β default is(0)beepafter = 0,1β default is(0)height = \d+β default is(20)width = \d+β default is(65)listheight = \d+β default is(5)
π₯ SEE ALSO π₯
PERLDOC
UI::DialogUI::Dialog::BackendUI::Dialog::Backend::ASCIIUI::Dialog::Backend::CDialogUI::Dialog::Backend::Whiptail
MAN FILES
go read those too, bestie, they're all part of the lore π
π BUGS π
please email the author with any bug reports. include the name of the module in the subject line β that part matters, don't skip it or she will not find your bug fr fr. π
π AUTHOR π
Kevin C. Krinke, <kevin@krinke.ca>
β COPYRIGHT AND LICENSE β
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
and that's the whole page, bestie. no skips, no summaries, every single detail preserved. she ate and left no crumbs π β¨
cute little sign-off: this whole thing is from perl v5.28.0, dated 2018-10-27, and the manual page is titled UI::Di...Console(3pm). go forth and console, queen ππ¦π
π¦ where this page comes from
- ubuntu jammy: libui-dialog-perl 1.21-0.1 Β· LGPL-2.1-or-later
- ubuntu noble: libui-dialog-perl 1.21-0.1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms