GtkBuilder memory management
- From: Bastien Dalla Piazza <bastien dallapiazza gmail com>
- To: gtkmm-list gnome org
- Subject: GtkBuilder memory management
- Date: Sun, 14 Feb 2010 10:59:43 +0100
Hi,
I've been wondering about the memory management of GtkBuilder and did not find an answer in the documentation:
When using a derived widget: GtkBuilder::get_widget_derived(...), one retrieves a pointer on a widget. Is the user responsible to free (delete) the pointer or is this handled when the GtkBuilder is itself destroyed?
For instance, if a glade file contains, say, several derived dialogs: when loading the *.glade file, are all the widgets created or are they created only when the user wants a pointer/reference to them?
Cheers!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]