Re: Re How can be signal_remove() used on Window? For Guillaume Brocker



Dimitri Holz a écrit :
Dimitri Holz a écrit :
(*this      is  an  Gtk::Window )
this->signal_remove().connect(sigc::mem_fun(*this,&MainView::OnRemovedWindow));

Hi !

You dereferenced the "this" pointer where you should note. Here is the version that might compile : this->signal_remove().connect(sigc::mem_fun(this,&MainView::OnRemovedWindow));

Best regards.

Guillaume


Whithout dereferencing the "this" pointer I became this error:


Well, send the sources files attached to a next mail to help us see where the error may come from.

Thanks.

Guillaume


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