Re: [gnome-db] gnome_db_combo and GdaDataModel



Hi,

I am confused, combo listen correctly to the model.

In fact what I tried to do was :

- create a GdaSelect (sql query) on a database :
  this give a GdaDataModel : select = gda_select_new().
- Attach it to a gnome_db_combo.
- Do another sql query : select = gda_select_new().

Wrongly hoping  to work on the same data model, but in fact working on
the same pointer pointing to a different data model after each
gda_select_new(). Which of course doesn't work.

It seems that I spend too much time learning how to use the libraries
and how to build an application and ... too few on basic C principles.

Philippe

Le mer 07/01/2004 à 11:34, Rodrigo Moya a écrit :
> On Tue, 2004-01-06 at 15:28, Philippe CHARLIER wrote:
> > Hi,
> > 
> > I tried to insert a gnome_db_combo (associated to a GdaDataModel).
> > It works, but when I modify the model, the changes are not updated in
> > the combo.
> > 
> > I just installed the latest CVS version (5 min ago).
> > If i do understand correctly the documentation, normally changes in the
> > model should be reflected in the combo.
> > 
> > Is it already operational or did I missed something (I mean, is there
> > something special I should take care of)
> > 
> it seems to me the combo widget does not listen to changes in the model,
> so we should add that. Could you please report a bug to bugzilla?
> 
> cheers
> 
> _______________________________________________
> gnome-db-list mailing list
> gnome-db-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-db-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]