Gtk.Widget.destroy() is necessary on Python?
<p>When reading the <a href="http://lazka.github.io/pgi-docs/index.html#Gtk-3.0/classes/Builder.html#Gtk.Builder" rel="nofollow">documentation</a> about GtkBuilder, I came across this passage:</p>

<blockquote>
  <p>A <code>Gtk.Builder</code> holds a reference to all objects that it has
  constructed and drops these references when it is finalized. This
  finalization can cause the destruction of non-widget objects or
  widgets which are not contained in a toplevel window. For toplevel
  windows constructed by a builder, it is the responsibility of the user
  to call <code>Gtk.Widget.destroy()</code> to get rid of them and all the widgets
  they contain.</p>
</blockquote>

<p>But this applies to python too? That is when I load a top-level window I must destroy it manually?</p>

<p>Well, sort of. You generally don't have to call <code>destroy()</code> on the window manually because it happens automatically when the user clicks the window's close button.</p>

python python-3.x gtk gtk3