Re: Help with gtk+ C programming
- From: Roger Leigh <roger whinlatter uklinux net>
- To: webmaster anuncien com
- Cc: gtk-list gnome org
- Subject: Re: Help with gtk+ C programming
- Date: Mon, 29 Dec 2003 16:48:35 +0000
Andres Mauricio Jaramillo Ramirez <webmaster anuncien com> writes:
> Hello, I'm from Colombia. I'm a new GTK programmer and i have not many
> experience with this. I wish to know how i can connect to mysql server
> from GTK+ or c programming. My english is too bad, but sincerily want
> someone understand the message and can help me.
You need to use a database client library. You can use the mysql C
library (see the documentation), or use a more generic library, such
as libgda or unixODBC. (Personally, I use libpqxx for PostgreSQL).
This doesn't involve GTK+ at all. If you want integration of the
database with your UI, have a look at gnomedb. I prefer to keep this
logic in the model, rather than the interface, though.
Printing on GNU/Linux? http://gimp-print.sourceforge.net/
GPG Public Key: 0x25BFB848. Please sign and encrypt your mail.
] [Thread Prev