I was the last one to work on the patches after he gave up on them. You can get 
my code here: http://polystimulus.com/polystimulus/gtkembedmoz-sharp/

You can see where I got here. I gave up on working on gtkembnedoz for windows 
using this method because it works because of a very nasty hack. That is 
because the default gui toolkit built on the windows builds wraps the win32 
windowing toolkit at some low level in GFK. In order to get gtkembedmoz to work 
on win32, you have to trick the mozemded code to behave like a gtk widget on 
win32. It doesn't come natural. Thats because gtkembemdoz takes for granit that 
the widgets inside the gtkembedmoz widget are all gtk widgets as well, so focus 
is handled automatically for it on GTK native enviroments. The hack breaks 
often. Ussually when you run into something like the old nsplugins (like flash, 
quicktime, or adobe pdf viewer). 

You will also run into random issues porting many applications because most 
GTK+ applications assume they are running under X (including Mozilla's GTK+ GFX 
layer which calls X alot). The best solution I found would be to port the 
native toolkit to build as GTK+ on win32, but I found this to be a little more 
work then I bargined for (lots of code calling into X directly in the GTK+-GFX 
code, and to many to replace with win32 safe versions in a few weeks). I posted 
my idea about doing that, hopping people would migrate there someday, but 
someone mentioned that the gfx layer was moving to port everything to just draw 
with cairo. Not sure how true that was but I didn't have anymore time to work 
on it. 

Shortly after I worked on that I left that last company I worked for and didn't 
have to worry about win32 ever again and so I never returned to it. Linux is 
better anyways ;-)

I hope that helps!

Zac
 

On 23 Nov 2006 03:51:04 -0800, "Vin" <[EMAIL PROTECTED]> wrote:
> 
> Boris Zbarsky wrote:
>> Vin wrote:
>> > I am trying to use http://severna.homeip.net/gtkmozwin32.php
>> > will this work?
>>
>> No idea...  If it's using the GTK shell with the Windows native Gecko,
> then it
>> might, sure...
>>
>> -Boris
> 
> Can anyone help me on this
> http://groups.google.co.in/group/mozilla.dev.builds/browse_thread/thread/46db94f262953ab9
> 
> i dont know if this the rite place to post the query.....but in
> mozilla.dev.builds there is no reply........
> 
> thanks.......
> 
> _______________________________________________
> dev-embedding mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-embedding
--
Zac Bowling <[EMAIL PROTECTED]>
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to