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 

browser component to embed in Gtk program

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



Joined: 26 Apr 2007
Posts: 3

PostPosted: Thu Apr 26, 2007 6:04 am    Post subject: browser component to embed in Gtk program Reply with quote

hai
can anybody guide me how to embed browser component in gtk program....
is there any widget in gtk to embed browser component.if yes can u plz provide me example source code and requisites and compilation process


Thanks & regards,
Kelvin
Back to top
openldev
Never Seen the Sunlight


Joined: 21 Sep 2005
Posts: 376
Location: State College, Pennsylvania

PostPosted: Thu Apr 26, 2007 11:10 am    Post subject: Reply with quote

First, you only need to post your message once in one forum ... we'll find it! Anyway, you can use the Mozilla widget. Also, there is GtkHTML, which is actually two separate widgets. GtkHTML2 includes DOM support, but GtkHTML 3 allows you to edit the code.

I've never used either, but you can easily find example code by searching http://www.google.com/codesearch/.
Back to top
Micah Carrick
Never Seen the Sunlight


Joined: 21 Sep 2005
Posts: 428
Location: Portland, OR USA

PostPosted: Thu Apr 26, 2007 4:25 pm    Post subject: Reply with quote

Correction: http://www.google.com/codesearch
Back to top
kelvin



Joined: 26 Apr 2007
Posts: 3

PostPosted: Fri Apr 27, 2007 9:09 am    Post subject: thanks for reply...but i have some doubt Reply with quote

Thanks for giving response.But i have one doubt.
could u plz tell me, how to compile gtkmozilla.....already i downloaded mozilla source,in that i got readme....but iam unable to understand how to configure
./configure --with-mozilla=/dir/where/mozilla/is ? what is meant by /dir/where/mozilla/is
and
export LD_LIBRARY_PATH=/dir/where/mozilla/is/dist/bin

export MOZILLA_FIVE_HOME=/dir/where/mozilla/is/dist/bin

what is meant by /dir/where/mozilla/is/dist/bin
?


thanks &regards
kelvin
Back to top
Micah Carrick
Never Seen the Sunlight


Joined: 21 Sep 2005
Posts: 428
Location: Portland, OR USA

PostPosted: Fri Apr 27, 2007 4:23 pm    Post subject: Reply with quote

I haven't spent much time trying, but the gtkmozembed widget may be helpful. I'm not sure how it's packaged for Linux distros or anything though.

As for compiling the mozilla/gecko source, I can't help you there either, but can say that I have seen a lot of people complaining about it being difficult in other forums.

I'd be curious to know how it turns out for you.
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