Siggi wrote:
> Hello again and thank you for your reply.
> The dillo project looks interesting, thx.
> Well, I don't need a "real" browser for my project which has to read 
> complicated sites.
> I want to integrate something like a "news and update reader" for my project, 
> which would tell the user, if there are updates avaible (but NOT for 
> downloading the updates, just to tell them there are updates avaible) for 
> download or tell the users about bugs and other news, so the "browser" would 
> only link to a constant internet URL (HTML-File) which I would create. Isn't 
> there a simple solution to make this work without opening the actual system 
> internet browser extra?
> Maybe through downloading the HTML-File and load it with Fl_Help_Viewer.
> I develop under Linux for Windows and (of course) Linux.
> 
> Greetz
> 
> P.S.: Sorry for my bad english

If you can download the file yourself (maybe using wget?), then
Fl_Help_View::link() might be interesting for you. However, you
would also have to download all embedded images, if any.


From: http://www.fltk.org/doc-1.1/Fl_Help_View.html#Fl_Help_View.link


void Fl_Help_View::link(Fl_Help_Func *fn)

This method assigns a callback function to use when a link is followed 
or a file is loaded (via Fl_Help_View::load()) that requires a different 
file or path. The callback function receives a pointer to the 
Fl_Help_View widget and the URI or full pathname for the file in 
question. It must return a pathname that can be opened as a local file 
or NULL:

       const char *fn(Fl_Widget *w, const char *uri);

The link function can be used to retrieve remote or virtual documents, 
returning a temporary file that contains the actual data.

<end of citation>

Albrecht
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to