![]() |
| | #1 |
| Registered User Join Date: Dec 2006
Posts: 1
| 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 | |
| | #2 |
| Crazy Fool 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).
__________________ jeff.bagu.org - Terrain rendering and other random stuff |
| Perspective is offline | |
| | #3 |
| Cat without Hat 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 | |
| | #4 | |
| Registered User 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:
| |
| Jaqui is offline | |
| | #5 |
| Registered User Join Date: Dec 2006
Posts: 28
| 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 | |
| | #6 | |
| Cat without Hat Join Date: Apr 2003
Posts: 8,492
| Quote:
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 | |
| | #7 | |
| Registered User 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:
| |
| Jaqui is offline | |
| | #8 |
| Cat without Hat 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 | |
![]() |
| Thread Tools | |
| Display Modes | |
|
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 |