Re: Unparenting from GtkWidget "destroy"

Andrew Potter via gtkmm-list <[email protected]> Fri, 8 Jul 2022 08:30:13 -0700
Newsgroups gmane.comp.gnome.gtkmm
Message-ID <CABgWb1JUNc4JFhe_qx5Q2My6Hx5krw3WWGHLxJr9_1bJ3_a-pw@mail.gmail.com>
--===============5129239015273547350==
Content-Type: multipart/alternative; boundary="000000000000a0a61a05e34ce13a"

--000000000000a0a61a05e34ce13a
Content-Type: text/plain; charset="UTF-8"

On Fri, Jul 8, 2022, 4:01 AM Baldvin Kovacs via gtkmm-list <
[email protected]> wrote:

>
> 2. Expose the destroy signal handler, and document that one needs to
> unparent children both from that, and in the destructor.
>

Is this a new warning? My initial thought is this should be a feature of
Gtk::manage rather than making everybody hook destroy to unparent.

--000000000000a0a61a05e34ce13a
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><br><br><div class=3D"gmail_quote" dir=3D"auto"><div dir=
=3D"ltr" class=3D"gmail_attr">On Fri, Jul 8, 2022, 4:01 AM Baldvin Kovacs v=
ia gtkmm-list &lt;<a href=3D"mailto:[email protected]">gtkmm-list@gnome.=
org</a>&gt; wrote:</div><blockquote class=3D"gmail_quote" style=3D"margin:0=
 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><di=
v><br></div><div>2. Expose the destroy signal handler, and document that on=
e needs to unparent children both from that, and in the destructor.</div></=
div></blockquote></div><div dir=3D"auto"><br></div><div dir=3D"auto">Is thi=
s a new warning? My initial thought is this should be a feature of Gtk::man=
age rather than making everybody hook destroy to unparent.</div><div class=
=3D"gmail_quote" dir=3D"auto"></div></div>

--000000000000a0a61a05e34ce13a--

--===============5129239015273547350==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
gtkmm-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gtkmm-list

--===============5129239015273547350==--