[maemo-developers] [maemo-developers] Too much sensibilities in my application
From: Donars Guillaume gdonars at gmail.comDate: Wed Jun 7 12:08:31 EEST 2006
- Previous message: [maemo-developers] Too much sensibilities in my application
- Next message: [maemo-developers] Too much sensibilities in my application
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, me again... On 6/7/06, Markku Vire <markku.vire at movial.fi> wrote: > > Hi, > > "notify::value" is just a signal like "changed". The difference is just > that it sends you an additional parameter, so you need to change your > callback signature a bit: > > g_signal_connect(spin_button, "notify::value", > G_CALLBACK(on_value_changed), NULL); > > ... > > void on_value_changed(GtkWidget *widget, GParamSpec *param, gpointer data) > { > ... > } > So it is still does not work, but I think the probleme is with the detailed_signal declaration: "notify::value", my function is not called. I tried another signal name, "expose_event", obviously it doesn't react like I want, but my function has been called. My code: bfignr = hildon_number_editor_new(0,10); g_signal_connect (bfignr, "expose_event", G_CALLBACK(on_bfignr_changed), NULL); void on_bfignr_changed (GtkWidget *widget, GParamSpec *param, gpointer data) { ... } Thank you for your interest. -- Donars Guillaume. My Web Blog: http://guymage.net -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20060607/58296ac1/attachment.htm
- Previous message: [maemo-developers] Too much sensibilities in my application
- Next message: [maemo-developers] Too much sensibilities in my application
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]