Re: [clutter] Clutter-trunk widget event handlers

2007-10-30 Thread Neil Jagdish Patel
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

Re: [clutter] Clutter-trunk widget event handlers

2007-10-30 Thread Emmanuele Bassi
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 s

[clutter] Clutter-trunk widget event handlers

2007-10-30 Thread Kate Alhola
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) {

[clutter] Python example can run but C example failed

2007-10-30 Thread Zhu, Peter J
Hi, I ran into some trouble. Python example for python-clutter can run successfully but C example of clutter exit abnormally at launch with following info: X Error of failed request: GLXUnsupportedPrivateRequest Major opcode of failed request: 144 (GLX) Minor opcode of failed request: 16