Keeping keyboard focus (ie GtkCLists)
- From: "Tara M" <learfox furry ao net>
- To: "LIST: GTKAppDevel" <gtk-app-devel-list gnome org>
- Subject: Keeping keyboard focus (ie GtkCLists)
- Date: 07 Aug 2001 14:33:49 PDT
I have a GtkWidget (an event box) that I needs to keep
the keyboard focus after it recieves a GDK_EVENT_KEY_PRESS
or GDK_EVENT_KEY_RELEASE where the keyval is one of the
up, down, left, right arrows.
Normally this event is recieved but then the focus is
moved to the next or previous widget.
I tried putting a gtk_widget_grab_focus() right after
in the GdkEventKey handler but it dosen't work, the focus
still gets moved.
Any suggestions?
--
--
Sincerely, ,"-_ \|/
-Capt. Taura M. , O=__ --X--
.__ ,_JNMNNEO=_ /|\
OMNOUMmnne. {OMMNNNEEEEOO=_
UOOOBIOOOEOMMn. 'LONMMMMNNEEEOOO=.__..,,..
UUOOEUUOOOOOOOObe '"=OMMMMWNEEEOOOOO,"=OEEEOO=,._
OOUUUIEEIOONNOIUbe. "7OMMMMNNNNNWWEEEEOOOOOO" "'.
EEBNNMMMNWNWWEEIMMNe. __ 7EMMMNNNNNWWWEEEEEEEOO. " .
NNMMMMWWWMMMWEINMMMNn "=BBEEEEMMMMMMMMNNNWWWEEOOOOO=._ .
http://furry.ao.net/~learfox/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]