Re: Please: Explain what happens when on use gtk_container_remove

2001-05-09 Thread Preben Randhol
Havoc Pennington <[EMAIL PROTECTED]> wrote on 09/05/2001 (09:31) : > The container owns the only reference to the frame, so it gets > finalized. > > Try: > add (frame); > ref (frame); > remove (frame); > add (frame); > unref (frame); Thanks that worked. -- Preben Randhol

Re: Please: Explain what happens when on use gtk_container_remove

2001-05-08 Thread Ron Steinke
> From: Preben Randhol <[EMAIL PROTECTED]> > Hi > > I do this (note the code is not in C as I use Ada 95, but it should be > understandable) > >Gtk.Container.Add (Some_Vbox, Some_Frame); >Gtk.Container.Remove (Some_Vbox, Some_Frame); >Gtk.Container.Add (Some_Vbox, Some_Frame); > > As I

Re: Please: Explain what happens when on use gtk_container_remove

2001-05-08 Thread Havoc Pennington
Preben Randhol <[EMAIL PROTECTED]> writes: > > I do this (note the code is not in C as I use Ada 95, but it should be > understandable) > >Gtk.Container.Add (Some_Vbox, Some_Frame); >Gtk.Container.Remove (Some_Vbox, Some_Frame); >Gtk.Container.Add (Some_Vbox, Some_Frame); > > As I

Please: Explain what happens when on use gtk_container_remove

2001-05-08 Thread Preben Randhol
Hi I do this (note the code is not in C as I use Ada 95, but it should be understandable) Gtk.Container.Add (Some_Vbox, Some_Frame); Gtk.Container.Remove (Some_Vbox, Some_Frame); Gtk.Container.Add (Some_Vbox, Some_Frame); As I understand the documentations the Remove should not alter t