found out XReparentWindow is the solution

On Fri, Apr 8, 2011 at 10:15 AM, Ratin <[email protected]> wrote:
> Hi Glen, Thanks a bunch for your response.
>  Good information - I can see there are some work-around for this. By
> the way  do you have any idea which API will be the best for embedding
> mozilla inside GTK window (X window) created by another app? I am
> currently looking into this -
> https://wiki.mozilla.org/Embedding/NewApi but seems like there are
> more than one way to do this - such as gtkmozembed, xul runner app
> etc. I am just confused which way will sustain in the long run. Also I
> need to get a GtkWidget object from a xwindow created by the app and I
> was using  GtkWidget* window = gtk_plug_new(parent); to pass the
> "window" object to mozembed api's - I get the sound but nothing is
> rendered on the screen. Any pointer on that?
> Thanks,
> Ratin
>
> On Fri, Apr 8, 2011 at 2:44 AM, Glen Gray <[email protected]> wrote:
>> There's an open bug in the bugzilla db on this, for a long long time.
>>
>> We've submitted patches to it that resolve it for us.
>> https://bugzilla.mozilla.org/show_bug.cgi?id=533245
>>
>> On 8 Apr 2011, at 02:29, Ratin wrote:
>>
>>> On Thu, Apr 7, 2011 at 4:29 PM, Ratin <[email protected]> wrote:
>>>> Hi all, I am trying to build mozembed project on ubuntu 9.10 linux
>>>> AMD-64 and I got all the necessary packages - i am getting this :
>>>> checking pkg-config is at least version 0.9.0... yes
>>>> checking for GTK... yes
>>>> checking for LIBXUL_EMBEDDING... no
>>>> configure: error: libxul-embedding is required
>>>>
>>>>
>>>> sudo add-apt-repository ppa:ubuntu-mozilla-daily/ppa
>>>> sudo apt-get install xulrunner-2.0-gnome-support
>>>> sudo apt-get install xulrunner-2.0
>>>> sudo apt-get install xulrunner-2.0-mozjs
>>>> sudo apt-get install libxul-dev
>>>>
>>>>
>>>> The libxul-dev package is installed along with these :
>>>> xulrunner-2.0-gnome-support,  xulrunner-2.0, xulrunner-2.0-mozjs,
>>>> libxul-dev
>>>>
>>>> Any clue where to get this package called libxul-embedding ?
>>>>
>>>> Thanks a lot in advance
>>>>
>>>
>>>
>>>
>>> Never mind - I got it to work by installing the xulrunner-dev package,
>>> I am seeing one issue though, when I launch the test browser, and goto
>>> youtube page for example, the input box is not editable. Not sure if i
>>> am missing a component or have to add support for it explicitly. I am
>>> brand new on this..
>>> _______________________________________________
>>> dev-embedding mailing list
>>> [email protected]
>>> https://lists.mozilla.org/listinfo/dev-embedding
>>
>> --
>> Glen Gray
>> <[email protected]>
>>
>>
>>
>>
>>
>
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to