Re: RAD tool for php-gtk
| From: | Gonzalo Monzón | Date: | Sat, 27 Nov 2004 01:15:26 +0000 |
| Subject: | Re: RAD tool for php-gtk | ||
| References: | 1 2 3 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-5266@lists.php.net to get a copy of this message | ||
Hi to everybody,
I placed some example for my app's framework, this is the gui part. It should work well both under linux or win32. I'm sorry for the lack of doc. and the spanish comments, but on the other hand the function names usually are in english... so you could understand anyway what it does looking the code.
You can get it from: http://serveisw3.net/temp/dis_framework.tgz
Everybody is welcome to have a look at it and so please give me your comments...
I hope it could be an useful example...
The example is a little app -module- called "disge", a extended object from the main dis_app class. It have's got a pair of windows -login dialog and users config. table- and a main window of the app. The app. structure is constructed so you can have several modules working togheter and sharing the parent classes. It does anything but shows a the gui related "framework" code. You can press the mouse right button and see a working c&p menu, and once "logged in" -this is done by typing anything in the login dlg and pressing enter- then the main window appears. You can now open the users config. window by pressing on the main menu option Principal/Configuracion or just exit with "Salir". You can try to click several times on the option "configuración" and see if windows are opened again... ;^) And with this structure you could just have dozens of windows being loaded in memory once is needed... and just "reloaded" when closed and opened again... Under win32 it does some tricks to manage better the windows... In linux these "tricks" seems to don't be needed...
It merges some permission checking at the module level "disge", but I left commented or deleted code wich is being developed -all the system objects or data access classes,etc...- or just code wich is experimental...
You know, use it at your own risk! ;^) But give some feedback if do you use it please!
Sincerely,
Gonzalo Monzon