How to act on objects create by libgalde
| From: | Jan Lehnardt | Date: | Sun, 25 Mar 2001 14:07:38 +0000 |
| Subject: | How to act on objects create by libgalde | ||
| Groups: | php.gtk | ||
| Request: | Send a blank email to php-gtk+get-1113@lists.php.net to get a copy of this message | ||
Hi,
I want (to use a simple and useless example) to and the window title
dynamically in the script.
I gave the window widget in glade the name 'mainWindow'.
<?php
dl('php_gtk.so');
$foo = &new GladeXML('galde.xml');
$mainWindow->set_title('blafoo');
Gtk::main();
?>
does not work, since $mainWindow is undefined.
How do I access objects that are created via Glade?
Jan
--