How to handle key_press_event in PAscal (FPC)
- From: Zeljko <zeljko holobit net>
- To: gtk-list gnome org
- Subject: How to handle key_press_event in PAscal (FPC)
- Date: Sun, 26 Aug 2001 13:08:08 +0200
Please HELP about this .
Calling for this function is from
gtk_signal_connect(entry,'key_press_event'......etc
Function callback_of_some_entry(widget:PGtkWidget; event:PGDKEvent;
data:pgpointer): gint; cdecl;
Begin
case <WHAT??> of
GDK_Return : Do_THIS;
GDK_Tab : Do_That;
GDK_F1 : do_something_else;
End;
callback_of_some_entry:=0;
End;
Could be C example also
Tnx
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]