[Glade-devel] Implementing preview feature in glade
Tristan Van Berkom
tristan.van.berkom at gmail.com
Tue Mar 24 21:01:39 EDT 2009
2009/3/24 Marco Diego Aurélio Mesquita <marcodiegomesquita at gmail.com>:
[...]
> 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...
More information about the Glade-devel
mailing list