From: [email protected] [mailto:[email protected]] On 
Behalf Of Jonathon Jongsma
> regarding displaying a uninstalled help file, did you try the following 
> format? file:///path/to/file.xml (three '/' characters)

ghelp:///path/to/file.xml works!

With a little more work I managed to read from the current directory without 
hardcoding the path. I did that with gnome-vfs since I'm already using it for 
starting the help browser. Example attached.

Perhaps I'll also try with libgnome. In fact that's what I looked at 
originally, but I wanted to do it in C++ and did not find a wrapping function 
for gnome_help_display in libgnomemm. But now the gnome-vfs code is also in C 
(if a C++ binding exists I didn't find it) so libgnome might be better.

But then they are both deprecated and there isn't much point in struggling for 
a marginally better solution. I guess I'm keeping with whatever works until the 
next Debian stable comes out and I can use gtk_show_uri (if they wrap it in 
time) or giomm (Gio::AppInfo::launch_default_for_uri which is already in Debian 
testing).

Thank you for all your help.
 Gerardo

Attachment: help.cc
Description: help.cc

_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to