GTK+ Forums Forum Index GTK+ Forums
Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

HTML 4 in GTK

 
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming
Author Message
xlinuks
Familiar Face


Joined: 31 Aug 2007
Posts: 8

PostPosted: Fri Aug 31, 2007 3:23 pm    Post subject: HTML 4 in GTK Reply with quote

Hi,
Does anyone know any GTK libraries to support HTML v4 ?
Back to top
alex



Joined: 01 Sep 2007
Posts: 3

PostPosted: Sat Sep 01, 2007 2:53 pm    Post subject: Re: HTML 4 in GTK Reply with quote

libgtkhtml?
Back to top
xlinuks
Familiar Face


Joined: 31 Aug 2007
Posts: 8

PostPosted: Sun Sep 02, 2007 7:43 am    Post subject: Reply with quote

I dunno, I'm asking. I'm a Java programmer, and here in (JDK6) I only have the features of HTML 3.2, so I'm wondering whether GTK's HTML version is any newer. Besides it looks like there won't be any upgrade in Java 7 (codename dolphin) to HTML4, so I'm considering alternatives (in my experience Java is still very nice for networking but it doesn't cut for real desktop apps yet, unless you create a "dirty" mix of C++/Java with all of its side effects).
Back to top
caracal
GTK+ Geek


Joined: 21 Jun 2007
Posts: 89
Location: Wilkes Barre Pa

PostPosted: Tue Sep 11, 2007 11:20 am    Post subject: Reply with quote

Well you have a couple of options.

GtkHTML
HTML rendering/printing/editing engine
http://ftp.gnome.org/pub/GNOME/sources/gtkhtml/3.15/

GtkMozEmbeded
Supports everything that Mozilla or Firefox does.
http://www.mozilla.org/unix/gtk-embedding.html
Let use know if you figure out how to actually build it.

Gtk+ Webcore
Supports everything KHTML does or will support.
The following standards are supported by the KHTML engine:
* HTML 4.01
* CSS 1
* CSS 2.1 (screen and paged media)
* CSS 3 Selectors
* CSS 3 Other (multiple backgrounds, box-sizing and text-shadow)
* PNG, MNG, JPEG, GIF graphic formats
* DOM 1, 2 and partially 3
* ECMA-262/JavaScript 1.5
* Partial Scalable Vector Graphics support
http://gtk-webcore.sourceforge.net/index.html

WebkitGdk "Gtk+ Webcore Fork"
Same as Gtk+ Webcore but may be more stable.
http://trac.webkit.org/projects/webkit/wiki/BuildingGdk

Or you could build your own.
Start by building an html parser and then use cairo
to render the pages that your html parser parses.

Here is a tutorial on building gtk+/cairo widgets.
Part 1
http://www.gnomejournal.org/article/34/writing-a-widget-using-cairo-and-gtk28
Part 2
http://www.gnomejournal.org/article/36/writing-a-widget-using-cairo-and-gtk28-part-2

Hope that helps
Back to top
Display posts from previous:   
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group
CodeBB 1.0 Beta 2
Protected by Anti-Spam ACP