Accelerators and GtkText



Hi ,

I have been trying to use the accelerators with a text.
I tried to add an accelerator to the key "A" (GDK_A)  and it seems that
when the text has the focus,  the signal connected to the accelerator is
not raised. The system only displays the letter "A" in the text.
What I would like is :
when the user presses 'A',  the signal connected to the accelrator is
raised (and in consequence any calllback  I would connect to this
signal  would be callled ) and to be able to avoid the system to display
the 'A' in the GtkText.
Is that possible?

Your help will be really appreciated. Thanks in advance.


Alex.


PS:  I know that I asked this question before but as I had no answer
yet, I take this opportunity to ask it again ;-)
What is the accel_group? Thank you again.







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