itemfield: A brick Widget for selectable summary of many elements on a terminal
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.
Flags
Automatic Flags
Name | Description | Default |
---|---|---|
examples | Build example programs | Enabled |
brick017 | true for Brick version 0.17 or later | Enabled |
brick016 | true for Brick version 0.16 or later | Enabled |
brick015 | true for Brick version 0.15.x | Enabled |
base48 | base 4.8 or later | Enabled |
base49 | base 4.8 or later | Enabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- itemfield-1.2.5.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 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 2017-02-06T04:09:10Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Executables | workreport, bookcase |
Downloads | 7287 total (25 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2017-02-06 [all 1 reports] |