Alternative for gtkhtml-sharp?

View: New views
6 Messages — Rating Filter:   Alert me  

Alternative for gtkhtml-sharp?

by Jacek R. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi folks,

I have already written about some trouble I'm encountering with the Gtk# HTML
widget when it comes to running on MS Windows Vista & Windows 7. Somewhere
<http://www.mono-project.com/using/relnotes/gtk-sharp-1.0.html> I read that
gtkhtml-sharp (at least in ver. 1.0...I am using gtkhtml314-
sharp-2.24.0-14.13) was not supported on MS Windows (but why did it run with
Mono 1.2.4 on WinVista...?).

So I have the following question: Is there any alternative HTML rendering /
viewing widget I can use in my Gtk# app? Maybe from the WinForms widget set?
The whole lot needs to run both on Unix / Linux / MacOS X platforms (I do the
development work on MonoDevelop for Linux / OpenSuSE 11.1), and on MS Windows
(at least XP, Vista, and 7).

Any hints?

Regards
Jacek



----------------------------------------------------------------------
Daj odpoczac plecom - zmien auto na rower
Sprawdz >>>http://link.interia.pl/f2255

_______________________________________________
Gtk-sharp-list maillist  -  Gtk-sharp-list@...
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Re: Alternative for gtkhtml-sharp?

by Jonathan Pryor :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, 2009-07-26 at 13:46 +0200, Jacek Rużyczka wrote:
> I have already written about some trouble I'm encountering with the Gtk# HTML
> widget when it comes to running on MS Windows Vista & Windows 7. Somewhere
> <http://www.mono-project.com/using/relnotes/gtk-sharp-1.0.html> I read that
> gtkhtml-sharp (at least in ver. 1.0...I am using gtkhtml314-
> sharp-2.24.0-14.13) was not supported on MS Windows (but why did it run with
> Mono 1.2.4 on WinVista...?).
>
> So I have the following question: Is there any alternative HTML rendering /
> viewing widget I can use in my Gtk# app?

Yes, but I don't know how portable they are to Windows either.

Alternate choices include Mono.WebBrowser (found in Mono.WebBrowser.dll)
and WebKit.  The C# bindings for WebKit can be found at:

        http://anonsvn.mono-project.com/trunk/webkit-sharp/

I would imagine that Mono.WebBrowser will be the most capable
cross-platform renderer, as it's the basis for
System.Windows.Forms.WebBrowser, so it should run everywhere WebBrowser
does.

 - Jon


_______________________________________________
Gtk-sharp-list maillist  -  Gtk-sharp-list@...
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Re: Alternative for gtkhtml-sharp?

by Slug :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Jonathan Pryor wrote:
Alternate choices include Mono.WebBrowser (found in Mono.WebBrowser.dll)
and WebKit.  The C# bindings for WebKit can be found at:

        http://anonsvn.mono-project.com/trunk/webkit-sharp/

I would imagine that Mono.WebBrowser will be the most capable
cross-platform renderer, as it's the basis for
System.Windows.Forms.WebBrowser, so it should run everywhere WebBrowser
does.

 - Jon
Is there some documentation somewhere that lines all these alternatives up next to one another in a table or something with a pluses and minuses column - perhaps?  I have spent a couple days trying to figure out which way to go - and am now more confused than I was before.

I really like the ease of GTK.HTML - but I seem to have hit the limit with respect to the level of cosmetic formatting detail that it can display.  I would love to read some articles that compares whats involved in getting a GTK# based app up and running on Windows/MAC/Linux using the various approaches.

Re: Alternative for gtkhtml-sharp?

by Jacek R. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> I would imagine that Mono.WebBrowser will be the most capable
> cross-platform renderer, as it's the basis for
> System.Windows.Forms.WebBrowser, so it should run everywhere WebBrowser
> does.
>
OK, I tried out webkit-sharp, but encountered exactly the same type of trouble
as with gtkhtml-sharp: Fine on Linux, crash on WinVista & Win7. Supposedly the
binding has not yet been tested thoroughly enough on Windows. :-(((

I'm gonna try out Mono.WebBrowser and inform you about the results.

Regards
Jacek



----------------------------------------------------------------------
Zostan Dziewczyna lub Chlopakiem lata!
Wygraj skuter >> http://link.interia.pl/f22a7 

_______________________________________________
Gtk-sharp-list maillist  -  Gtk-sharp-list@...
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Re: Alternative for gtkhtml-sharp?

by Jacek R. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> I'm gonna try out Mono.WebBrowser and inform you about the results.
>
I am now trying out Mono.WebBrowser...but I haven't figured out any
possibility how to embed a WebBrowser object in a Gtk.Container. Any clues?

Regards
Jacek


----------------------------------------------------------------------
Czy odnajde prawdziwa milosc?
Zapytaj wrozke >> http://link.interia.pl/f22ae

_______________________________________________
Gtk-sharp-list maillist  -  Gtk-sharp-list@...
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Re: Alternative for gtkhtml-sharp?

by Slug :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jacek R. wrote:
...but I haven't figured out any possibility how to embed a WebBrowser object in a Gtk.Container. Any clues?
I found this - it might be useful. Its the code for the monodocs browser. They did what we are trying to do. monodocs browser...