Lire::UI - Interface to a DLF store 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() ); 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. lire(1), Curses::UI(3pm) $Id: UI.pm,v 1.24 2004/09/01 21:25:22 flacoste Exp $ Francis J. Lacoste <flacoste@logreport.org> Wolfgang Sourdeau <wolfgang@logreport.org> 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 or write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.