Re: Removing a widget from its container without destroying it



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]