Re: window display error
- From: Mark Roberts <gtkmm manumark de>
- To: liwallace <wallace lee hotmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: window display error
- Date: Fri, 18 Sep 2009 21:15:46 +0200 (CEST)
Dear Wallace,
it seems no-one has answered your question:
void gkass::on_mnuGardenPresent_activate()
{
GardenPresent GardenPresent1(*gkassWindow);
GardenPresent1.get_window()->show();
} //The window appears on show() and disappears
after this handler end.
Before the handler function exits, GardenPresent::~GardenPresent()
destroys your window. You will need to give the object a longer lifetime.
See the similar question by hokie54 and the answer by Daniel Elster.
Mark
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]