GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Thu Dec 18, 2014 5:24 pm

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: HTML 4 in GTK
PostPosted: Fri Aug 31, 2007 3:23 pm 
Offline
Familiar Face

Joined: Fri Aug 31, 2007 3:19 pm
Posts: 8
Hi,
Does anyone know any GTK libraries to support HTML v4 ?


Top
 Profile  
 
 Post subject: Re: HTML 4 in GTK
PostPosted: Sat Sep 01, 2007 2:53 pm 
Offline

Joined: Sat Sep 01, 2007 2:47 pm
Posts: 3
libgtkhtml?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 02, 2007 7:43 am 
Offline
Familiar Face

Joined: Fri Aug 31, 2007 3:19 pm
Posts: 8
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).


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 11, 2007 11:20 am 
Offline
GTK+ Guru

Joined: Thu Jun 21, 2007 1:52 pm
Posts: 198
Location: Wilkes Barre Pa
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/ ... -and-gtk28
Part 2
http://www.gnomejournal.org/article/36/ ... k28-part-2

Hope that helps


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group