ManaTools::Rpmdragora::gurpm - Module that shows the urpmi progress status
my %option = (title => "Urpmi action ivoked", text => "Please wait", ); my $gurpmi = ManaTools::Rpmdragora::gurpm->new(%option); $gurpmi->progress(45); #add to an existing dialog %option = (title => "Urpmi action ivoked", text => "Please wait", main_dialog => $dialog, parent => $parent_container); $gurpmi = ManaTools::Rpmdragora::gurpm->new(%option); $gurpmi->progress(20);
This class is used to show the progress of an urpmi operation on its progress bar. It can be istantiated as a popup dialog or used to add label and progress bar into a YLayoutBox container.
You can find documentation for this module with the perldoc command: perldoc ManaTools::Rpmdragora::gurpm
Angelo Naselli <anaselli@linux.it> Matteo Pasotti <matteo.pasotti@gmail.com>
Copyright (c) 2002 Guillaume Cottenceau Copyright (c) 2002-2007 Thierry Vignaud <tvignaud@mandriva.com> Copyright (c) 2003, 2004, 2005 MandrakeSoft SA Copyright (c) 2005-2007 Mandriva SA Copyright (c) 2013-2016 Matteo Pasotti <matteo.pasotti@gmail.com> Copyright (C) 2015-2016, Angelo Naselli <anaselli@linux.it> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2, as published by the Free Software Foundation. This program 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 General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
The BUILD method is called after a Moose object is created, in this methods Services loads all the service information.
Polls a dialog event to refresh the dialog
$text: text to be shown on label
DESCRIPTION
Sets the label text
$value: integer value in the range 0..100
DESCRIPTION
Sets the progress bar percentage value
$val: boolean value indicating whether or not this method was called as part of the global destruction process (when the Perl interpreter exits)
DESCRIPTION
Moose provides a hook for object destruction with the DEMOLISH method as it does for construtor with BUILD