Re: [gtkmm] signal connection problem
- From: cedric <cedric probesys com>
- To: gtkmm-list gnome org
- Subject: Re: [gtkmm] signal connection problem
- Date: Tue, 20 Apr 2004 11:41:22 +0200
Matthew Walton a écrit :
cedric wrote:
void loadmodule()
{
test toto ;
adrmenuBar->addButton(toto.getButtonName());
// adrmenuBar->addButton(toto);
}
The first thing that comes to mind here is what happens after the
addButton call when the test object goes out of scope and deletes the
MenuElem... I'm not sure about all this, but I don't think the MenuBar
will copy it and keep its own copy, so you've probably got a data
structure going missing somewhere.
yeeeeeeees!
i didn t think about it! thanks!!!
cedric
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]