| 1 |
cwidget is a C++ user interface library for terminal-based |
| 2 |
applications. |
| 3 |
|
| 4 |
[[toc ]] |
| 5 |
|
| 6 |
## Introduction |
| 7 |
<a name="introduction"> |
| 8 |
|
| 9 |
cwidget is a modern, high-level C++ user interface library using |
| 10 |
[ncurses][] as its display and input layer. It uses the signal/slot |
| 11 |
programming model popularized by toolkits such as [GTK+][] and [Qt][], |
| 12 |
using [SigC++][] to provide signals and slots. |
| 13 |
|
| 14 |
[GTK+]: <http://www.gtk.org> |
| 15 |
[Qt]: <https://qt-project.org/> |
| 16 |
[SigC++]: <http://libsigc.sourceforge.net> |
| 17 |
[ncurses]: <http://www.gnu.org/software/ncurses/> |
| 18 |
|
| 19 |
This screenshot of [aptitude][] in action shows some of cwidget's |
| 20 |
features: |
| 21 |
|
| 22 |
 |
| 23 |
|
| 24 |
[aptitude]: <http://people.debian.org/~dburrows/aptitude> |
| 25 |
|
| 26 |
For more details and information about |
| 27 |
[[getting_cwidget|documentation/downloading]], see the cwidget |
| 28 |
[[documentation]]. |
| 29 |
|
| 30 |
## Features |
| 31 |
<a name="features"> |
| 32 |
|
| 33 |
cwidget's features include: |
| 34 |
|
| 35 |
* Support for overlapping widgets. |
| 36 |
* Event-driven programming using signals and slots. |
| 37 |
* A well-defined threading model with support for injecting events |
| 38 |
from background threads into the foreground thread. |
| 39 |
* Support for formatting text with styles, paragraph flowing, and |
| 40 |
indented blocks. |
| 41 |
* Support for cascading, user-configurable styles. |
| 42 |
|
| 43 |
<!-- TODO: cwidget has more features, need to add them here. :-) --> |
| 44 |
|
| 45 |
## Status |
| 46 |
<a name="status"> |
| 47 |
|
| 48 |
cwidget was originally an internal user interface library for the |
| 49 |
[aptitude][] package manager. This means, on the one hand, that |
| 50 |
cwidget is known to work in the real world for a real application; on |
| 51 |
the other hand, it means that the feature set of cwidget is |
| 52 |
coextensive with the requirements of aptitude. Features not needed by |
| 53 |
aptitude may be missing or incomplete, and cwidget's documentation is |
| 54 |
spotty. For this reason, the current focus of cwidget development is |
| 55 |
on filling in gaps in the library and documenting existing code. |
| 56 |
|
| 57 |
## Contact |
| 58 |
<a name="contact"> |
| 59 |
|
| 60 |
* Questions about downloading, compiling, installing, or writing |
| 61 |
software that uses cwidget should be directed to |
| 62 |
<[email protected]>. To subscribe to this |
| 63 |
list, visit its [web page][cwidget-users]. |
| 64 |
* Bug reports, feature requests, patches, and general discussion |
| 65 |
about the [[development|documentation/contributing]] of cwidget |
| 66 |
should be directed to <[email protected]>. |
| 67 |
To subscribe to this list, visit its [web page][cwidget-devel]. |
| 68 |
|
| 69 |
[cwidget-users]: <http://lists.alioth.debian.org/mailman/listinfo/cwidget-users> |
| 70 |
[cwidget-devel]: <http://lists.alioth.debian.org/mailman/listinfo/cwidget-devel> |
| 71 |
|
| 72 |
---- |
| 73 |
|
| 74 |
This Web site is generated by [ikiwiki](http://ikiwiki.info). |