Re: AppWizard 0.2

From: Date: Mon, 05 May 2003 18:45:54 +0000
Subject: Re: AppWizard 0.2
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-3341@lists.php.net to get a copy of this message
Also, I modified the outputted code a bit to handle libglade's signal_autoconnect(). The main change is putting the GTK::main() call in it's own function, so that the class constructor returns and you can use the class in the function calls. Thanks again, Eric <?php if( !class_exists("gtk")) { dl("php_gtk.".(strstr(PHP_OS, "WIN")?"dll":"so")); } $GLOBALS['mainwin'] = new window1(); $GLOBALS['mainwin']->run(); class window1 { var $glWindow1; var $arWidgets; function window1() { $this->InitDialog(); } function InitDialog() { $this->BuildDialog(); } function run() { GTK::main(); } function BuildDialog() { $this->glWindow1 = &new GladeXML(dirname( __FILE__)."/"."testauto.glade"); $this->glWindow1->signal_autoconnect(); } function closeWindow() { Gtk::main_quit(); } } function on_window1_destroy() { $GLOBALS['mainwin']->closeWindow(); } function on_button1_clicked() { $GLOBALS['mainwin']->closeWindow(); } ?> ----- Original Message ----- From: "Christian Weiske" <cweiske@cweiske.de> To: <php-gtk-general@lists.php.net> Sent: Monday, May 05, 2003 3:54 AM Subject: [PHP-GTK] AppWizard 0.2 Hi I want to notify you that AppWizard 0.2 is out now. It has several new functions, some bugfixes, produces a better code and has many new signal function templates. You can get it @ http://www.cweiske.de/phpgtk_appwizard.htm Changelog: [2003-05-05] 0.2 - added class hierarchy for widgets - 30 new signal function templates - merge glade with code option added - added default project dir (for glade files). Let it empty if you don't want it [2003-04-30] 0.15a - added "intelligent expanding" and "usedOnly expanding" for widget tree - auto intelligent expanding after selecting a dialog - all template files from the template dir are loaded in the template selection combobox (nice for beginners which have never used the wizard) - some small fixes [2003-04-29] 0.15a - 2 new function templates - changed basic template; - loads php_gtk.dll/so really only if not already loaded - made it phpdoc-compliant Regards/MfG, Christian Weiske <<<<<<<<<<<<<<>>>>>>>>>>>>>>>> Christian Weiske cweiske@cweiske.de www.cweiske.de <<<<<<<<<<<<<<>>>>>>>>>>>>>>>> Always forgetting birthdays? Try birthday reminder! http://www.cweiske.de/birthday.htm Free & fast ecards: http://ecards.cweiske.de -- PHP-GTK General Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.gtk.general (#3341) next »