mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-10-31 15:20:13 +00:00
ncreader man page #403
This commit is contained in:
parent
3f86b649aa
commit
98b8e167cf
53
doc/man/man3/notcurses_reader.3.md
Normal file
53
doc/man/man3/notcurses_reader.3.md
Normal file
@ -0,0 +1,53 @@
|
||||
% notcurses_reader(3)
|
||||
% nick black <nickblack@linux.com>
|
||||
% v1.3.4
|
||||
|
||||
# NAME
|
||||
|
||||
notcurses_reader - high level widget for collecting input
|
||||
|
||||
# SYNOPSIS
|
||||
|
||||
**#include <notcurses/notcurses.h>**
|
||||
|
||||
```c
|
||||
struct ncinput;
|
||||
struct ncplane;
|
||||
struct ncreader;
|
||||
struct notcurses;
|
||||
|
||||
typedef struct ncreader_options {
|
||||
uint64_t tchannels; // channels used for input
|
||||
uint64_t echannels; // channels used for empty space
|
||||
uint32_t tattrword; // attributes used for input
|
||||
uint32_t eattrword; // attributes used for empty space
|
||||
char* egc; // egc used for empty space
|
||||
int physrows;
|
||||
int physcols;
|
||||
bool scroll; // allow more than the physical area's worth of input
|
||||
} ncreader_options;
|
||||
```
|
||||
|
||||
**struct ncreader* ncreader_create(struct notcurses* nc, int y, int x, const ncreader_options* opts);**
|
||||
|
||||
**int ncreader_clear(struct ncreader* n);**
|
||||
|
||||
**struct ncplane* ncreader_plane(struct ncreader* n);**
|
||||
|
||||
**bool ncreader_offer_input(struct ncreader* n, const struct ncinput* ni);**
|
||||
|
||||
**char* ncreader_contents(const struct ncreader* n);**
|
||||
|
||||
**void ncreader_destroy(struct ncreader* n, char** contents);**
|
||||
|
||||
# DESCRIPTION
|
||||
|
||||
# NOTES
|
||||
|
||||
# RETURN VALUES
|
||||
|
||||
# SEE ALSO
|
||||
|
||||
**notcurses(3)**,
|
||||
**notcurses_input(3)**,
|
||||
**notcurses_ncplane(3)**
|
Loading…
Reference in New Issue
Block a user