[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Tue, 17 Mar 2009 03:56:38 -0700 (PDT)
I am currently learning CDK from the examples (as suggested in this forums).
I have a "main window" wich is mainly a selection widget.
Now I want that when the "n" key is pressed, a dialog for a new item for the
selection pops up.
So I have to to rebind the "n" key for the selection window. I see to
1. Bind the "n" key in a way, that the activateCDKSelection exits and tells
me in its return value, that the n key was the reaseon.
Problem: How do I bind a key that exits the activate function and how do I
set the return value?
2. Bind the "n" key to open the dialog and insert the new item.
Problem: How can I insert an item into a selection without recreating it
(and while activateCDKSelection is runnig).
What would you do?
View this message in context:
Sent from the Gnu - Ncurses mailing list archive at Nabble.com.
- CDK keybinding,