Re: GTK Socket and reparenting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <fizek.michal@xxxxxxxxxx>
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 a socket. However, then i need to reparent socket to another parent(for example split window, notebook page to another etc.), and there is a problem. When i try to reparent socket the socket plug(in this case embedded urxvt) is destroyed. Is there a way to go around this?


Thank you
michael
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux