Re: Whats the purpose of libegg

2008-01-10 Thread Nigel Tao
On 06/01/2008, Bin Chen [EMAIL PROTECTED] wrote: I searched the internet for libegg and found some tips but still can't got whats libegg working for? Is it another useful widget lib? After I check out the libegg and catch the README: - All features are intended to end up in a stable

Reparenting a GtkSocket to another GtkContainer loses its GtkPlug

2007-09-06 Thread Nigel Tao
I have two GTK programs (i.e. two separate processes), S and P, and I want a GtkSocket running in S to hold a GtkPlug running in P. I've followed the docs, and that's straightforward to get working. Now, in S, the GtkSocket actually lives in one GtkVBox, and after the GtkSocket and GtkPlug have

Re: Reparenting a GtkSocket to another GtkContainer loses its GtkPlug

2007-09-06 Thread Nigel Tao
You should be able to keep the socket alive by incrementing the reference count before removing it, and decrementing it again after adding it in the new container. I should have mentioned that I g_object_ref the socket before I remove it, but it is still getting unrealized --