Provided by: lire-devel-doc_2.1.1-2.1_all ![bug](/img/bug.png)
![bug](/img/bug.png)
NAME
Lire::UI - Interface to a DLF store
SYNOPSIS
use Lire::Config; use Lire::UI; use Lire::PluginManager; Lire::Config->init(); Lire::PluginManager->register_default_plugins(); my $ui = Lire::UI->new(); $ui->curses_ui()->clear_on_exit( 1 ); exit( $ui->mainloop() );
DESCRIPTION
The Lire::UI object creates a Curses::UI application. curses_ui() Returns the Curses::UI object used for the interface. edit_value_dialog( $value, [$title] ) Opens a modal dialog that can edit the Lire::Config::Value $value. The dialog has an OK and Cancel button and contains one Lire::UI::Widget appropriate for the $value type. The method returns true when the OK button was selected, false otherwise.
SEE ALSO
lire(1), Curses::UI(3pm)
VERSION
$Id: UI.pm,v 1.25 2006/07/23 13:16:30 vanbaal Exp $
AUTHORS
Francis J. Lacoste <flacoste@logreport.org> Wolfgang Sourdeau <wolfgang@logreport.org>
COPYRIGHT
Copyright (C) 2004 Stichting LogReport Foundation LogReport@LogReport.org This file is part of Lire. Lire is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. 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 (see COPYING); if not, check with http://www.gnu.org/copyleft/gpl.html.