Preventing propagation of events

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

 



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?
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux