Re: [Vala] socket in notebook

2014-04-01 Thread Max
Well, that's very nice but it does not answer the question: - I've got Gtk.Notebook as part of my UI class derived from Gtk.Window. - I've got function which will create new tab and dynamically add it to notebook. - I need to use Gtk.Socket from within this function So assembling all the widgets

Re: [Vala] socket in notebook

2014-04-01 Thread Evan Nemerson
On Tue, 2014-04-01 at 23:19 +0200, Max wrote: > Hello. > > I'm trying to use Gtk.Socket as a 'content' parameter to Gtk.Notebook but I > hit some > problems: > > Gtk.Socket sock = new Gtk.Socket(); > Gtk.Label title = new Gtk.Label("Loading..."); > notebook.append_page(sock, title); > > However

[Vala] socket in notebook

2014-04-01 Thread Max
Hello. I'm trying to use Gtk.Socket as a 'content' parameter to Gtk.Notebook but I hit some problems: Gtk.Socket sock = new Gtk.Socket(); Gtk.Label title = new Gtk.Label("Loading..."); notebook.append_page(sock, title); However if I try to access socket_id I got SIGSEGV right away. I realize i