Re: Connecting to Configure signal event

2013-11-26 Thread a
On 11/26/2013 08:33 AM, Kjell Ahlstedt wrote: 2013-11-26 05:09, a skrev: Hi, I'm trying to connect to the configure signal event(signal_configure_event()), in the documentation I read that you have to enable Gdk::STRUCTURE_MASK, and I think that is the problem I am having. I tried do it sev

Re: Connecting to Configure signal event

2013-11-26 Thread Kjell Ahlstedt
2013-11-26 05:09, a skrev: Hi, I'm trying to connect to the configure signal event(signal_configure_event()), in the documentation I read that you have to enable Gdk::STRUCTURE_MASK, and I think that is the problem I am having. I tried do it several different ways, like this: this->add_eve

Signals binding with GTK objects

2013-11-26 Thread a
Hi, I was wondering if something like this is possible or not: txt_exp_.signal_changed().connect(sigc::bind(sigc::mem_fun(*this, &MainWindow::txtChange), txt_exp_)); where txt_exp_ is a Gtk::Entry object, and the function is wrote like this void MainWindow::txtChange(Gtk::Entry entry) Thank y

Re: Gtk::SpinButton crash

2013-11-26 Thread Kjell Ahlstedt
2013-11-25 22:05, John Emmas skrev: Hi Kjell, Many thanks for sending me your versions of those files. The good news is that with only the exception of some commented sections, your versions are identical to mine. Both versions exhibit the same behaviour (and unfortunately, the same proble

Re: Gtk::SpinButton crash

2013-11-26 Thread John Emmas
On 25 Nov 2013, at 21:22, Ian Martin wrote: > Hi John, > Hope you don't mind me jumping in. I'm curious why you want to do your own > memory management: Gtk::manage takes all the work out of your hands safely, > and stops you deleting widgets in an inappropriate order > Hi Ian, No, I don't