Re: Removing a widget from its container without destroying it



my problem is solved!! yeeeesss!!! :-D I just had an "set_flags(NO_WINDOW) as first instruction in the on_realize() function....

 
2006/2/14, Mickael Drean <mickael drean gmail com>:
Well, in fact i think my problem is not that my widget is detroyed because i did a simple test with a std::cout to know some parameters and they were well drawn.
 
If I have add a widget a first time, it call the on_realize() function. After, I "remove" it that calls 'unrealize' and if i add it again it calls on_realize again that's were my soft crash. So, does my Widget need to call on_realize when I add it a second time?
 
:S
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]