[Glade-devel] Implementing preview feature in glade



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...




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]