Re: [gtkmm] Destoying child widgets



On 7 Jul 2002, Nuno Afonso wrote:

> I saw in the documentation that if we use manage( new Button() ), then
> when we add it to a container, then the when the container is destroyed
> the button is destroyed, but doesn't it happen also if manage isn't
> used? I ask this because before i used Gtk+ and when we destroyed a
> container, the childs would also be destroyed (we didn't had to use
> delete on them).

GTK+ (that is, the C API) works just like as if everything would be
manage()'d.

-- 
   .--= ULLA! =---------------------.   `We are not here to give users what
   \     http://cactus.rulez.org     \   they want'  -- RMS, at GUADEC 2001
    `---= cactus cactus rulez org =---'
Our lips met passionately - then she closed her legs and broke my glasses.




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