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.
Red Flag Submitted
Thank you for helping keep Tek-Tips Forums free from inappropriate posts. The Tek-Tips staff will check this out and take appropriate action.
Reply To This Thread
Posting in the Tek-Tips forums is a member-only feature.