Re: accessing an object in a call-back
- From: Murray Cumming <murrayc murrayc com>
- To: Millerand Fabien <millerf free fr>
- Cc: gtkmm-list gnome org
- Subject: Re: accessing an object in a call-back
- Date: Sun, 07 May 2006 19:16:24 +0200
On Wed, 2006-05-03 at 01:24 +0200, Millerand Fabien wrote:
> Hello,
>
> I have a problem in a callback:
>
> Button b_start_stop->signal_clicked().connect(sigc::mem_fun(this,&
> FenetreEnregistrement::DemarrerEnregistrement));
>
> and in FenetreEnregistrement::DemarrerEnregistrement
>
> anytime I try to use a function of the button, I get a core dump,
> without any warning at the compilation:
Try using gdb to get a backtrace.
And/or use valgrind's memcheck tool to identify memory management
problems.
> b_start_stop->set_label("another_label");
>
> -->give a core dump
>
> Can you help me?
>
> Am I allowed to change something on the button which called the
> callback? I don't understand...
--
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]