C Board  

Go Back   C Board > Platform Specific Boards > Linux Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 12-07-2006, 05:35 AM   #1
Registered User
 
Join Date: Dec 2006
Posts: 1
Question Using a Web Browser within your Linux Application

Hi all!

I wanted to know whether we can embed a web browser into our Linux application, the way we can do it in Windows programming using ActiveX objects?

Is there a way to implement Mozilla FireFox inside your application? Is there a custom Qt widget that achieves the same?
CaptainRon is offline   Reply With Quote
Old 12-07-2006, 01:04 PM   #2
Crazy Fool
 
Perspective's Avatar
 
Join Date: Jan 2003
Location: Canada
Posts: 2,596
It can be done on linux with SWT, but that's a Java library. If your really eager you can look at the C source for the SWT Browser widget to see how it's done (it's all JNI stuff).
Perspective is offline   Reply With Quote
Old 12-07-2006, 04:58 PM   #3
Cat without Hat
 
CornedBee's Avatar
 
Join Date: Apr 2003
Posts: 8,492
It's possible to do it, but it's particular to each browser and toolkit. I don't think Qt itself offers a browser widget, but you can use a Konqueror KPart to easily embed Konqueror.
GTK+ offers a browser widget, I think, which embeds something Gecko-based.
__________________
All the buzzt!
CornedBee

"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
CornedBee is offline   Reply With Quote
Old 12-13-2006, 11:16 AM   #4
Registered User
 
Jaqui's Avatar
 
Join Date: Feb 2005
Posts: 416
or use glade and make your own widget for gtk to embed whichever browser you want to use.
the gre is frequently used as an embedded browser engine.

even KDE stopped working on thier own rendering engine / library and just use the mozilla engine.
[ KHTML is a dead library, the kparts tools do use the gecko rendering engine. ]
__________________
Quote:
Originally Posted by Jeff Henager
If the average user can put a CD in and boot the system and follow the prompts, he can install and use Linux. If he can't do that simple task, he doesn't need to be around technology.
Jaqui is offline   Reply With Quote
Old 12-18-2006, 03:36 AM   #5
Registered User
 
Join Date: Dec 2006
Posts: 28
Smile Use gtkembedmoz gtk widget

hi,
I have done this stuff aome months back ,but i dont remember things properly.
I had used gtkembedmoz or gtkmozembed which is a library provided by gtk.
Using this library ucan create a browser instace which can be embeded in any window u want.
Search for this on google.
nitinmhetre is offline   Reply With Quote
Old 12-18-2006, 04:48 AM   #6
Cat without Hat
 
CornedBee's Avatar
 
Join Date: Apr 2003
Posts: 8,492
Quote:
Originally Posted by Jaqui
even KDE stopped working on thier own rendering engine / library and just use the mozilla engine.
[ KHTML is a dead library, the kparts tools do use the gecko rendering engine. ]
Uh, what? Konqueror happily continues to use KHTML, as do all other Html-aware KDE apps. There is an ongoing effort to port the Gecko widgets to use Qt instead of GTK, but this has nothing at all to do with KHTML.
KHTML is under active development and is planned to have several new features in KDE4.
__________________
All the buzzt!
CornedBee

"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
CornedBee is offline   Reply With Quote
Old 12-20-2006, 11:41 PM   #7
Registered User
 
Jaqui's Avatar
 
Join Date: Feb 2005
Posts: 416
really CornedBee?
two months ago when I was looking for the khtml sources I could only find not being developed anymore tarballs of them, from KDE.org links.

I could not find any khtml sources newer than 1 year.
__________________
Quote:
Originally Posted by Jeff Henager
If the average user can put a CD in and boot the system and follow the prompts, he can install and use Linux. If he can't do that simple task, he doesn't need to be around technology.
Jaqui is offline   Reply With Quote
Old 12-21-2006, 08:22 AM   #8
Cat without Hat
 
CornedBee's Avatar
 
Join Date: Apr 2003
Posts: 8,492
http://websvn.kde.org/trunk/KDE/kdelibs/khtml/

There you go. Last checking 29 hours ago. I'd say that qualifies as active development. I don't know (and don't care) about tarballs.
__________________
All the buzzt!
CornedBee

"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
CornedBee is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
linux, doubles, and unions paraglidersd Linux Programming 14 11-19-2008 11:41 AM
For PS3 owners... question about PS3 web browser Lionel General Discussions 40 09-28-2007 03:15 PM
Amaya web browser dwks General Discussions 2 07-10-2005 08:17 PM
MFC Web Browser Unregistered Windows Programming 3 09-11-2001 02:03 PM


All times are GMT -6. The time now is 07:42 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22