Hi everyone! I'm writing an activity that uses left, right, up and down keys and four buttons which I want to associate to a key_press_event. My problem is that when you press the up arrow a few times, you get focus on the activity toolbar, and then if you press left or right, you get focus through the activity toolbar buttons.
I've tried grab_focus() when you press a key, but I'm still getting focus on the activity toolbar for an instant. I've seen that some activities never get focus on the activity toolbar when you press the arrow keys, but I couldn't find where to set that behaviour. Also, related to this, I want to have a button associated to a key_press_event when "Enter" is pressed, but when you press "Enter", it simulates a click on the button which has focus, and that causes a funny behaviour when you already have focus on the corresponding button. Summarizing... I need not to focus ever on any button, is that possible? I'm using gtk.Button only... Thanks! -- Ing. Emiliano Pastorino LATU - Plan Ceibal Av. Italia 6201 CP: 11500, Montevideo, Uruguay Tel: (598 2) 601 5773 int.: 210
_______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel