[Gtk-sharp-list] Textview keypress event problem
Atis
drake1 at freemail.hu
Thu Apr 9 05:16:14 EDT 2009
Hello all,
I would like to use the keypress event (C#) to decide whether the content of a textview widget has changed or not at the exit of an application. If it changed, I ask whether I should save the modification or not. My problem is that the keypress event captures only the Lshift, Rshift, Caps lock keys, but not the regular "letter" and "number" keys.
(this is the function, autogenerated by monodevelop )
protected virtual void OnTxtwMegjegyzesKeyPressEvent (object o, Gtk.KeyPressEventArgs args)
{
valtozas="1";
}
It should be fired up when any key pressed with the focus on the textview widget.
Any help please? Thanks, Ati
________________________________________________________
AEG – ELECTROLUX háztartási gépek NAPI AKCIÓS ÁRON ITT!
MOSÓGÉPEK – mosogatógépek – hűtők – sütő + főzőlap szettek ORSZÁGOS házhozszállítással!
VIDEÓ termékbemutatóinkkal OTTHONODBA viszi a bolti vásárlás élményét az AEGshop.hu!
http://ad.adverticum.net/b/cl,1,6022,322332,397458/click.prm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20090409/1fd54274/attachment.html
More information about the Gtk-sharp-list
mailing list