On 23 August 2010 18:22, James Moschou <[email protected]> wrote:
>> 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.
>
> Nope, it looks like that callback isn't even being called in the first place.
>
> The heirarchy goes:
>
>  Gtk.Window
> A Gtk.Table
> B GtkClutter.Embed
>    Clutter.Stage
> C   TextView
>
> With some printfs it looks like the event handling order is B --> A
> --> C, when really I would expect it to be C --> B --> A. The text
> view never gets a chance to handle the event itself.


I got it working by connecting a callback to the key_press_event
signal on the gtk widget containing the GtkClutterEmbed widget (A),
and returning true.
_______________________________________________
clutter-app-devel-list mailing list
[email protected]
http://lists.clutter-project.org/listinfo/clutter-app-devel-list

Reply via email to