H41557 s 00000/00000/00053 d D 1.2 02/06/03 17:56:47 patch 3 2 c Import patch patch.37 cC cF25393 cK07500 cPsrc/doc/core.html e s 00053/00000/00000 d D 1.1 02/06/03 17:56:41 patch 2 1 c Import patch patch.01 cC cF25308 cK01539 cO-rw-rw-r-- e s 00000/00000/00000 d D 1.0 02/06/03 17:56:41 patch 1 0 c BitKeeper file /home/orc/Src/ndialog/nd/doc/core.html cBorc@pacific.pell.portland.or.us|ChangeSet|20020604075610|31977|6e29fa5631e78430 cF25307 cHpacific.pell.portland.or.us cK47662 cPnd/doc/core.html cR2d857b424e9cfc68 cV4 cX0x821 cZ-07:00 e u U f e 0 f x 0x821 t T I 2 Dialog core functions

Core functions

These functions are exactly like the corresponding libdialog functions, for the unsurprising reason that they need to do much the same as they would in libdialog.
init_dialog()

initialize the dialog library; start curses, allocate colors, clear the screen, allocate the helpline, and so on.

After init_dialog(), the screen will be cleared, set to the window color, and (invisibly) broken up into the form window and a one-line helpline window at the bottom of the screen.

end_dialog()
Close up shop and shut curses down.
use_helpline(message)
Set the helpline to the given message.
get_helpline()
Return a pointer to the existing helpline.
restore_helpline(message)
I'm not sure what this does; it's aliased to use_helpline() right now.
strwidth(message)
Return how many columns wide a message is.
strdepth(message)
strheight(message)
Return how many rows deep a messages is.

Back to main ndialog page


Written March 1998 by David Parsons
E 2 I 1 E 1