Re: Accessing Glade objects
| From: | Iuri Fiedoruk | Date: | Tue, 05 Feb 2002 12:15:23 +0000 |
| Subject: | Re: Accessing Glade objects | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-1132@lists.php.net to get a copy of this message | ||
Luca wrote:
Hi everybody! my name is Luca, i'm from Italy and I'm a budding PHP-GTK programmer. This has probaly been asked a gazillion times, but: how do I access the objects created by Glade? I've managed to get the interface to load and the signals to connect, but I can't use any method/property from the UI. Glade'd really speed up my work, so... Thanks! Luca $mainWindow = $window->get_widget('window1');where window1 is the name of the object on glade. To auto-connect functions: $window->signal_autoconnect(); So php-gtk will look for functions with the name refered on glade -- Iuri Fiedoruk, Santa Maria, RS, Brasil.