GtkBuilder memory management



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]