Re: Connecting GTK application to a database

2010-02-25 Thread Murray Cumming
On Wed, 2010-02-24 at 10:50 -0600, Daniel Espinosa wrote: > Using GDA (www.gnome-db.org) based on GObject/GLib and its GTK+ > objects, you can develop applications using a C API to access any > supported database backend (postgresql, mysql and sqlite, are some of > them). Any application can run si

Re: Connecting GTK application to a database

2010-02-24 Thread Daniel Espinosa
Using GDA (www.gnome-db.org) based on GObject/GLib and its GTK+ objects, you can develop applications using a C API to access any supported database backend (postgresql, mysql and sqlite, are some of them). Any application can run simple queries. Exist an application (on development) at http://lib

Re: Connecting GTK application to a database

2010-02-24 Thread Mats Rauhala
Database engines have their own API for connecting. Check the following links. I recommend you start looking at the SQLite library, as in my experience it has the most simplistic tutorial, which can help you get up to speed with sql apis and concepts. Naturally there are differences with different

Re: Connecting GTK application to a database

2010-02-23 Thread Basile Starynkevitch
sruti wrote: Hi, Can somebody help me with connecting a gtk interface with a backend database, say, Posgres? How does one embed SQL queries in the C code.? I would believe that you handle this issue as in any C program. GTK is not relevant (except that you probably don't want to issue SQL quer

Re: Connecting GTK application to a database

2010-02-23 Thread Vivien Malerba
On 23 February 2010 17:16, Tor Lillqvist wrote: >> Can somebody help me with connecting a gtk interface with a backend >> database, say, Posgres? How does one embed SQL queries in the C code.? > The Libgda library provides an uniform access to databases using a GObject oriented API. See http://ww

Re: Connecting GTK application to a database

2010-02-23 Thread Tor Lillqvist
> Can somebody help me with connecting a gtk interface with a backend > database, say, Posgres? How does one embed SQL queries in the C code.? GTK+ has nothing to do with that. --tml ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http:

Connecting GTK application to a database

2010-02-23 Thread sruti
Hi, Can somebody help me with connecting a gtk interface with a backend database, say, Posgres? How does one embed SQL queries in the C code.? Thanks in advance Sruti ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/