From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,3ed4c57426e16006 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news3.google.com!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: GtkAda using Glade Date: Thu, 19 May 2011 17:53:12 +0200 Organization: A noiseless patient Spider Message-ID: References: <15ff2ec1-5a2b-4d24-8aab-cf7985b6374f@t19g2000yql.googlegroups.com> <2e496d2c-f12f-4961-981b-2162fdf1ce1e@k3g2000prl.googlegroups.com> <1vakqa4gwjxry$.9j72428ewqp0.dlg@40tude.net> <1npn5zwqehpsz.1lqame09nycx1.dlg@40tude.net> <96992149-4b0b-4de3-b928-545baa8da5ad@y12g2000yqh.googlegroups.com> <1ib5galc2x8sa$.14pxbga0o1sz0$.dlg@40tude.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Injection-Date: Thu, 19 May 2011 15:53:12 +0000 (UTC) Injection-Info: mx03.eternal-september.org; posting-host="vQOapoBCnbPqo6W3WBfabg"; logging-data="32280"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+aBefda8TUANlY3UvixJ8S" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; fr; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 In-Reply-To: <1ib5galc2x8sa$.14pxbga0o1sz0$.dlg@40tude.net> Cancel-Lock: sha1:bCsepzSTvLwykD8ymqb+66rpo2o= Xref: g2news1.google.com comp.lang.ada:19325 Date: 2011-05-19T17:53:12+02:00 List-Id: Le 19/05/2011 12:28, Dmitry A. Kazakov a �crit : > That is easy, comparing to widget subclassing (adding new signals, > properties, resource properties). Then there are custom non-widget objects > to create, e.g. cell renderers, tree stores, interfaces etc. I just don't > believe that any tool could handle this mess. (Gtk is a mess) Oh, I see. You are talking about extending the widgets. I am talking about using existing ones. I never had a need to extend widgets, so I won't comment about this. > I am almost sure that even handling signals does not really work with > Glade. I don't mean button click events. What about hard stuff, like events > passing parameters accessible only through GValue? There are lots of. What > about passing closure-parameters in events? That is when the receiver > object may disappear before the sender (the callback must be disconnected > before) > Admitedly, I didn't go that far. And I don't think any beginner would start with that either. Agreed, Glade might not be sufficient for sophisticated stuff (but you should give it a try, I'm quite sure it is more able than you think). And Glade is a great way to /learn/ how GTK/GTKAda work.