[maemo-developers] [maemo-developers] Too much sensibilities in my application
From: Donars Guillaume gdonars at gmail.comDate: Wed Jun 7 10:08:23 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, On 6/6/06, Gustavo Sverzut Barbieri <Gustavo.Barbieri at indt.org.br> wrote: > > On Tuesday 06 June 2006 02:58, ext Donars Guillaume wrote: > > Hi, > > I'm using a gtkSpinButton widget. > > In maemo sdk everything work well, but in the Nokia when I want to > increase > > or decrease with buttons, the step is 2 instead of 1, my callback is > called > > 2 times ! > > To just have 1 callback, you need to click very quickly, but it is > > unconfortable for the final user. > > > > Is there any programming solution to reduce pen sensibility or other > thing > > else to resolve this problem ? > > This is a know problem, I don't know why, Nokia choose to fix this with > another widget > "NumberEditor" ( > http://maemo.org/platform/docs/api/hildon-docs/html/hildon-libs-HildonNumberEditor.html > ) > > So, use it instead of SpinButton. Also, note that it doesn't provide a > "value-changed", so you will have to connect to "notify::value" to get > notified when value changes. > > First, thank you for your answer, now it graphicaly works. But as you precise, it's a different method to get notified when value changes and I do not succeed to do it. With gtkSpinButton, my connect was like: gtk_signal_connect (GTK_OBJECT (my_gtkSpinButton), "changed", GTK_SIGNAL_FUNC (on_gtkSpinButton_changed), NULL); But I do not know what to do with your "notify::value", sorry I begin in gtk environment. Thanks for advance. -- 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/ea26ecdf/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 ]