Re: Removing a widget from its container without destroying it



Well, in fact the problem is in an overloaded function : "on_realize" and that crash when i call gtk::widget::on_realize() ...
 
I tried with a MyWidget m_Widget[2], and the problem is still there. When I use a Gtk::DrawingArea for example, there is no problem.... So, i think I have the "good" gtkmm! But i still don't understand what happen.
 
:'(


 
2006/2/13, Murray Cumming <murrayc murrayc com>:
On Mon, 2006-02-13 at 09:34 +0100, Mickael Drean wrote:
> When it crash, it wrote:   Gtk-CRITICAL **: gtk_widget_real_realize:
> assertion 'GTK_WIDGET_NO_WINDOW <widget>' failed
>
> some part of my code:
[snip]

Please try to create a small simple-as-possible compileable test case.

Also, check that your build files link to gtkmm-2.4, and not gtkmm-2.2.


--
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]