my $ui = Lire::UI->new();
$ui->curses_ui()->clear_on_exit( 1 );
exit( $ui->mainloop() );
DESCRIPTIONThe 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.
VERSION$Id: UI.pm,v 1.25 2006/07/23 13:16:30 vanbaal Exp $
COPYRIGHTCopyright (C) 2004 Stichting LogReport Foundation [email protected]
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.