|
|
| Author |
Message |
|
|
kelvin
Joined: 26 Apr 2007 Posts: 3
|
Posted: Thu Apr 26, 2007 6:04 am Post subject: browser component to embed in Gtk program |
|
|
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: 386 Location: Fairfax, Virginia
|
Posted: Thu Apr 26, 2007 11:10 am Post subject: |
|
|
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: 480 Location: Portland, OR USA
|
|
| Back to top |
|
 |
kelvin
Joined: 26 Apr 2007 Posts: 3
|
Posted: Fri Apr 27, 2007 9:09 am Post subject: thanks for reply...but i have some doubt |
|
|
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 ®ards
kelvin |
|
| Back to top |
|
 |
Micah Carrick Never Seen the Sunlight
Joined: 21 Sep 2005 Posts: 480 Location: Portland, OR USA
|
Posted: Fri Apr 27, 2007 4:23 pm Post subject: |
|
|
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 |
|
 |
|