[maemo-developers] hildron_entry and activate signal
From: Fred Lefévère-Laoide Fred at Lefevere-Laoide.netDate: Tue Sep 29 09:56:13 EEST 2009
- Previous message: hildron_entry and activate signal
- Next message: hildron_entry and activate signal
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
No I can't because : - I cannot figure out how to fire the signal in the SDK. - I works fine on Diablo - I do not have a fremantle device Fred Le 29/09/2009 08:54, Qiang Chai a écrit : > Can you figure out which line of code crashes? > > Maybe you can check the pointer value of main->filter_tb and the > callback function's widget parameter to see if they are the sam. > > 2009/9/29 Fred Lefévère-Laoide <Fred at lefevere-laoide.net > <mailto:Fred at lefevere-laoide.net>> > > Hi, > > I can't manage to fiure the activate signal on a hildon_entry in the SDK > And my code crashes on the real device (that I do not have :( ) > > Any hint or idea ? > > the same code works fine in Diablo with a gtk_text_entry instead of a > hildon_text_entry ... > > here is the relevant code > main->filter_tb = hildon_entry_new(HILDON_SIZE_AUTO); > ... > g_signal_connect(G_OBJECT(main->filter_tb), "activate", > G_CALLBACK(callback_filter), main); > ... > void callback_filter(GtkWidget *widget, MainView *mainview ) { > gchar *ftxt = NULL; > GList *onrec=NULL; > > ftxt = hildon_entry_get_text(HILDON_ENTRY(widget)); > > ... > > } > > Thanks for your help > > Fred > _______________________________________________ > maemo-developers mailing list > maemo-developers at maemo.org <mailto:maemo-developers at maemo.org> > https://lists.maemo.org/mailman/listinfo/maemo-developers > > > > > -- > Best Regards > Chai Qiang
- Previous message: hildron_entry and activate signal
- Next message: hildron_entry and activate signal
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]