Authors: | Doug Coleman |
Platforms: | unix |
Class | Superclass | Slots |
curses-failed | tuple | |
curses-window | disposable | ptr parent-window lines columns y x cbreak echo raw scrollok leaveok idcok idlok immedok keypad nodelay encoding |
mouse-event | tuple | id y x button type alt shift ctrl |
unsupported-curses-terminal | tuple |
+clicked+ |
+double+ |
+pressed+ |
+released+ |
+triple+ |
current-window |
Word | Stack effect |
<curses-window> | ( -- window ) |
ALL_MOUSE_EVENTS | ( -- mask ) |
A_ALTCHARSET | ( -- value ) |
A_ATTRIBUTES | ( -- value ) |
A_BLINK | ( -- value ) |
A_BOLD | ( -- value ) |
A_CHARTEXT | ( -- value ) |
A_COLOR | ( -- value ) |
A_DIM | ( -- value ) |
A_HORIZONTAL | ( -- value ) |
A_INVIS | ( -- value ) |
A_ITALIC | ( -- value ) |
A_LEFT | ( -- value ) |
A_LOW | ( -- value ) |
A_NORMAL | ( -- value ) |
A_PROTECT | ( -- value ) |
A_REVERSE | ( -- value ) |
A_RIGHT | ( -- value ) |
A_STANDOUT | ( -- value ) |
A_TOP | ( -- value ) |
A_UNDERLINE | ( -- value ) |
A_VERTICAL | ( -- value ) |
BUTTON1_CLICKED | ( -- mask ) |
BUTTON1_DOUBLE_CLICKED | ( -- mask ) |
BUTTON1_PRESSED | ( -- mask ) |
BUTTON1_RELEASED | ( -- mask ) |
BUTTON1_TRIPLE_CLICKED | ( -- mask ) |
BUTTON2_CLICKED | ( -- mask ) |
BUTTON2_DOUBLE_CLICKED | ( -- mask ) |
BUTTON2_PRESSED | ( -- mask ) |
BUTTON2_RELEASED | ( -- mask ) |
BUTTON2_TRIPLE_CLICKED | ( -- mask ) |
BUTTON3_CLICKED | ( -- mask ) |
BUTTON3_DOUBLE_CLICKED | ( -- mask ) |
BUTTON3_PRESSED | ( -- mask ) |
BUTTON3_RELEASED | ( -- mask ) |
BUTTON3_TRIPLE_CLICKED | ( -- mask ) |
BUTTON4_CLICKED | ( -- mask ) |
BUTTON4_DOUBLE_CLICKED | ( -- mask ) |
BUTTON4_PRESSED | ( -- mask ) |
BUTTON4_RELEASED | ( -- mask ) |
BUTTON4_TRIPLE_CLICKED | ( -- mask ) |
BUTTON5_CLICKED | ( -- mask ) |
BUTTON5_DOUBLE_CLICKED | ( -- mask ) |
BUTTON5_PRESSED | ( -- mask ) |
BUTTON5_RELEASED | ( -- mask ) |
BUTTON5_TRIPLE_CLICKED | ( -- mask ) |
BUTTON_ALT | ( -- mask ) |
BUTTON_CTRL | ( -- mask ) |
BUTTON_SHIFT | ( -- mask ) |
COLOR_BLACK | ( -- value ) |
COLOR_BLUE | ( -- value ) |
COLOR_CYAN | ( -- value ) |
COLOR_GREEN | ( -- value ) |
COLOR_MAGENTA | ( -- value ) |
COLOR_RED | ( -- value ) |
COLOR_WHITE | ( -- value ) |
COLOR_YELLOW | ( -- value ) |
KEY_A1 | ( -- value ) |
KEY_A3 | ( -- value ) |
KEY_B2 | ( -- value ) |
KEY_BACKSPACE | ( -- value ) |
KEY_BEG | ( -- value ) |
KEY_BREAK | ( -- value ) |
KEY_BTAB | ( -- value ) |
KEY_C1 | ( -- value ) |
KEY_C3 | ( -- value ) |
KEY_CANCEL | ( -- value ) |
KEY_CATAB | ( -- value ) |
KEY_CLEAR | ( -- value ) |
KEY_CLOSE | ( -- value ) |
KEY_CODE_YES | ( -- value ) |
KEY_COMMAND | ( -- value ) |
KEY_COPY | ( -- value ) |
KEY_CREATE | ( -- value ) |
KEY_CTAB | ( -- value ) |
KEY_DC | ( -- value ) |
KEY_DL | ( -- value ) |
KEY_DOWN | ( -- value ) |
KEY_EIC | ( -- value ) |
KEY_END | ( -- value ) |
KEY_ENTER | ( -- value ) |
KEY_EOL | ( -- value ) |
KEY_EOS | ( -- value ) |
KEY_EVENT | ( -- value ) |
KEY_EXIT | ( -- value ) |
KEY_F | ( n -- code ) |
KEY_F0 | ( -- value ) |
KEY_FIND | ( -- value ) |
KEY_HELP | ( -- value ) |
KEY_HOME | ( -- value ) |
KEY_IC | ( -- value ) |
KEY_IL | ( -- value ) |
KEY_LEFT | ( -- value ) |
KEY_LL | ( -- value ) |
KEY_MARK | ( -- value ) |
KEY_MAX | ( -- value ) |
KEY_MESSAGE | ( -- value ) |
KEY_MIN | ( -- value ) |
KEY_MOUSE | ( -- value ) |
KEY_MOVE | ( -- value ) |
KEY_NEXT | ( -- value ) |
KEY_NPAGE | ( -- value ) |
KEY_OPEN | ( -- value ) |
KEY_OPTIONS | ( -- value ) |
KEY_PPAGE | ( -- value ) |
KEY_PREVIOUS | ( -- value ) |
KEY_PRINT | ( -- value ) |
KEY_REDO | ( -- value ) |
KEY_REFERENCE | ( -- value ) |
KEY_REFRESH | ( -- value ) |
KEY_REPLACE | ( -- value ) |
KEY_RESET | ( -- value ) |
KEY_RESIZE | ( -- value ) |
KEY_RESTART | ( -- value ) |
KEY_RESUME | ( -- value ) |
KEY_RIGHT | ( -- value ) |
KEY_SAVE | ( -- value ) |
KEY_SBEG | ( -- value ) |
KEY_SCANCEL | ( -- value ) |
KEY_SCOMMAND | ( -- value ) |
KEY_SCOPY | ( -- value ) |
KEY_SCREATE | ( -- value ) |
KEY_SDC | ( -- value ) |
KEY_SDL | ( -- value ) |
KEY_SELECT | ( -- value ) |
KEY_SEND | ( -- value ) |
KEY_SEOL | ( -- value ) |
KEY_SEXIT | ( -- value ) |
KEY_SF | ( -- value ) |
KEY_SFIND | ( -- value ) |
KEY_SHELP | ( -- value ) |
KEY_SHOME | ( -- value ) |
KEY_SIC | ( -- value ) |
KEY_SLEFT | ( -- value ) |
KEY_SMESSAGE | ( -- value ) |
KEY_SMOVE | ( -- value ) |
KEY_SNEXT | ( -- value ) |
KEY_SOPTIONS | ( -- value ) |
KEY_SPREVIOUS | ( -- value ) |
KEY_SPRINT | ( -- value ) |
KEY_SR | ( -- value ) |
KEY_SREDO | ( -- value ) |
KEY_SREPLACE | ( -- value ) |
KEY_SRESET | ( -- value ) |
KEY_SRIGHT | ( -- value ) |
KEY_SRSUME | ( -- value ) |
KEY_SSAVE | ( -- value ) |
KEY_SSUSPEND | ( -- value ) |
KEY_STAB | ( -- value ) |
KEY_SUNDO | ( -- value ) |
KEY_SUSPEND | ( -- value ) |
KEY_UNDO | ( -- value ) |
KEY_UP | ( -- value ) |
REPORT_MOUSE_POSITION | ( -- mask ) |
addch | ( ch -- ) |
all-attroff | ( -- ) |
attroff | ( attribute -- ) |
attron | ( attribute -- ) |
cbox | ( -- ) |
ccolor | ( foreground background -- ) |
cmove | ( y x -- ) |
cnl | ( -- ) |
cprint | ( string -- ) |
cprintf | ( string -- ) |
cread | ( n -- string ) |
crefresh | ( -- ) |
curses-failed | ( -- * ) |
curses-ok? | ( -- ? ) |
cwrite | ( string -- ) |
cwritef | ( string -- ) |
delete-line | ( y -- ) |
erase | ( -- ) |
get-max-x | ( -- x ) |
get-max-y | ( -- y ) |
get-max-yx | ( -- y x ) |
get-x | ( -- x ) |
get-y | ( -- y ) |
get-yx | ( -- y x ) |
getch | ( -- key ) |
getch-err | ( -- key ) |
getmouse | ( -- mouse-event/f ) |
insert-blank-line | ( y -- ) |
insert-line | ( string y -- ) |
mousemask | ( mask -- newmask oldmask ) |
set-escdelay | ( obj -- ) |
setup-window | ( window -- window ) |
unsupported-curses-terminal | ( -- * ) |
waddch | ( ch window -- ) |
wall-attroff | ( window -- ) |
wattroff | ( attribute window -- ) |
wattron | ( attribute window -- ) |
wcbox | ( window -- ) |
wccolor | ( foreground background window -- ) |
wcmove | ( y x window -- ) |
wcnl | ( window -- ) |
wcprint | ( string window -- ) |
wcprintf | ( string window -- ) |
wcread | ( n window -- string ) |
wcrefresh | ( window -- ) |
wcwrite | ( string window -- ) |
wcwritef | ( string window -- ) |
wdelete-line | ( y window -- ) |
werase | ( window -- ) |
wget-max-x | ( window -- x ) |
wget-max-y | ( window -- y ) |
wget-max-yx | ( window -- y x ) |
wget-x | ( window -- x ) |
wget-y | ( window -- y ) |
wget-yx | ( window -- y x ) |
wgetch | ( window -- key ) |
wgetch-err | ( window -- key ) |
winsert-blank-line | ( y window -- ) |
winsert-line | ( string y window -- ) |
with-curses | ( window quot -- ) |
with-window | ( window quot -- ) |
Word | Stack effect |
curses-failed? | ( object -- ? ) |
curses-window? | ( object -- ? ) |
mouse-event? | ( object -- ? ) |
unsupported-curses-terminal? | ( object -- ? ) |
Vocabulary | Summary |
curses.ffi | |
curses.listener | A curses-based Factor listener. |