Editable tables and general planning help
| From: | Jake Gordon | Date: | Wed, 06 Jul 2005 19:58:41 +0000 |
| Subject: | Editable tables and general planning help | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-5914@lists.php.net to get a copy of this message | ||
Hi,
I'm trying to use PHP-GTK to make an interface to a MySQL database because a web front end just doesn't cut it in terms of speed and Access is great for easy stuff but I don't want to learn visual basic to do other stuff I need. At the moment I have a Microsoft Access GUI to the MySQL which looks like this:
http://www.peakoil.ie/temp/gtk-example.png
How easy will it be to do the same or similar in PHP-GTK? Code examples would be fantastic! As I see it what I need is:
- To be able to select a country from a list (what class to use for this?) It should preferably be like a HTLM <select> list, or a list of buttons across three columns would also do.
- Use the GtkNotebook to create the tabs for 'oi production', 'oil discoveries' etc.
- GtkTable to create the tabular grid
- ?? to create the column headings
- ?? to create the totals columns updated on-the-fly
- ?? to make it so that it updates the database as soon as one field has been filled in and the focus changed, rather than waiting until someone hits a 'save changes' button
- to make it possible to copy and paste entire columns and/or rows from Excel/a spreadsheet into multiple columns/rows into the grid
Should I quit my PHP-GTK route straight away or is this going to be possible?
Also more generally, where can I find a good guide with code examples other than the main PHP-GTK site? I find the guides there are insufficient for learning how to do some complex things, and knowing the best class to choose for a certain job.
Regards,
Jake.