Re: Implementing preview feature in glade

Tristan Van Berkom <[email protected]>
Newsgroups gmane.comp.gnome.glade.devel
Message-ID <[email protected]>
2009/3/24 Marco Diego Aurélio Mesquita <[email protected]>:
[...]
> Done, now I'm passing the string with the xml definition for
> gtk_builder. What's next?
>

So now you have a glade_project_save & glade_project_save_full or
something, so your going to want to export glade_project_preview
(GladeProject *project, GladeWidget *widget),
from here you'll want to add the io channel/spawn with pipes code, so from
there you can pass the buffer to the "preview" app via its stdin.

Note you should check here the project format, just silently
return from here if your in libglade format...
_______________________________________________
Glade-devel maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/glade-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.