Creates a new glib.PtrArray with a reference count of 1 and use element_free_func for freeing each element when the array is destroyed either via PtrArray.unref, when PtrArray.free is called with free_segment set to TRUE or when removing elements.
A function to free elements with destroy array or NULL
A new glib.PtrArray
ConstructionException GTK+ fails to create the object.
2.22
Creates a new glib.PtrArray with a reference count of 1 and use element_free_func for freeing each element when the array is destroyed either via PtrArray.unref, when PtrArray.free is called with free_segment set to TRUE or when removing elements.