Re: GTK Socket and reparenting

2013-11-27 Thread Bernhard Schuster
Socket, but after Socket reparenting, Gtk.Plug() is destroyed). I tried what you have suggested of course, but result is the same. __ Od: Denis Linvinus Komu: Michal Fizek Datum: 26.11.2013 14:54 Předmět: Re: GTK Socket and

Re: GTK Socket and reparenting

2013-11-27 Thread Denis Linvinus
i'm not sure that understand you correctly but, try to return true on connect event of the socket. for example var sock = new Gtk.Socket(); sock.plug_removed.connect(()=>{ return true;//important! allow reuse of socket }); 2013/11/26 Michal Fizek > Hi, > i have a problem with GTK Socket

Re: GTK Socket and reparenting

2013-11-26 Thread Michal Fizek
, that it gets destroyed, even if it shouldn't. __ > Od: Bernhard Schuster > Komu: Michal Fizek > Datum: 26.11.2013 15:49 > Předmět: Re: GTK Socket and reparenting > > CC: "Denis Linvinus" , gtk-app-dev

Re: GTK Socket and reparenting

2013-11-26 Thread Michal Fizek
. __ > Od: Denis Linvinus > Komu: Michal Fizek > Datum: 26.11.2013 14:54 > Předmět: Re: GTK Socket and reparenting > > CC: gtk-app-devel-list@gnome.org, "Gnome List" >i'm not sure that understand you correctly > >but, try to

GTK Socket and reparenting

2013-11-26 Thread Michal Fizek
Hi, i have a problem with GTK Socket. I'm using it to build some GUI for my beloved urxvt terminal emulator. But I encountered a big problem, when i need to split screens. URXVT support xembed, so i use GTK Socket to create window, and pass socked id to urxvt, that plugs and embeds itself into