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