Hi, I believe you cant embed anythoing that wasn't designed for a plug (or can be modified for it) this might be useful though: http://www.mozilla.org/projects/embedding/
Jonathan On 7/13/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Thanks a lot Kumar! > It seems not quite simple, also because I haven't the browser source, but > I'll > try with another browser. > > > Quoting Kumar Siddharth <[EMAIL PROTECTED]>: > > > > > Hi, > > > > You can place the call in any appropriate event handler. Also, you will > have > > to create a socket in your GTK program. Now in your browser app, you > need > > modification so that you can create a plug and attach it to the socket > > created in GTK App. Now the browser (May be its rendering area widget) > > should be attached to this plug, and should not be as main window. > Meaning > > you need source for browser or may be a method so that the browser > output is > > redirected to GtkDrawingArea (which can be connected to plug). > > > > Regards, > > Siddharth > > TATA Elxsi, India > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] Behalf Of > > [EMAIL PROTECTED] > > Sent: Friday, July 06, 2007 9:24 PM > > To: GTK+ mailing list > > Subject: RE: Running external program inside a widget > > > > > > Excuse me but I'm new to GTK+: at which moment I have to call the > system() > > function to run the external program I need (a web browser, in this > case)? > > Do I > > have to use two different source files to implement this mechanism (run > the > > app > > as a GtkPlug, give it the ID of the GtkSocket, ecc.)? If not, which are > the > > steps to implement this on a single source file? > > Thank in advance for answers. > > Omar > > > > > > Quoting Kumar Siddharth <[EMAIL PROTECTED]>: > > > > > > > > Hi, > > > > > > You may use GtkSocket(in Host App) and GtkPlug(in Embedded App) for > this. > > > > > > Regards, > > > Siddharth > > > TATA Elxsi > > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED] Behalf Of > > > [EMAIL PROTECTED] > > > Sent: Friday, July 06, 2007 7:24 PM > > > To: GTK+ mailing list > > > Subject: Running external program inside a widget > > > > > > > > > Hi everybody. > > > Do anyone know how to include an external program to a widget of the > main > > > window? > > > I have a main window containing a notebook, and in one of the > notebook's > > tab > > > I > > > want to show an instance of a browser (Opera) inside a > GtkDrawingArea(), > > and > > > not to show the external program in its own new window (not associated > to > > my > > > application). My hardware is a Nokia N800 (tablet PC). > > > Can anyone help me? Thanks in advance. > > > Omar > > > > > > > > > ---------------------------------------------------------------- > > > This message was sent using IMP, the Internet Messaging Program. > > > _______________________________________________ > > > gtk-app-devel-list mailing list > > > gtk-app-devel-list@gnome.org > > > http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list > > > > > > > > > > > > > > > > ---------------------------------------------------------------- > > This message was sent using IMP, the Internet Messaging Program. > > _______________________________________________ > > gtk-app-devel-list mailing list > > gtk-app-devel-list@gnome.org > > http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list > > > > > > > > > ---------------------------------------------------------------- > This message was sent using IMP, the Internet Messaging Program. > _______________________________________________ > gtk-app-devel-list mailing list > gtk-app-devel-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list > -- <Morpheus> linux, c'est une question de VI ou de MORE _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list