From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-0.0 required=3.0 tests=BAYES_20,FREEMAIL_FROM, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Received: by 2002:ad4:4bcb:0:b0:464:692c:6985 with SMTP id l11-20020ad44bcb000000b00464692c6985mr2758359qvw.48.1654053509640; Tue, 31 May 2022 20:18:29 -0700 (PDT) X-Received: by 2002:a81:70f:0:b0:2fb:79b3:27a8 with SMTP id 15-20020a81070f000000b002fb79b327a8mr67664636ywh.335.1654053509506; Tue, 31 May 2022 20:18:29 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 31 May 2022 20:18:29 -0700 (PDT) In-Reply-To: Injection-Info: google-groups.googlegroups.com; posting-host=73.121.127.66; posting-account=JSxOkAoAAADa00TJoz2WZ_46XrZCdXeS NNTP-Posting-Host: 73.121.127.66 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <409bb984-2e7f-45e6-a5c1-7b637bec2c22n@googlegroups.com> Subject: Re: GtkAda's "On_Edited" From: John Perry Injection-Date: Wed, 01 Jun 2022 03:18:29 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 2072 Xref: reader02.eternal-september.org comp.lang.ada:63895 List-Id: On Monday, May 30, 2022 at 1:57:30 PM UTC-5, Dmitry A. Kazakov wrote: > > In the end I made it work with an On_* design... > If that is OK to you, but in production code you need a lot of stuff to= =20 > do in a handler, most of it is unrelated to the tree view. I agree with what you write, and learned a bit. I've never been in a situat= ion where I had to implement a TreeView-like object before, so I never had = to think about it much. I probably won't pursue it since the project I'm wo= rking on is a small, personal project with corresponding amounts of time av= ailable. > BTW, derived widgets is also a GtkAda feature, in GTK a derived widget=20 > require a lot of work. In GtkAda they are trivial. Interesting! I'll probably look into this more at some future point. thanks again john perry