---
name: "Lire::UI"
section: "3pm"
platform: "linux"
package: "lire"
version: "2.1.1-8"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/Lire::UI"
---

# Lire::UI(3pm)

Interface to a DLF store

## 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)](/lire/1.md), [**Curses::UI**(3pm)](/Curses::UI/3pm.md)

## 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.
