UI::Dialog::KDE(3pm)

πŸ“¦
version 1.21 Β· 3 versions
, in ubuntu jammy, ubuntu noble

πŸ’… UI::Dialog::KDE β€” the UI::Dialog::KDE(3pm) moment

okay bestie, sit down, hydrate, because we're talking about UI::Dialog::KDE β€” the KDE GUI meta-class for UI::Dialog. yes the whole manual. no we're not skipping the boring bits. periodt. ✨


🌸 NAME

UI::Dialog::KDE β€” the KDE GUI meta-class for UI::Dialog. it's giving "I want KDE widgets and I want them now" energy. πŸ’…


✨ SYNOPSIS

here's the vibe, copy-paste ready, no notes:

use UI::Dialog::KDE;
my $d = new UI::Dialog::KDE ( backtitle => 'Demo', title => 'Default',
                              height => 20, width => 65 ,
                              listheight => 5 );

# Either a KDialog or Xdialog msgbox widget should popup,
# with a preference for KDialog.
$d->msgbox( title => 'Welcome!', text => 'Welcome one and all!' );

so like, either a KDialog or an Xdialog msgbox widget should pop up, and it's lowkey biased β€” it prefers KDialog. queen behavior honestly. πŸ‘‘


πŸ¦‹ ABSTRACT

UI::Dialog::KDE is simply another meta-class for UI::Dialog. the way it's just… a different order of priority than UI::Dialog, and no console support. that's the whole tea. 🍡


πŸŽ€ DESCRIPTION

this class is literally just a nice way to try and ensure a KDE based widget set. and here's the lore: KDialog is the only kde dialog variant, so as such, Xdialog is the only alternative. two options, one destiny, slay. 🫢


πŸ’– EXPORT

None

nothing. zero. empty. it's giving minimalist. πŸ™ˆ


🌈 INHERITS

UI::Dialog

yes it's a nepo baby and we love that for it. πŸ’œ


πŸ‘‘ CONSTRUCTOR

🧚 new( @options )

πŸ’« EXAMPLE

my $d = new( title => 'Default Title', backtitle => 'Backtitle',
             width => 65, height => 20, listheight => 5,
             order => [ 'kdialog', 'xdialog' ] );

🌸 DESCRIPTION

this is the Class Constructor method, bestie. it accepts a list of key => value pairs and uses them as the defaults when interacting with the various widgets. that's it, that's the job. ✨

⭐ RETURNS

a blessed object reference of the UI::Dialog::KDE class. a whole blessed baby. we're so proud. πŸ˜­πŸ’–

πŸŽ€ OPTIONS

the (...)'s after each option show you the default for that option, iykyk:

  • debug = 0,1,2 β€” default is 0. pick your chaos level.
  • order = [ kdialog, xdialog ] β€” default is as indicated. kdialog first, always first, main character energy.
  • PATH = [ /bin, /usr/bin, /usr/local/bin, /opt/bin ] β€” default is as indicated. that's the search list, no cap.
  • backtitle = "backtitle" β€” default is ''. empty string, humble beginnings.
  • title = "title" β€” default is ''. also empty. consistency is iconic.
  • beepbefore = 0,1 β€” default is 0. beep before? optional. πŸ””
  • beepafter = 0,1 β€” default is 0. beep after? also optional. πŸ””
  • height = \d+ β€” default is 20. numbers only bestie.
  • width = \d+ β€” default is 65. numbers only, again.
  • listheight = \d+ β€” default is 5. yes, numbers. we been knew.

🌟 SEE ALSO

πŸ“š PERLDOC

  • UI::Dialog
  • UI::Dialog::Backend
  • UI::Dialog::Backend::KDialog
  • UI::Dialog::Backend::XDialog
  • UI::Dialog::Backend::XOSD

πŸ“– MAN FILES

go read them, bestie, it's enrichment. πŸ¦‹


πŸ’€ BUGS

please email the author with any bug reports. and yes, include the name of the module in the subject line β€” they're not psychic, they're just Kevin. 😭


πŸ’œ AUTHOR

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
the legal bit is the legal bit, bestie β€” I'm not paraphrasing a license, that's not the vibe. it's quoted exactly, and yes it matters. βš–οΈβœ¨

okay that's the whole thing, and you ate it. πŸ’… this page came to you from perl v5.28.0, dated 2018-10-27, and yes that's the manual name UI::Dialog::KDE(3pm) you saw up top β€” consider yourself fully briefed. mwah. πŸ«ΆπŸ’–πŸŽ€

πŸ“¦ where this page comes from