Gtk, whether destroying GtkBuilder destroies all the screens and widgets?

Posted by PP on Stack Overflow See other posts from Stack Overflow or by PP
Published on 2010-04-12T14:28:19Z Indexed on 2010/04/12 14:32 UTC
Read the original article Hit count: 245

Filed under:
|

Hi,

Question regarding GtkBuilder. When we unref builder pointer does it destroys all the screens/widgets the builder had created?

if( builder_ptr )
    g_object_unref(G_OBJECT(builder_ptr));

Suppose we have created one screen using Glade/XML with some 2-3 top_level windows in it

gtk_builder_add_from_file(builder_ptr, "Test.glade", &error )

and generated GtkBuilder pointer (as above) so after deleting this pointer does it deletes created Windows or do we need to manually delete these windows?

Thanks,
PP.

© Stack Overflow or respective owner

Related posts about gtk

Related posts about gtk+