Re: HTML Widget / Embedded Browser



muppet schrieb:
Thomas Bayen said:

I am looking for a way to include a nice help & documentation system in
my application. I decided to use a wiki and call it via my webbrowser.
So I have all the flexibility of html and I may use direct links to the
Internet. But an external browser is not always the nicest (and fastest)
method.

I asked google and found some comments about a HTML Widget and embedded
Browsers and yes - I saw HTML in a gnome program :-)  - But I could not
find the "state of the art" and what this all means to Gtk-Perl. Can
someone tell me what is actual the truth?


there have been repeated requests for gtk2-perl binding for gtkhtml3[1] over
the past several months, but no-one has volunteered to write those bindings.

gtk-perl[2] included bindings for gtkhtml1 and for gecko (Gtk::MozEmbed), but
as far as i know those are very out-of-date.  they are not compatible with
gtk2-perl for various reasons, both subtle and obvious.


so, the answer is, at the moment, "we ain't got nuffin'".  however, gtk2-perl
bindings are easy to write[3], and anyone who wishes to volunteer to write
bindings for either gtkhtml3 or gecko may rest assured that he or she will get
all the help desired, and we'll even have a place for it in our cvs
repository.

Thanks for this information!

I have not much time and my C experience is some years old but I wanted to look at it to decide how difficult it would be. I may be wrong but I could not find any documentation about one of the gtkhtml classes. I begin thinking I am too stupid to use google, but there is nothing. :-(

It seems that there is not much need in the gnome/gtk community for this widget and it is an only-ximian-knows thing :-( (why isn't it part of the gtk+ distribution?)

So it seems there are too much difficulties in sum for myself to try it. If someone with more experience needs help, I will do.


however, the GtkTextView/TextBuffer stuff is very powerful and could be used
to implement something like HTML.  pango markup also allows you to do
html-like things.  if your dataset is small enough, either of these may be a
viable option.

Yes, it seems to be very powerful and I thought about this before. But why re-invent the wheel if there is a standardized solution about showing "markup"ed text with links in it?


Thomas




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