{"id":7133,"date":"2022-12-20T19:35:35","date_gmt":"2022-12-20T22:35:35","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/manatoolsrpmdragoragurpm-man3\/"},"modified":"2022-12-20T19:35:35","modified_gmt":"2022-12-20T22:35:35","slug":"manatoolsrpmdragoragurpm-man3","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/manatoolsrpmdragoragurpm-man3\/","title":{"rendered":"ManaTools::Rpmdragora::gurpm (man3)"},"content":{"rendered":"<h1 align=\"center\">ManaTools::Rpmdragora::gurpm<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#SUPPORT\">SUPPORT<\/a><br \/> <a href=\"#AUTHOR\">AUTHOR<\/a><br \/> <a href=\"#COPYRIGHT and LICENSE\">COPYRIGHT and LICENSE<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">ManaTools::Rpmdragora::gurpm \u2212 Module that shows the urpmi <br \/> progress status<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">my %option = (title => &#8220;Urpmi action ivoked&#8221;, text => &#8220;Please wait&#8221;, ); <br \/> my $gurpmi = ManaTools::Rpmdragora::gurpm\u2212>new(%option); <br \/> $gurpmi\u2212>progress(45); <br \/> #add to an existing dialog <br \/> %option = (title => &#8220;Urpmi action ivoked&#8221;, text => &#8220;Please wait&#8221;, main_dialog => $dialog, parent => $parent_container); <br \/> $gurpmi = ManaTools::Rpmdragora::gurpm\u2212>new(%option); <br \/> $gurpmi\u2212>progress(20);<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">This class is used to show the progress of an urpmi operation on <br \/> its progress bar. It can be istantiated as a popup dialog or used <br \/> to add label and progress bar into a YLayoutBox container.<\/p>\n<h2>SUPPORT <a name=\"SUPPORT\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">You can find documentation for this module with the perldoc command: <br \/> perldoc ManaTools::Rpmdragora::gurpm<\/p>\n<h2>AUTHOR <a name=\"AUTHOR\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Angelo Naselli <anaselli@linux.it> <br \/> Matteo Pasotti <matteo.pasotti@gmail.com><\/p>\n<h2>COPYRIGHT and LICENSE <a name=\"COPYRIGHT and LICENSE\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Copyright (c) 2002 Guillaume Cottenceau <br \/> Copyright (c) 2002\u22122007 Thierry Vignaud <tvignaud@mandriva.com> <br \/> Copyright (c) 2003, 2004, 2005 MandrakeSoft SA <br \/> Copyright (c) 2005\u22122007 Mandriva SA <br \/> Copyright (c) 2013\u22122017 Matteo Pasotti <matteo.pasotti@gmail.com> <br \/> Copyright (C) 2015\u22122017, Angelo Naselli <anaselli@linux.it> <br \/> This program is free software; you can redistribute it and\/or modify <br \/> it under the terms of the GNU General Public License version 2, as <br \/> published by the Free Software Foundation. <br \/> This program is distributed in the hope that it will be useful, <br \/> but WITHOUT ANY WARRANTY; without even the implied warranty of <br \/> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the <br \/> GNU General Public License for more details. <br \/> You should have received a copy of the GNU General Public License <br \/> along with this program; if not, write to the Free Software <br \/> Foundation, Inc., 59 Temple Place \u2212 Suite 330, Boston, MA 02111\u22121307, USA<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b><small>BUILD<\/small><\/b> <small><i><br \/> DESCRIPTION<\/i><\/small><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The BUILD method is called after a Moose object is created, <br \/> in this methods Services loads all the service information.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>flush<\/b> <i><small><br \/> DESCRIPTION<\/small><\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Polls a dialog event to refresh the dialog<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>label<\/b> <i><small><br \/> INPUT<\/small><\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">$text: text to be shown on label<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i><small>DESCRIPTION<\/small><\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Sets the label text<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>progress<\/b> <i><small><br \/> INPUT<\/small><\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">$value: integer value in the range 0..100<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i><small>DESCRIPTION<\/small><\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Sets the progress bar percentage value<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b><small>DEMOLISH<\/small><\/b> <small><i><br \/> INPUT<\/i><\/small><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">$val: boolean value indicating whether or not this method <br \/> was called as part of the global destruction process <br \/> (when the Perl interpreter exits)<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i><small>DESCRIPTION<\/small><\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Moose provides a hook for object destruction with the <br \/> DEMOLISH method as it does for construtor with BUILD<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  ManaTools::Rpmdragora::gurpm \u2212 Module that shows the urpmi  progress status <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[3007,3471],"class_list":["post-7133","post","type-post","status-publish","format-standard","hentry","category-sin-categoria","tag-man3","tag-manatoolsrpmdragoragurpm"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/7133","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=7133"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/7133\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=7133"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=7133"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=7133"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}