Re: gtk using mysql



sameer tandra wrote:

Hi
    I am sameer.
I am using gtk and mysql as database in linux.I have created a window with widgets.I want to store the data given in the widgets in mysql database and also retrive it and display them in the widgets. how is it possible. please help me.

I've written some Perl modules to automate this stuff. If you want to write your GUI in Perl ( lots less work, believe me ), check out: http://entropy.homelinux.org/axis_not_evil

There are screenshots of some in-house applications, and some code examples. All 3 modules are:
- open-source
- cross-platform
- extensively tested ( on Linux and Windows 2000 )
- being actively developed

The 'forms' module ( Gtk2::Ex::DBI ) and the 'datasheet' module ( Gtk2::Ex::Datasheet::DBI ) both use Gtk2 for the GUI. The forms module uses GladeXML to construct the GUI. The 'report' module uses PDF::API2 to construct PDF reports.

If you want to work in C, then you can have a look at the GnomeDB stuff ... though I would recommend Perl. Gtk2-Perl really is a great way of doing this :)

--
Daniel Kasak
IT Developer
NUS Consulting Group
Level 5, 77 Pacific Highway
North Sydney, NSW, Australia 2060
T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989
email: dkasak nusconsulting com au
website: http://www.nusconsulting.com.au



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