Re: Application with XML parsing
Depending on your specific needs, you might want to keep your eye on my project (http://www.weldae.org). I haven't posted the source yet, but I'm trying very hard to get the first release with source out soon. I'm building something very similar to what your asking for. Nothing is hard coded into my application and all the structure of the application is downloaded as XML from a web server. Events and data are passed back and forth between the client and the server giving the impression of a thick client application. Sort of like Ajax for GTK. Unlike libglade, my XML is much simpler and is designed to work with any widget set, not just GTK. You also have the ability to bind events to client side actions or server side code directly in the XML. The downside is that there are limitations to the interfaces that can be built with it given that it is a subset of what GTK offers. On Mon, 2006-02-06 at 16:29, Mark Richardson wrote: > I am playing with the idea of an application with a main window that is > blank. Then you can "load views" which are saved XML files that are parsed > and the main window is populated with this dynamic gui. > > What I was thinking was taking the XML loading/parsing routines from > glade-2 and putting them into my own app. I would guess others have done > this or there is something that suits my needs - but I can't find anything (I > found a few related questions, but either no answer or nobody knows). > > Thanks in advance for your help, > Mark ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: Application with XML parsing
Mark Richardson wrote: I am playing with the idea of an application with a main window that is blank. Then you can "load views" which are saved XML files that are parsed and the main window is populated with this dynamic gui. What I was thinking was taking the XML loading/parsing routines from glade-2 and putting them into my own app. I would guess others have done this or there is something that suits my needs - but I can't find anything (I found a few related questions, but either no answer or nobody knows). Without too much work, we were able to use the parser from libglade and enhance it for full support in glade_interface_dump() (which was originally intended for debugging purposes); you're welcome to grab that code from glade-3. You can then probably use libglade directly to instantiate your interface, you're just missing one part; the part that itterates over your widget hierarchy and creates the GladeInterface structure representation of your UI :) Cheers, -Tristan ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Application with XML parsing
I am playing with the idea of an application with a main window that is blank. Then you can "load views" which are saved XML files that are parsed and the main window is populated with this dynamic gui. What I was thinking was taking the XML loading/parsing routines from glade-2 and putting them into my own app. I would guess others have done this or there is something that suits my needs - but I can't find anything (I found a few related questions, but either no answer or nobody knows). Thanks in advance for your help, Mark - Brings words and photos together (easily) with PhotoMail - it's free and works with Yahoo! Mail. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list