Re: Unparenting from GtkWidget "destroy"
Baldvin Kovacs via gtkmm-list <[email protected]> Sun, 31 Jul 2022 00:37:47 +0200
| Newsgroups | gmane.comp.gnome.gtkmm |
|---|---|
| Message-ID | <CAAw7jagFV5UnY_CON0hyzS2XuP577RZ=xbsnLKe60i2XprtW8g@mail.gmail.com> |
--===============1997366828862529781== Content-Type: multipart/alternative; boundary="000000000000277ff205e50d6b7b" --000000000000277ff205e50d6b7b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Baldvin Kovacs <[email protected]> ezt =C3=ADrta (id=C5=91pont: 2022= . j=C3=BAl. 30., Szo, 22:59): > Sorry, I'll get on it now. It was part of my learning effort, and once > I've understood everything, I went on with simply inheriting my widget fr= om > Box, so I forgot about this. > Baldvin > > Kjell Ahlstedt <[email protected]> ezt =C3=ADrta (id=C5=91pont: 202= 2. j=C3=BAl. > 30., Szo, 12:11): > >> Den 2022-07-30 kl. 11:46, skrev Kjell Ahlstedt: >> >> Den 2022-07-10 kl. 13:28, skrev Baldvin Kovacs: >> >> >> I'll send a merge request with exposing signal_destroy, and another smal= l >> one to the documentation, to the custom widget section. >> >> Baldvin >> >> What has happened with the merge requests? I can easily add >> _WRAP_SIGNAL(void destroy(), "destroy") myself, >> >> I mean _WRAP_SIGNAL(void destroy(), "destroy", no_default_handler) >> >> but it needs a good documentation. Otherwise it will be more confusing >> than helpful to most users of gtkmm. >> >> I took a stab at it, PTAL. Another option is to not do this, but documen= t in both the howtos, and the documentation of Gtk::Widget that container-like custom widgets are not supported. Thx, Baldvin > Kjell >> >> --000000000000277ff205e50d6b7b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">= <div dir=3D"ltr" class=3D"gmail_attr">Baldvin Kovacs <<a href=3D"mailto:= [email protected]">[email protected]</a>> ezt =C3=ADrta (i= d=C5=91pont: 2022. j=C3=BAl. 30., Szo, 22:59):<br></div><blockquote class= =3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg= b(204,204,204);padding-left:1ex"><div dir=3D"ltr">Sorry, I'll get on it= now. It was part of my learning effort, and once I've understood every= thing, I went on with simply inheriting my widget from Box, so I forgot abo= ut this.<div>Baldvin</div></div><br><div class=3D"gmail_quote"><div dir=3D"= ltr" class=3D"gmail_attr">Kjell Ahlstedt <<a href=3D"mailto:kjellahlsted= [email protected]" target=3D"_blank">[email protected]</a>> ezt =C3=ADrt= a (id=C5=91pont: 2022. j=C3=BAl. 30., Szo, 12:11):<br></div><blockquote cla= ss=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid = rgb(204,204,204);padding-left:1ex"> =20 =20 =20 <div> <div>Den 2022-07-30 kl. 11:46, skrev Kjell Ahlstedt:<br> </div> <blockquote type=3D"cite"> =20 <div>Den 2022-07-10 kl. 13:28, skrev Baldvin Kovacs:<br> </div> <blockquote type=3D"cite"> =20 <div dir=3D"ltr"> <div class=3D"gmail_quote"><br> <div>I'll send a merge request with exposing signal_destroy= , and another small one to the documentation, to the custom widget section.</div> <div><br> </div> <div>Baldvin</div> <div><br> </div> </div> </div> </blockquote> <p>What has happened with the merge requests? I can easily add _WRAP_SIGNAL(void destroy(), "destroy") myself,</p> </blockquote> I mean _WRAP_SIGNAL(void destroy(), "destroy", no_default_han= dler) <blockquote type=3D"cite"> <p> but it needs a good documentation. Otherwise it will be more confusing than helpful to most users of gtkmm.</p></blockquote></di= v></blockquote></div></blockquote><div>I took a stab at it, PTAL. Another o= ption is to not do this, but document in both the howtos, and the documenta= tion</div><div>of Gtk::Widget that container-like custom widgets are not su= pported.</div><div><br></div><div>Thx,</div><div>Baldvin</div><div><br></di= v><div><br></div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style= =3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding= -left:1ex"><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" sty= le=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddi= ng-left:1ex"><div><blockquote type=3D"cite"> <p>Kjell<br> </p> </blockquote> </div> </blockquote></div> </blockquote></div></div> --000000000000277ff205e50d6b7b-- --===============1997366828862529781== 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 --===============1997366828862529781==--