Re: [gtkmm] signal connection problem
- From: Matthew Walton <matthew alledora co uk>
- To: cedric <cedric probesys com>
- Cc: gtkmm-list gnome org
- Subject: Re: [gtkmm] signal connection problem
- Date: Fri, 16 Apr 2004 16:26:36 +0100
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]