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 

regarding gtkembedmoz

 
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming
Author Message
cnu_sree
GTK+ Geek


Joined: 06 Oct 2006
Posts: 57

PostPosted: Thu Jul 26, 2007 9:41 am    Post subject: regarding gtkembedmoz Reply with quote

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
Back to top
caracal
GTK+ Geek


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

PostPosted: Tue Sep 11, 2007 12:14 pm    Post subject: Reply with quote

Thats because you have to have firefox 1.4? or lower or you have to use mozilla 1.7
Back to top
cnu_sree
GTK+ Geek


Joined: 06 Oct 2006
Posts: 57

PostPosted: Thu Sep 13, 2007 7:25 am    Post subject: Reply with quote

thank u for ur reply finally
but iam using firefox 2.
so how can i link from the firefox folder
Back to top
caracal
GTK+ Geek


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

PostPosted: Thu Sep 13, 2007 4:13 pm    Post subject: Reply with quote

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/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
cnu_sree
GTK+ Geek


Joined: 06 Oct 2006
Posts: 57

PostPosted: Mon Sep 17, 2007 5:08 am    Post subject: Reply with quote

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
Back to top
caracal
GTK+ Geek


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

PostPosted: Mon Sep 17, 2007 1:22 pm    Post subject: Reply with quote

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.
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