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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,3ed4c57426e16006,start X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!t19g2000yql.googlegroups.com!not-for-mail From: Gary Newsgroups: comp.lang.ada Subject: GtkAda using Glade Date: Tue, 17 May 2011 16:58:43 -0700 (PDT) Organization: http://groups.google.com Message-ID: <15ff2ec1-5a2b-4d24-8aab-cf7985b6374f@t19g2000yql.googlegroups.com> NNTP-Posting-Host: 98.88.179.222 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1305676723 28367 127.0.0.1 (17 May 2011 23:58:43 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 17 May 2011 23:58:43 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: t19g2000yql.googlegroups.com; posting-host=98.88.179.222; posting-account=0XWPhwoAAADr6lww5Nx1mZKUCofb0j1i User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.68 Safari/534.24,gzip(gfe) Xref: g2news1.google.com comp.lang.ada:19290 Date: 2011-05-17T16:58:43-07:00 List-Id: I am evaluating Ada for a GUI app using GtkAda/Glade. I have the latest version of Ada from AdaCore. I've had no problem getting small example apps to work with and without Glade. What I am having a problem with is setting up signals through Glade. I simply want to set up the "delete" event for the main window so "gtk_main_quit" will be executed. Exactly how do I do that? I have many years of programming experience with many languages, but I am fairly new to Ada... although it should just be a matter of working with it a bit to get comfortable with it. The same goes for GTK+. I have experimented with it using C, FreePascal, and FreeBasic... so I am familiar with the concept if not the practice. I'm just not clear on how to set up signals with Glade. I know you use the properties panel under the "signals" tab, but I don't know what to put in the various fields.