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)
{
  printf("clutter_button_class_init\n");
  GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
  ClutterActorClass *actor_class = CLUTTER_ACTOR_CLASS (klass);

  actor_class->button_press_event = clutter_button_event;
  actor_class->button_release_event = clutter_button_event;


Just so simple way looks that it is not working.
I have not yet had time to follow all event porosessing path down.

In the trunk way,  what class is responsible to pick and redirect
event to right class instance. What is prefered way to implement
event handlers in class ?


Kate


-- 
To unsubscribe send a mail to [EMAIL PROTECTED]

Reply via email to