Preventing propagation of events
- From: Lars Clausen <lrclause cs uiuc edu>
- To: gtk-list gnome org
- Subject: Preventing propagation of events
- Date: Thu, 28 Aug 2003 14:33:13 -0500
Hi!
I'm trying to make the Dia dialogs do Cancel on Esc and OK on Enter.
However, I'm having some problems when those keypresses are being used for
other things in the dialog. For instance, Esc can be used to pop down
menus, and Enter can be used in text widgets. I tried having the text
widget return TRUE on Enter, to avoid the event going out to the dialog,
but I guess the dialog gets it first, as it still closes. Am I completely
off into the woods here?
Thanks in advance,
-Lars
--
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| HÃ¥rdgrim of Numenor
"I do not agree with a word that you say, but I |----------------------------
will defend to the death your right to say it." | Where are we going, and
--Evelyn Beatrice Hall paraphrasing Voltaire | what's with the handbasket?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]