bug-ncurses
[Top][All Lists]
Advanced

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

exit activateCDKSelection from a callback


From: TheLonelyStar
Subject: exit activateCDKSelection from a callback
Date: Sun, 29 Mar 2009 09:51:33 -0700 (PDT)

Hi,

In my application, I have a CDK Selection, which I gave focus to
activateCDKSelection.
When the user presses q I want to quit, so I do:

bindCDKObject(vSELECTION, name_sel, 'q', Quit, 0);

The Quit function sets a variable "Quit" to true, which is checked whenever
activateCDKSelection exits.

The Problem: This works, but I need to press TAB after I pressed q.
Can I somehow make the activateCDKSelection function make exit from within
the QUIT callback?

Thanks!
Nathan
-- 
View this message in context: 
http://www.nabble.com/exit-activateCDKSelection-from-a-callback-tp22769731p22769731.html
Sent from the Gnu - Ncurses mailing list archive at Nabble.com.





reply via email to

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