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 Oct 02, 2014 8:27 am

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: regarding gtkembedmoz
PostPosted: Thu Jul 26, 2007 9:41 am 
Offline
GTK+ Geek

Joined: Fri Oct 06, 2006 6:37 am
Posts: 57
iam using libgtkembedmoz.so in my application for browser.
but in from f6,f7 onwards no mozilla defaulit browser is firefox.
but when i link this libgtkembedmoz.so from firefox iam getting segmentfault
how can i link libgtkembedmoz.so to my application successfully.
thnak u
sree


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 11, 2007 12:14 pm 
Offline
GTK+ Guru

Joined: Thu Jun 21, 2007 1:52 pm
Posts: 198
Location: Wilkes Barre Pa
Thats because you have to have firefox 1.4? or lower or you have to use mozilla 1.7


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 13, 2007 7:25 am 
Offline
GTK+ Geek

Joined: Fri Oct 06, 2006 6:37 am
Posts: 57
thank u for ur reply finally
but iam using firefox 2.
so how can i link from the firefox folder


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 13, 2007 4:13 pm 
Offline
GTK+ Guru

Joined: Thu Jun 21, 2007 1:52 pm
Posts: 198
Location: Wilkes Barre Pa
They answer to your question is unless your using a really old version of firefox then you
cant do what your trying to do as you can see your application segfaults and it will continue to do so until you install a older version of firefox say version 1.0 - 1.4 other wise like they hundreds of others who ask this question everyday you will soon realize that if your wanting to use firefox in your application your just sol.

What i would advise that you do is follow the lead of they Gnome, Kde, Mac, Nokia, OLPC Developers.

Use one of they following.
GtkHTML
HTML rendering/printing/editing engine
http://ftp.gnome.org/pub/GNOME/sources/gtkhtml/3.15/

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  
 
 Post subject:
PostPosted: Mon Sep 17, 2007 5:08 am 
Offline
GTK+ Geek

Joined: Fri Oct 06, 2006 6:37 am
Posts: 57
thank u very much.
from ur reply i understood tht Gtk+webcore is useful to my application
i searched for gtk+webcore tutorials ,i didn't found anyone.
wht i need is i have a frame in that i want to load www.google.com.
how can i do this using Gtk+webcore.
thanku,inadvance
sree


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 17, 2007 1:22 pm 
Offline
GTK+ Guru

Joined: Thu Jun 21, 2007 1:52 pm
Posts: 198
Location: Wilkes Barre Pa
You didn't find any tutorial because there are none & thats because the project hasn't
committed to a set api. What you need to do is download osb-browser this is an example
gtk html web browser then just dig threw the code to figure out how to use Gtk+ Webcore and if you have any questions post them on the Gtk+ Webcore mailing list.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 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