bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

A couple of newbie CDK questions


From: Kevin Monceaux
Subject: A couple of newbie CDK questions
Date: Tue, 17 Jun 2008 22:37:32 -0500 (CDT)
User-agent: Alpine 1.10 (DEB 962 2008-03-14)

Ncurses Fans,

Hopefully it's okay to ask these questions here. Feel free to direct me elsewhere. From the list name I would think this list is for bug reports, but over on the Help-Ncurses list buried amongst all the SPAM I found a message or two saying it was okay to use this list for programming questions in addition to bug reports.

Anyway, many years ago I tinkered with CDK a bit. Back then I didn't come across examples of the traverse functions and thought one had to handle widget input one at a time. There's no mention of any of the traverse functions in the main CDK man page. Recently my interest in ncurses, and CDK, has been rekindled and I've been taking another look at CDK. I think I came across a mention of the traverse functions while digging through this list's archives. I've looked through the examples/demos that came with the CDK source and only found one example program that used the traverseCDKScreen function. After going through the man pages and example program there's something I'm unsure about:

The example program shows how to remap the escape key to F1. The man page mentions the EXIT-SAVE, EXIT-CANCEL, and RESET-DATA keys, but I can't find any info in the man pages saying what the default keybindings for those keys are. I suspect EXIT-CANCEL is the escape key. What are the others? Could someone point me towards more remapping examples. For example, I'd probably want to map EXIT-SAVE to F4 and EXIT-CANCEL to F12.

Also, is there a way to set a CDKMentry field to wrap words?


Kevin
http://www.RawFedDogs.net
http://www.WacoAgilityGroup.org
Bruceville, TX

Si hoc legere scis nimium eruditionis habes.
Longum iter est per praecepta, breve et efficax per exempla!!!





reply via email to

[Prev in Thread] Current Thread [Next in Thread]