Re: Help with gtk+ C programming

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

 



Andres Mauricio Jaramillo Ramirez <webmaster@xxxxxxxxxxxx> 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.


Regards,
Roger

-- 
Roger Leigh

                Printing on GNU/Linux?  http://gimp-print.sourceforge.net/
                GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux