Re: GladeXML and xml_new_from_memory (was: ... and xml_new_from_file
| From: | Andrei Zmievski | Date: | Mon, 09 Aug 2004 19:58:06 +0000 |
| Subject: | Re: GladeXML and xml_new_from_memory (was: ... and xml_new_from_file | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-4952@lists.php.net to get a copy of this message | ||
On Sun, 08 Aug 2004, Christian Michel wrote:
> I want to extend my application with multilanguage-feature.
>
> To create the GUI, I use GladeXML.
> Now, I load the glade-File with DOMXML and replace the content of each
> Label with the matching on in an array.
> Then I dump the XML-Object to a string with domobject->dump_mem()
>
> To reuse the XML-file I found xml_new_from_memory() in the manual.
> But this is only a prototype, nothing declared, only the arguments.
>
> So how can I use this function for my application?
$glade = libglade::xml_new_from_memory(...);
-Andrei
"Everything should be made as simple
as possible, but not simpler."
-- Albert Einstein