itemfield: A brick Widget for selectable summary of many elements on a terminal

[ bsd3, console, graphics, library ] [ Propose Tags ]

This module provides a brick Widget that can be used with the brick package to handle situations where there are lots of items to represent to the user along with a corresponding state for each item. One example of where the itemfield would be used is if there are too many elements to reasonably show in a List widget, if those elements are divided into groups, and if some status needs to be shown for each element.

In addition, the user can use the cursor keys and space bar to mark one or more items (presumably so other code can get the list of marked elements and perform a state-changing operation).

There are two example programs built when the examples flag is True (the default): bookcase and workreport. Running these applications should give a better idea of what the itemfield widget is and how it can be used.

Versions 1.1.0.1, 1.1.0.2, 1.2.0.0, 1.2.1.0, 1.2.2.0, 1.2.2.1, 1.2.3.0, 1.2.4.0, 1.2.4.1, 1.2.4.2, 1.2.5.0
Change log CHANGELOG.md
Dependencies base (<5.0), brick (>=0.13 && <=0.16 || >=0.17), data-default, itemfield, microlens (<0.5), microlens-th, random, text (<1.3), transformers, vty [details]
License BSD-3-Clause
Copyright Kevin Quick, 2013-2017
Author Kevin Quick <quick@sparq.org>
Maintainer quick@sparq.org
Category Graphics, Console
Source repo head: darcs get http://hub.darcs.net/kquick/itemfield
Uploaded by KevinQuick at Mon Feb 6 04:09:10 UTC 2017
Distributions NixOS:1.2.5.0
Executables workreport, bookcase
Downloads 2138 total (31 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-02-06 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Flags

NameDescriptionDefaultType
examples

Build example programs

EnabledAutomatic
brick017

true for Brick version 0.17 or later

EnabledAutomatic
brick016

true for Brick version 0.16 or later

EnabledAutomatic
brick015

true for Brick version 0.15.x

EnabledAutomatic
base48

base 4.8 or later

EnabledAutomatic
base49

base 4.8 or later

EnabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

For package maintainers and hackage trustees