Re: ext/libglade complete?
| From: | Christian Weiske | Date: | Fri, 21 Oct 2005 15:01:43 +0000 |
| Subject: | Re: ext/libglade complete? | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-6259@lists.php.net to get a copy of this message | ||
Hello Steph,
> One is GladeXML::new_from_buffer(), which replaces Glade 1's
> new_from_memory(). Does anyone (or _has_ anyone) actually tried using this?
> If there's any demand for it at all, I'll need a test script demonstrating
> its usage. It doesn't need to be written in PHP.
I think I have to raise my finger here...
Yes, I've used it with php-gtk1 and find it very useful. Just take the
scenario that I want to generate a bunch of widgets (with subwidgets)
dynamically, with only some strings changed - the most easy way would be
to have the part of the xml glade, do a str_replace and load it from
memory. Maybe it's a bit from far away, but I know that I'll use the
function in future.
--
Regards/MfG,
Christian Weiske