I am also having problems with actor signals. I get the button-press and
button-release signals, but not, for instance, the motion-event,
enter-event and leave-event signals.
I attached my simple test code. I don't see an obvious error.
--
[EMAIL PROTECTED]
www.murrayc.com
www.openismus.com
/*
On Thu, 2007-11-15 at 14:23 +0100, Murray Cumming wrote:
I am also having problems with actor signals. I get the button-press and
button-release signals, but not, for instance, the motion-event,
enter-event and leave-event signals.
I attached my simple test code. I don't see an obvious
You need to call clutter_enable_motion_events (); - its a performance
opt that maybe needs to work the other way around (be explicity disabled
rather than enabled).
Note the new event stuff in trunk is heavily in flux, thats why its not
documented yet (it still could change heavily).
Also could
On Thu, 2007-11-15 at 13:34 +, Matthew Allum wrote:
You need to call clutter_enable_motion_events (); - its a performance
opt that maybe needs to work the other way around (be explicity disabled
rather than enabled).
Thanks. I guess that this (and clutter_actor_set_reactive()) should be
ext Emmanuele Bassi wrote:
On Tue, 2007-10-30 at 16:31 +0200, Kate Alhola wrote:
actor_class-button_press_event = clutter_button_event;
actor_class-button_release_event = clutter_button_event;
this is all that you need. I personally would also handle the enter and
leave events
Hi,
I made some additions, and now the same button widget has timeline and
highlight effect that is made visible on button click and fades out on
button release.
Best Wishes,
Karoliina
http://www.karoliinasalminen.com/blog
On 10/31/07, Kate Alhola [EMAIL PROTECTED] wrote:
ext Emmanuele
I am implementing button and scroll widgets with clutter trunk.
Is there recommended methods to set up signal handlers ( callbacks ).
I inherit button widget from actor and i set it reactive and
then overdefine actor button event handlers.
clutter_button_class_init (ClutterButtonClass *klass)
On Tue, 2007-10-30 at 16:31 +0200, Kate Alhola wrote:
actor_class-button_press_event = clutter_button_event;
actor_class-button_release_event = clutter_button_event;
this is all that you need. I personally would also handle the enter and
leave events signal class handlers.
Just so
Hi,
On Tue, 2007-10-30 at 14:58 +, Emmanuele Bassi wrote:
On Tue, 2007-10-30 at 16:31 +0200, Kate Alhola wrote:
actor_class-button_press_event = clutter_button_event;
actor_class-button_release_event = clutter_button_event;
this is all that you need. I personally would also