On Fri, 2010-08-20 at 15:59 +0930, James Moschou wrote:
> this.key_press_event.connect (this.key_press); // This callback works
> fine until I press one of the arrow keys 

In your key-press-event callback, make sure you return true if you are
handling the arrow keys.  Otherwise, they will percolate back up to the
gtk+ widgets.  For example:

static gboolean
key_press_cb (ClutterActor    *actor,
              ClutterKeyEvent *key,
              gpointer         user_data)
{
        switch (key->keyval) {
        case CLUTTER_Down:
                move_down();
                return TRUE;
        }
        return FALSE;
}

-- Christian

_______________________________________________
clutter-app-devel-list mailing list
[email protected]
http://lists.clutter-project.org/listinfo/clutter-app-devel-list

Reply via email to